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 |
what does the opcode free do?
what keyword must be used with protect keyword ?
What is class of service ?
what are the different commands used in rlu ?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
define the purpose of the leave operation?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
I want to run ls *.csv (sftp command) from CL Program... Can u plz tell me when SFTP command will start running? i.e.which command should I use in CL Program to run ls command?
What is the maximum length of a variable name in CL?
how you will find an error which is not in the first page of the subfile without using rolldown key?
What is source physical file?
What process the command SBMRJEJOB does?