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

what is the difference between packed decimal and zoned decimal?

3101


how to declare a constant variable in the freeformat?

1347


what is the function of cpyf command?

1563


define the purpose of the %sst function?

1547


define what a data area is along with a brief example of what it may be used for?

1595


what is full form for dds?

1154


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

1727


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

1076


what is a physical file?

1699


How can we read file using curser? how to define a curser?

1257


what is the use of sflend keyword?

1768


how to get the cursor position?

1078


what is scan and xlate?

1735


what is maximum number of arrays allowed in rpg?

1822


What is compiler directive in as400? Give example of compiler directive.?

1009