Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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?

1110


how to pick up the changed records every time in a subfile after the first change made ?

1821


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?

1275


what is sflinz and sflrna?

1518


what is the command to know key fields of file?

1179


how does the runqry show the output?

1420


under given circumstances, my cgi should link to another site. How to implement this?

1020


what is overlay?

1139


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?

1027


what is the purpose of ovrdta and ovrata keywords ?

1514


why is the declare cursor statement is used for?

1061


how you will know whether you are in sfldrop or sflfold mode?

1072


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

1088


what opcode could be used to test an alphanumeric field for all numeric values?

1777


What is %CHECK?

1275