|
G Armour wrote: > > Thanks, Barbara! > > Do I have another/better option at V5R1? > There's another option in V5R1, and maybe it's better, but it also requires something extra (prototype for atoll). In V5R2 there's a way to do it without anything extra. (I thought Bob had already posted it, but I guess it wasn't explicit.) V5R2: YYMMDD# = %int (%CHAR(tempdate : *JOBRUN)) V5R1: H bnddir('QC2LE') --- D atoll pr 20i 0 extproc('atoll') D string * value options(*string) --- YYMMDD# = atoll (%CHAR(JobDate : *JOBRUN))
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.