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 |
I want to run ls *.csv (sftp command) from CL Program... Can u plz tell me when SFTP command will start running? i.e.which command should I use in CL Program to run ls command?
what is join logical file?
What are the functions of Remote Job Entry (RJE) ?
Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?
What are the valid user defined data area types?
what is the maximum number of parameters allowed in rpg?
What the purpose of the keywords FIFO, LIFO, FCFO?
Describe the function of SETLL operation in RPG language?
How do you set the keywords SFLSIZ and SFLPAG if you want the subfile to dynamically expand?
How can you check the existence of object in a system?
what is the maximum number of records you can specify in a display file?
how to see all source files in a particular library? ex:xyz is a library name a,b,and c..... are source files how to see?