Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a pgm to read p.f using cl pgm?

Answers were Sorted based on User's Feedback



write a pgm to read p.f using cl pgm?..

Answer / remya

dclf file(dsp) recfmt(recdsp)
dclf file(pf) recfmt(recpf) opnid(p)

l1: rcvf rcdfmt(recpf)
monmsg msgid(cpf0864) exec(goto cmdlbl(end))
sndrcvf rcdfmt(recdsp)
goto cmdlbl(l1)
end:endpgm

Is This Answer Correct ?    8 Yes 3 No

write a pgm to read p.f using cl pgm?..

Answer / 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

More IBM AS400 AllOther Interview Questions

Space & Skip Are Which Level Keywords?

0 Answers   IBM,


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

0 Answers  


How to add 99 menu (page down) option in menu creation..

0 Answers  


List and explain the different type of data structures?

1 Answers  


what is a spool file?

0 Answers   IBM,


What is the purpose of 'CPYTOIMPF' command?

6 Answers   Aditya Birla, Redington,


what is the maximum number of parameters allowed in clp?

2 Answers   IBM,


Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?

2 Answers  


Define the purpose of Factor 1 the Operation Code and *IN15 in following code HI LO EQ C *YMD Test(D) yymmddDate 15

1 Answers  


What are the types of data structure in as400?

0 Answers  


What is the difference between array and a multiple occurrence data structure?

1 Answers  


what is the favicon.ico request that my site receives now and then?

0 Answers   IBM,


Categories