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 rpg ?
what is the sequence when using cursor?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
how can I start a page in a new window?
what is the purpose of overrides?
what is arrival sequence?
what is sflrolval?
what is externally described file ?
how you get the relative record in a subfile in which cursor is located?
Difference Between Skip Before & Space Before?
can error messages as a result of a comp, range or values keyword be overridden?
Why we are not able to perform insert delete and update operation in Join logical file?
how does the runqry show the output?
how can you detect overflow for a print program that prints multiple lines per cycle?
what are the three line types in rlu ?