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 |
How many primary files allowed in a program?
how to write code for singlepage in sqlrpgle with update ?
What are the record format field mapping options in cpyf?
what if my system I runs with system value qccsid 65535?
Write a logic program for knowing the repeated number of a vowels in a given program?
define subsystem?
how can you execute a command from within an rpg program without calling a clp program?
What Is The Difference Between Goto & Exsr?
How we can delete all the Logical File of a Physical file in one instance ?
What is the purpose of USROPN keyword?
what keyword must be used with protect keyword ?
define the purpose of the *cat function?