can any one plzzzzzz tell the jcl code for creating ps
using idcams

Answers were Sorted based on User's Feedback



can any one plzzzzzz tell the jcl code for creating ps using idcams..

Answer / bejjanki

Why you want to use "IDCAMS" when "IEFBR14" Utility is
already available.

IEFBR14 - Is used to create only files(PS/PDS).

//Jobcard
//STEP EXEC PGM=IEFBR14
//DD1 DD DSN=KK.PS.FILE,DISP=(,CATLG,DELETE),
// SPACE=(TRK,(10,2),RLSE),
// DCB=(LRECL=80,BLKSIZE=800,RECFM=FB),
//

Let me know if any concerns.

Is This Answer Correct ?    8 Yes 1 No

can any one plzzzzzz tell the jcl code for creating ps using idcams..

Answer / harsha

//STEP001 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=...,DISP=...,
// DCB=...,UNIT=...,SPACE=...
//SYSIN DD DUMMY

Is This Answer Correct ?    6 Yes 4 No

Post New Answer

More JCL Interview Questions

Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???

4 Answers  


Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..

1 Answers  


How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?

5 Answers   RBS,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


can u execute a proc from another proc?

5 Answers   Logica CMG,






What is Uncatalog dataset? How can we access/use them?

1 Answers  


what is the difference between static call and dynamic call?

1 Answers  


What is DSNDB06 ?

1 Answers  


Explain how can a stopped job be started again?

0 Answers  


What you mean by skeleton JCl?

2 Answers  


Can we change the LIMIT of GDG?

6 Answers   HCL,


I have one GDG. Everyday One new version is being created.Now I want to split this created version in different files each having 1000 records. Here Problem is I don't know How many records will be there in new version of GDG? that's why I don't know How many Out files we need to use . Interesting??????????????

4 Answers   CTS,


Categories