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 are the three line types in rlu ?
How to Define a Procedure in RPG?
how to insert the data in pf by using cl program
if &var='good++++' &var2='day' &var *cat &var2 &var1 *tcat &var2 what is output
when would you use or not use this approach?
define a output queue?
What is the purpose of the following C/COPY QRPGSRC, ORDERR
Can level check error occur if we do chgpf?
What is purpose of declarative statement DEFN?
What is SDA used for?
which of the following operations does not zero the field flda defined as 4,0?
how many maximum spaces could be given in o specs?