How to declare the more than one file in cl/400.
Answer Posted / siva prasad
in cl 400 we cannot dcl more then 1 file
but in clle we can dcl max 5 files by using
open id
syntax
DCLF DIV(FNAME) OPNID(FNNAME)
DCLF DIV(LNAME) OPNID(LNAME)
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
is this a rpg channel?
Explain mdt?
How would display prime numbers using CL program?
How to call one program from another program in RPG? please help me with the code
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
how can you display specific subfile page on the screen in unequal subfile?
what is kids-rpg?
how do you use commitment control in rpg?
what is *place and *auto keyword in prtf ?plz explain
How to write record if no field or the field are different in physical file in rpgle ?
What is a record lock error?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?