How to declare the more than one file in cl/400.
Answer Posted / prototype
V5R3 and above -
You can declare more then 1 file, a maximum of 5 along with
a unique open id against each. These open id's can be used
to read data from these files.
Source member name may not be CLLE, it will work with CLP
as well.
CLLE is ofcourse required but when CALLPRC or something of
the sort (AN ILE FEATURE) is used but not for DECLARING
files!
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is kids-rpg?
what is the necessary keyword needed to scroll subfile records?
what is data area and how it is used in rpg program ?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
what was the robotech rpg?
how can you display specific subfile page on the screen in unequal subfile?
are there any useful c runtime apis that I can call from rpg iv?
what do you mean by an input subfile, what are the keywords required?
how do I declare a minor?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
How to declare the pull button in AS/400..
explain sflclr, sflend, sfldlt, and sflcsrrrn?
can you debug ile rpg program using isdb?
How to write record if no field or the field are different in physical file in rpgle ?
do you use message subfiles? What are the necessary keywords required coding a message subfile?