I want to add 10 days in current date. how it is possible in
CL program...?
Answer Posted / prakash
PGM
DCL VAR(&DATE) TYPE(*Char) Len(6)
RTVSYSVAL SYSVAL(QDATE) RTNVAR(&DATE)
ADDDATE DAYS(10) TOVAR(&DATE) TOVARFMT(*SYSVAL) +
DATEFMT(*SYSVAL)
ENDPGM
Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
how can I tell when to replace the array?
what is kids-rpg?
how does the rpg element work?
is this a rpg channel?
what is a rpg?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
what is the use of sflnxtchg?
what is the difference between do while and do until?
What is the purpose of record level identifier?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
How Chain operation copies the record's data to the input buffer for the program?
how can you display specific subfile page on the screen in unequal subfile?
What are the types of identifiers?
how do I preserve and clean the array?
what is *place and *auto keyword in prtf ?plz explain