How to increase 3 days from my current date in RPG Program?
Answers were Sorted based on User's Feedback
opcode 'adddur'
ex:
currentDATE ADDDUR XX:*days DUEDATE
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / vivek
TRY THIS CODE...
F1 Opcode F2 Result
Z-ADD *DATE A 8
A DSPLY
A retrieve current sysdate then 'subst' and increase day or month or year as per your requirement.
@Viv
| Is This Answer Correct ? | 1 Yes | 3 No |
when are the referential constraints executed?
maximum number of subfiles that can be active for a single file is?
explain the use of dftwrt display keyword?
how do you read data area in an rpg program?
which cl command is used to trap error messages during program execution?
What is the difference between regular logical file and join logical file?
Can anybody know difference between SNDUSRMSG AND SNDPGMMSG IN CL PROGRAMMING? IF DON'T KNOW MAIL ME @ gkarthik.as400@gmail.com
what is sflinz and sflrna?
which of the cl command can be used to determine which logical files are dependent on a specific file?
1.What is the difference between regular join logical file and non join logical file? 2.what are the nessasary keywords for non join logical file
what are the two record formats a subfile contain ?
I am a fresher. I got project on AS 400. Can any body suggest the best book for learning of it.