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
How to handle duplicate error handling in RPG?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
How can we know running job is batch or interactive?
what is file information data structure?
can you debug ile rpg program using isdb?
what are the key words you must use when using a subfile?
How to call one program from another program in RPG? please help me with the code
When it is desirable to describe files Internally?
How Chain operation copies the record's data to the input buffer for the program?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
How to write record if no field or the field are different in physical file in rpgle ?
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.
What is the difference between iter and do?
what do you mean by an input subfile, what are the keywords required?