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
Difference Between Call & Sbmjob?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
how can I give more performance to some selected pages?
how do you pass parameters in cl?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
what is externally described file ?
when would you use or not use this approach?
different type of cursor?
Apart from opening of a file do we have any other use of USROPN?
what is the clp command to access a query/400?
records can be read/update/deleted with which file?
how can database records be read without lock ?
In Which Specs Arrays, Tables & Constants Are Defined?
what is the maximum number of records you can specify in a display file?
in conjunction with what other keyword must ovrdta and ovrata be used?