how many variables can we declare in cl pgm?
Answers were Sorted based on User's Feedback
Answer / riyaz
AS per my knowledge we can declare 11 variables in CL
including '&'.
| Is This Answer Correct ? | 0 Yes | 10 No |
Answer / naveen
In the older versions we can declare only one variables, but
in the case of V5R4 we can declare three variables.
| Is This Answer Correct ? | 1 Yes | 12 No |
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
How can we receive values from a called procedure in CL?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.
what are the key words you must use when using a subfile?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
what is EXCEPT command in rpg and use
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF
Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
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?