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

Answer Posted / kanika

convert the date to julian format ,chg varaible from char to dec , add 10 using chgvar,again chgvar to char type,do cnvtdat from julain to whatever format you want the output.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4198


what are the key words you must use when using a subfile?

684


How to declare the pull button in AS/400..

1871


what do you mean by an input subfile, what are the keywords required?

765


How can we know running job is batch or interactive?

647






What is difference between bind by copy and bind by reference?

1720


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

611


Explain mdt?

660


What is the purpose of record level identifier?

722


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1011


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2189


do you use message subfiles? What are the necessary keywords required coding a message subfile?

682


how do I declare a minor?

708


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

511


How to select highest score of each subject or how to select highest income of every month?

1291