how many variables can we declare in cl pgm?

Answers were Sorted based on User's Feedback



how many variables can we declare in cl pgm?..

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

how many variables can we declare in cl pgm?..

Answer / cyjil

more than one variable

Is This Answer Correct ?    8 Yes 2 No

how many variables can we declare in cl pgm?..

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

how many variables can we declare in cl pgm?..

Answer / deepak

As such no limit to declare the variables in cl

Is This Answer Correct ?    5 Yes 2 No

how many variables can we declare in cl pgm?..

Answer / kathan

you can declare 32767 variables in cl pgm

Is This Answer Correct ?    6 Yes 4 No

how many variables can we declare in cl pgm?..

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

how many variables can we declare in cl pgm?..

Answer / a.mathankumar

50 var declare in cl and only one file using in cl

Is This Answer Correct ?    1 Yes 0 No

how many variables can we declare in cl pgm?..

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

how many variables can we declare in cl pgm?..

Answer / sunish

in clp it is 43.

in clle it is 250.

Is This Answer Correct ?    3 Yes 5 No

how many variables can we declare in cl pgm?..

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

Post New Answer

More RPG400 Interview Questions

I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


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

4 Answers   Manhattan,


What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?

2 Answers  


Need a sql query: retrieve all duplicate records in table?

1 Answers  


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


check existence of one record without using chain or read?

1 Answers   IBM,


Setps to create .csv file on IFS folder in AS/400( V4R3)....?

3 Answers   TCS,


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?

2 Answers   CTS,


purpose of pannel group??/

2 Answers   CTS,


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

0 Answers  


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.

5 Answers   TCS,


Categories