what is the command to rtrieve system date?
options:1.rtvsysval 2.rtvjoba 3.rtvjobd 4.both a and b
Answers were Sorted based on User's Feedback
Answer / syam
RTVSYSVAL SYSVAL(QDATE) RTNVAL( A CL Variable name)
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / srinath vasudevan
RTVSYSVAL is correct.
We can retrieve the date from RTVJOBA but,imagine a job got submitted in the system at 11.59pm ,the execution of program which retrieves the system date from submitted job is if at 12.00 am the date retrieved will be the previous days.
So always safe to use RTVSYSVAL.. hope this helps
- Srinath
| Is This Answer Correct ? | 1 Yes | 0 No |
Can anybody know what is Pick/Basic? Is it a programming language? can it be used in AS400 machine?
What is the use purpose of CRTCMD?
how can I start a page in a new window?
What controls which printer a report goes to?
how many types of display are available on as/400 for user interaction?
when are the referential constraints executed?
What is the purpose of the following? A CSRLOC (F1ROW F1COL)
Difference Between Ca & Cf?
Is LDA can be access accross the Job?
what is a primary file?
how does union file maintains record formats?
which cl command can be used at program execution to redirect the file named in an rpg program?