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

Answers were Sorted based on User's Feedback



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

Answer / swetha p rao

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

Is This Answer Correct ?    24 Yes 0 No

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

Answer / swathi

i will agree the answer sweatha.
it is right.
CHGVAR VAR(&A) VALUE(&A+1)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

an access path may be in which sequence?

0 Answers   IBM,


Write a logic program for knowing the repeated number of a vowels in a given program?

0 Answers   Valtech,


what is the use of dspatr(mdt) keyword?

1 Answers   IBM,


what is the disadvantage of using global variable?

0 Answers   IBM,


how to write code for singlepage in sqlrpgle with update ?

0 Answers  






What is Group Job?

1 Answers  


we have 2 PF files with same name, how to copy data's from one file to another through RPG program logic?

3 Answers  


i have one physical file which is having two logical files. logical a have unique keyword and logical b doesnt have a unique keyword. can i give duplicate values while updating through physical file. if no why?

4 Answers   IBM,


it is possible declare variable values as variable using cl ? any cl command is there to declare values as variable

2 Answers  


how to see all source files in a particular library? ex:xyz is a library name a,b,and c..... are source files how to see?

13 Answers  


what is the function of rlu ?

1 Answers   IBM,


what are the different types of variables available in cl?

1 Answers   IBM,


Categories