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?

Answers were Sorted based on User's Feedback



How to increase 3 days from my current date in RPG Program?..

Answer / omer ozen

threedays = %date() + %days(3);

Is This Answer Correct ?    12 Yes 1 No

How to increase 3 days from my current date in RPG Program?..

Answer / sivaprasad

opcode 'adddur'
ex:

currentDATE ADDDUR XX:*days DUEDATE

Is This Answer Correct ?    9 Yes 3 No

How to increase 3 days from my current date in RPG Program?..

Answer / 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

More IBM AS400 AllOther Interview Questions

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

1 Answers   IBM,


How to declare the length of emp no in the physilcal file and the mandatory length is 6 i.e. Emp No should be numeric, mandatory and fill all the 6 places

2 Answers  


How do I remove a flag or check no. or name when a user opens too many sessions?

0 Answers  


what is the maximum number of parameters allowed in rpg?

1 Answers   IBM,


Can anybody please tell me what is difference between SQL (STRSQL ) and WRKQRY .....?

3 Answers  


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

0 Answers  


What is the purpose of the following? FORDHDR1 IF E K DISK ORDHDRF KRENAMEORDHDRF1

1 Answers  


what is qcmdexc?

1 Answers   IBM,


how do you know that records are locked?

1 Answers   IBM,


Why we are not able to perform insert delete and update operation in Join logical file?

0 Answers   IBM,


what would be the effect on the field where reverse image, underline and highlight display attributes are active ?

1 Answers   IBM,


what are the different methods to access seu?

0 Answers   IBM,


Categories