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


Please Help Members By Posting Answers For Below Questions

what is the purpose of putovr (put with explicit override) keyword?

928


what are all the contents of subfile?

989


Write a logic program for knowing the repeated number of a vowels in a given program?

3307


what are the different types of data areas?

981


what is the purpose of data structure?

1007






what is the difference between seton lr and retrn?

1273


A join logical file has how many record formats?

595


how to get the cursor position?

713


what is the function of crtdupobj command?

1147


how can you detect and handle a record lock situation?

1213


Explain The Keywords Edtcde & Edtwrd?

835


what are various techniques to pass parameters from one program to another?

1038


Space & Skip Are Which Level Keywords?

749


Apart from opening of a file do we have any other use of USROPN?

953


define the purpose/use for sflrna?

1004