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 / riyaz

AS per my knowledge we can declare 11 variables in CL
including '&'.

Is This Answer Correct ?    0 Yes 10 No

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

Answer / naveen

In the older versions we can declare only one variables, but
in the case of V5R4 we can declare three variables.

Is This Answer Correct ?    1 Yes 12 No

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

Answer / srividya

ONE VARIBLE CAN BE DECLARED

Is This Answer Correct ?    3 Yes 24 No

Post New Answer

More RPG400 Interview Questions

in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm

2 Answers  


What is the length of Signature?

3 Answers   UST,


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

3 Answers   TCS,


How can we change element of compile time array?Can we do so

1 Answers   TCS,


What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,






wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


When a object will be locked & when a record will be locked? Plz explain.

2 Answers  


1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?

2 Answers   Cap Gemini,


Explain mdt?

0 Answers  


what is commitment control?explain about it?

1 Answers   HSBC,


Please help me, I have created window subfile,I have created Footer with same lengh and postion of window SFL. When I call the pgm, first is shows only Footer and then it shows subfile records.This time Footer is not showsing ..plz hel me how can i do it...? Sameple DDS and RPG: A R WIN1 SFL A*%%TS SD 20090130 165346 MUNSHIJ REL-V4R2M0 5769- PW1 A FLD001 1Y 0B 4 3EDTCDE (Z) A ATFILE R O 4 7REFFLD (QWHFDBAS/ATFILE LIB/LIBF- A ILE) A R WINCTL SFLCTL (WIN1) A*%%TS SD 20090202 123459 MUNSHIJ REL-V4R2M0 5769- PW1 A ALTNAME ('y') A SFLSIZ (0004) A SFLPAG (0004) A WINDOW (FOOTER) A ROLLUP (27) A ROLLDOWN (28) A CF12 (12 'Cancel') A 50 SFLDSP A N51 SFLDSPCTL A 51 SFLCLR A 1 2'Select Option,Press enter' A 2 3'1= Select' A R FOOTER A* A WINDOW(8 31 9 43) A 8 4'F12 = Cancel' A R DUMMY ASSUME A 24 10' ' in RPG: Dow *IN12 = *Off Write Footer Fxfmt WInCTL

2 Answers  


Categories