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

1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF

5 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,


Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?

3 Answers   Steria,


How can you determine the number of characters in a variable?

3 Answers  


When will DUMP & DEBUG be ignored?

3 Answers   IBM,






Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 Answers  


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

3 Answers   HCL,


what is the equivalent keyword for CHAIN opcode ??

7 Answers   TCS,


please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code

4 Answers   Virtusa,


can i use UPDDTA command in rpg program in which contains a file

1 Answers   TCS,


What is the difference between inner join @ outer join

4 Answers  


Categories