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 |
how do I play {insert rpg system here}?
what is estimation? and what is the level identifier parameter in PF?
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.
1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword
Suppose in CL we reach at end of file and again we have to reach from 1 record
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
program to find the number of objects used in a given program through a display.
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
Hi, Can anybody give me real sinario for SFLRCDNBR?with example?