Please give me the code for A=A+1 in cl program?
Answers were Sorted based on User's Feedback
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 |
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
Why would you prefer OPNQRYF than logical file?
What is the difference between Physical and Logical files ?
how to get the cursor position?
Show 2 ways to convert a date from YYMMDD to MMDDYY (MULT operation not acceptable)
what is the purpose of the indara keyword?
PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM Can u plz tell me what the above code do exactly?
Describe the function of SETLL operation in RPG language?
What is a Join Logical File, Can it be used for Update ?
What is the difference between non-join logical files and join logical files?
which are the figurative constants used in rpg?
List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased