what is the command to rtrieve system date?
options:1.rtvsysval 2.rtvjoba 3.rtvjobd 4.both a and b
Answer Posted / 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 |
Post New Answer View All Answers
what is a physical file?
What is RETURN CURSER LOCATION in subfile?
what is the function of crtdupobj command?
what is a query can be run in which mode?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
list some of the commonly used commands for debugging?
how do you specify page overflow indicator for printer files in rpg?
which are the string manipulation opcodes?
What is the as400 called now?
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
What are the types of data structure in as400?
difference between sflrcdnbr and sflnxtchg?
what does vldcmdkey means?
which type of object is used in db2/400?
what is elastic and non elastic subrile?