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 |
Q.1.What is differences in STRDBG and STRISDB debugging commands? 2.Where we should use STRDBG and STRISDB Debugging commands?
what are the limitations of cl (compare to rpg) ?
What is the difference between access path and Dynamic select?
define the purpose of the *cat function?
Difference Between Skip Before & Space Before?
What is FCFO, FIFO, LIFO in Database environment ?
what is the maximum number of parameters allowed in clp?
pf named karthik 3members jan feb mar cmd must executed create mbr ar ap
What is diff between EVAL & MOVE?
what are indicators?
(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these keywords is necessary. (2)If we will not define these two keywords (PGMand ENDPGM) then any error will be come or not.
How do you read a subfile record which is in output mode?