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

Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?

2 Answers   CTS,


Define the purpose of Factor 1 the Operation Code and *IN15 in following code HI LO EQ C *YMD Test(D) yymmddDate 15

1 Answers  


what is the difference between udate and the system date?

1 Answers   IBM,


the maximum number of subfiles that can be active for a single file is ____ .

1 Answers   IBM,


what is the difference between normal upddta to pf and updating using dfu program?

0 Answers   IBM,






How to reverse the string in rpg

0 Answers  


How can a data area be locked after being updated?

1 Answers  


I have 1 rd in my flat file. say reord from 1 to 10 position : 'AS400NDB2400' I need to change the value from N to Y using SQL stmt ...How can I update this....?

5 Answers  


when you are defining a flat file in your program in f specs which format will you specify?

1 Answers   IBM,


how can I give more performance to some selected pages?

0 Answers   IBM,


what are the three line types in rlu ?

1 Answers   IBM,


what is match field indicator?

1 Answers   IBM,


Categories