How to declare the more than one file in cl/400.
Answer Posted / syam
CL Supports Max 5 Files per porgram in Ver 5 Rel 4 and
above.
PGM
DCLF FILE(File1) OPNID(P1)
DCLF FILE(File2) OPNID(P2)
RCVF OPNID(P1)
RCVF OPNID(P2)
ENDPGM
| Is This Answer Correct ? | 54 Yes | 3 No |
Post New Answer View All Answers
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
what is an online rpg?
what is the use of sflnxtchg?
How to call one program from another program in RPG? please help me with the code
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
is this a rpg channel?
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.
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?
what is kids-rpg?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
What is the purpose of record level identifier?
how do I play {insert rpg system here}?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
can you debug ile rpg program using isdb?
explain sflclr, sflend, sfldlt, and sflcsrrrn?