Please give me the code for A=A+1 in cl program?

Answer Posted / swetha p rao

CHGVAR VAR(&A) VALUE(&A + 1)

Is This Answer Correct ?    24 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What Is The Difference Between Goto & Exsr?

1175


How to reverse a string using RPG?

715


how does the runqry show the output?

887


what is the purpose of ovrdta (override data) keyword?

1079


what is cab?

671






what is the purpose of putovr (put with explicit override) keyword?

944


what is a keyed physical file?

1012


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1793


what is the command used to invoke rlu ?

1181


how can you detect overflow for a print program that prints multiple lines per cycle?

973


what is the difference between udate and the system date?

1168


where can you specify an indicator in lokup operation?

1166


how many levels are there in a physical file?

1012


when would you prefer logical file than opnqryf?

1381


If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...

2189