How to increase 3 days from my current date in RPG Program?
Answer Posted / 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 |
Post New Answer View All Answers
what is the difference between packed decimal and zoned decimal?
how to declare a constant variable in the freeformat?
what is the function of cpyf command?
define the purpose of the %sst function?
define what a data area is along with a brief example of what it may be used for?
what is full form for dds?
how to pick up the changed records every time in a subfile after the first change made ?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
what is a physical file?
How can we read file using curser? how to define a curser?
what is the use of sflend keyword?
how to get the cursor position?
what is scan and xlate?
what is maximum number of arrays allowed in rpg?
What is compiler directive in as400? Give example of compiler directive.?