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 |
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
Is it possible to join the same file to itself ?
Can an indexed file be accessed in arrival seQuence in RPG program ?
how can a procedure will be added in to a srvpgm
What Is The Object Type Of Pf, Lf, Printer File & Display File?
What is the use purpose of CRTCMD?
What is the difference between production library and test library ?
Define the purpose of the following code (If you know, how would this be written in RPG ILE) HI LO EQ C *IN66 DOUEQ *OFF C KEY1 CHAIN FILEA 90 66 C 66 CALL PGM1 PRM C ENDDO
Using %check we are checking monika in mona what is output? What is %SCAN?
what are the different types of keys in AS400
how can we view the entire objects and its types in a pgm?