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 to run other job when one job is active?
Can level check error occur if we do chgpf?
Hi All, Can any one give me a suggestion for below prob One job is in MSGW due to decimal dara error and I find out stmt error and Value in DMUP. but my file has millions of records.So how can i find out on which record the error was occured....?
what is RCLRSC?
How Many Specs Are There In Rpg & Which Are They?
what is the necessary keyword for non-join logical file?
OVRDBF FILE(xxx) TOFILE(libl/filename) share(*yes) In which scenario is share(*yes) used? could any one explain with an example?
WHAT IS ACTIVATION GROUP IN ILE?
10 Answers Accenture, HSBC, TCS,
How are the objects stored on AS/400?
What Is The Difference Between Goto & Exsr?
What are the different types of access paths maintained on the file?
why we use binding directory and service pgm