As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
Trying NEWDATE/I8 = DATEFIELD gave me a 5 digit number conversion, which wasn't I needed unfortunately.
FPRINT(DATEFILED, 'YYMD','I8')
gave the error:
1 FILE(S) LOADED 0 ERROR AT OR NEAR LINE 10 IN PROCEDURE TEST_TRN58FOCEXEC * (FOC36355) INVALID TYPE OF ARGUMENT #3 FOR USER FUNCTION FPRINT (FOC101) ERROR IN DEFINE IN MASTER FILE: TABLE_NAME BYPASSING TO END OF COMMAND
So then I just got fancy and over-engineered the function.