how many variables can we declare in cl pgm?
Answers were Sorted based on User's Feedback
Answer / madhuri
No limit to declare variables in CL program as per my
knowledge. Limit is only for files.
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / lins
Not 1 for sure. But I am not sure if there's limit to the
number of variable declarations.
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / asura
any number of variables can be declared in cl program.
but in file declaration only one can be made.
no. of variables is different from types of variables.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / a.mathankumar
50 var declare in cl and only one file using in cl
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kannan
any no. of variables can be declared in clp.
but in file declaration only 1 file can be done in db2/400.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / madhu
In clp we can declare THREE variables(*dec, *char, *lgl)
In CLLE we can declare FIVE variables(*DEC, *CHAR, *LGL,
*INT,*UINT)
| Is This Answer Correct ? | 1 Yes | 8 No |
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
can i use unique key in LF
1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
how do I do concatenation in rpg iv, like I do in cl?
How Chain operation copies the record's data to the input buffer for the program?
If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?
two attributes which govern the excecution of a job>>>>??
How I can reread the physical file in CL program once the end of file reached in same CL program.