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 the difference between inner join @ outer join
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
3 members in a databasefile .how to read records from all the members?????????
how does the rpg element work?
Explain mdt?
what is commitment control?explain about it?
what is the difference between the procedure and module in ILERPG?
how can an indexed file be used as arrival sequence in RPG?
How can a screen field that has changed since the last output operation be detected?
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
Why did we give STRSRVJOB while debugging batch program
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?