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


Please Help Members By Posting Answers For Below Questions

the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

2178


What is data structure in as400? What is the use of data structure?

604


how can I give more performance to some selected pages?

615


why is the declare cursor statement is used for?

630


In Which Specs Arrays, Tables & Constants Are Defined?

704






what are different types of substems?

1344


different type of cursor?

640


Space & Skip Are Which Level Keywords?

758


how can u check no of records in a file?

682


Difference between NOPASS & OMIT?

1195


define the purpose/use for sflrna?

1010


how can we run a batch job?

731


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

1783


what is cab?

663


which are the member types which seu supports?

811