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 |
what is sflrolval?
what is the purpose of DMPCLPGM IN CL?
What is GDA?
What is the maximum number of elements in an array?
write a pgm to read p.f using cl pgm?
What is purpose of declarative statement DEFN?
What is the function of DSPATR (display attributes) keyword?
what is command in SFTP which is equivalent to SDUP command in FTP?
What are the different types of messages in CL?
what is the necessary keyword for non-join logical file?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
What is a query can be displayed without saving it?