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


Please Help Members By Posting Answers For Below Questions

how does union file maintains record formats?

623


what is sflrolval?

648


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

930


is it possible to create a physical file without dds?

1191


What is RETURN CURSER LOCATION in subfile?

1070






what is the function of cpysplf command?

973


describe the difference between the dowxx and douxx operations?

1162


a multiple format logical file is also known as?

590


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

586


What is program status data structure(psds) in as400?

605


how to declare a constant variable in the freeformat?

961


at what level s,o are defined and what they will do?

968


what are the various types of device files?

990


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

2119


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

596