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 |
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
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 read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
What are the necessary keywords required to code a message subfile?
What is the length of Signature?
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
How to read a record from file where there is multiple record occurrence is available?
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
A rpg or clp command to find if the file field is defined as a character or numeric field.
how do I declare a minor?
there is any limit to display the members in rpg400?