write a pgm to read p.f using cl pgm?
Answer Posted / avinash
START: PGM
DCL VAR(&COUNT) TYPE(*DEC) LEN(10)
DCL VAR(&OUTPUT) TYPE(*CHAR) LEN(10)
DCLF FILE(*LIBL/PGMNAME)
FILE: SNDRCVF RCDFMT(RFMT)
END: ENDPGM
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
what are the different types of data areas?
define the purpose of the %sst function?
How to add 99 menu (page down) option in menu creation..
what is *inzsr used for?
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?
what is match field indicator?
when would you use or not use this approach?
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
how do u compile rpgle program?
how to declare a constant variable in the freeformat?
how do handle file exception/error?
can you specify a display file to be used in the following modes input,output, or combined modes ?
how to define to define a hidden filed in dspf ?
Why we are not able to perform insert delete and update operation in Join logical file?
how do you specify page overflow indicator for printer files in rpg?