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
which type of object is used in db2/400?
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
what is the necessary keyword for non-join logical file?
What Is The Difference Between Goto & Exsr?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
which are the string manipulation opcodes?
what is the purpose of ovrdta and ovrata keywords ?
. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?
How can we read file using curser? how to define a curser?
how to run other job when one job is active?
what are the different commands used in rlu ?
what are different record spacing keywords in rlu ?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
what is the clp command to access a query/400?
difference between sflrcdnbr and sflnxtchg?