I want to add 10 days in current date. how it is possible in
CL program...?

Answer Posted / nallurus

its a ADDDAT not ADDDATE
ADDDAT DAYS(10) TOVAR(&DATE)

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

519


How can we override a file during runtime in rpg?

699


how do you use commitment control in rpg?

768


what is the difference between do while and do until?

722


How to write record if no field or the field are different in physical file in rpgle ?

498






what is kids-rpg?

679


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1324


how do I preserve and clean the array?

683


what was the robotech rpg?

691


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1905


are there any useful c runtime apis that I can call from rpg iv?

711


How would display prime numbers using CL program?

5697


what is data area and how it is used in rpg program ?

764


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

507


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

557