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


Please Help Members By Posting Answers For Below Questions

what is kids-rpg?

657


what is the necessary keyword needed to scroll subfile records?

692


what is data area and how it is used in rpg program ?

746


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?

474


what was the robotech rpg?

673






how can you display specific subfile page on the screen in unequal subfile?

667


are there any useful c runtime apis that I can call from rpg iv?

688


what do you mean by an input subfile, what are the keywords required?

759


how do I declare a minor?

707


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.

2041


How to declare the pull button in AS/400..

1866


explain sflclr, sflend, sfldlt, and sflcsrrrn?

876


can you debug ile rpg program using isdb?

730


How to write record if no field or the field are different in physical file in rpgle ?

471


do you use message subfiles? What are the necessary keywords required coding a message subfile?

677