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 to select highest score of each subject or how to select highest income of every month?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
how do I preserve and clean the array?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
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?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
What are the types of identifiers?
what is the difference between do while and do until?
Explain mdt?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
How to call one program from another program in RPG? please help me with the code
what was the robotech rpg?
What is file identifier where we can use?
how do I play {insert rpg system here}?
how can you display specific subfile page on the screen in unequal subfile?