|
You can use the system values and/or the job attributes. Do a WRKSYSVAL *DATTIM. That will show you the different data values you can access in a CL program with the RTVSYSVAL command. You can also use the RTVJOBA command to access the date the job was started, which is not necessarily the current date. On 3/17/06, Stiju Easo <stiju.as400@xxxxxxxxx> wrote: > > Hei i have a requirment to extract day from date, I also want to get > system > date > How can i get system date, i know thru CL , i am new to CL can anyone > guide > me in that? > > Please send reply. > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
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.