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
how does union file maintains record formats?
what is sflrolval?
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?
is it possible to create a physical file without dds?
What is RETURN CURSER LOCATION in subfile?
what is the function of cpysplf command?
describe the difference between the dowxx and douxx operations?
a multiple format logical file is also known as?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
What is program status data structure(psds) in as400?
how to declare a constant variable in the freeformat?
at what level s,o are defined and what they will do?
what are the various types of device files?
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
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?