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 |
I know chain keyword retreive records randomly but how chain keyword exactly works internally????
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
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
Need a sql query: retrieve all duplicate records in table?
How to declare the dynamic(run time) array in rpgle? can you please give example
check existence of one record without using chain or read?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
5 Answers CitiGroup, Symphony,
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
purpose of pannel group??/
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.