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

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?

11 Answers   Tesco,


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

0 Answers   IBM,


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,


Name what parameter directs the output of the job log dataset?

0 Answers  


i want to avoid the positional parameter how to code it ?

3 Answers   TCS,






Explain dd statement in jcl?

0 Answers  


what is a steplib

4 Answers   CGI,


What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?

2 Answers  


Suppose I have seven jobs to do, but I want to hold one than how can I do this?

1 Answers  


wht is sysudump n sysout,sysprint ?

1 Answers   L&T,


How to Enter The Spool Area In Real Time?

7 Answers   IBM,


what is inrec fields and outrec fields in sorting

3 Answers   Fidelity,


Categories