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 |
define what a data queue is along with a brief example of what it may be used for?
what is the purpose of data structure?
what is the use of CPYFRMQRYF?
what is a logical file?
why is as/400 called object oriented machine?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
what are the different commands used in rlu ?
what are various techniques to pass parameters from one program to another?
what is the difference between packed decimal and zoned decimal?
What is SFLSIZ ?
how does the runqry show the output?
Why we are not able to perform insert delete and update operation in Join logical file?