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 |
1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be interactive one or batch one? 2)How many members can exist in a PF?
how can I predict the performance of my cgis?
how may a cgi control duplicate inputs?
What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
WHAT IS DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?
what is the rpg and cl life cycle?Please tell me any body
how many files, printer files you can describe in a rpg?
What is the Function of PDM?
what is library?
define the purpose of the %sst function?
What is the purpose of OPNQRYF (Open Query File)?