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
http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?
how to pick up the changed records every time in a subfile after the first change made ?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
what is sflinz and sflrna?
what is the command to know key fields of file?
how does the runqry show the output?
under given circumstances, my cgi should link to another site. How to implement this?
what is overlay?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
what is the purpose of ovrdta and ovrata keywords ?
why is the declare cursor statement is used for?
how you will know whether you are in sfldrop or sflfold mode?
What is program status data structure(psds) in as400?
what opcode could be used to test an alphanumeric field for all numeric values?
What is %CHECK?