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 |
how do we know batch job aborted after we submitting it
what is difference between accespath and datapath? what is the difference between accespath and open datapath?
How to increase 3 days from my current date in RPG Program?
How to retrieve data from data area?
Where would you use Override Data Base File?
define the purpose of the %sst function?
What is Job, What are the attributes of a Job?
Which command we can use to update a physical file using c.l pgm?
What is the use of OVRDBF ?
Determine the value of the result field a. Cost = $110. 00 b. Tax = 20% c. MarkUp= 05% d. Sale = 10%
STRTCPFTP command is used to start FTP in CL Language (ILECL)....can u plz tell me which command is used to start SFTP in CL language(ILECL)?
what are the important factors in error message subfile ?