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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

716


Name the parameters which can be used to limit the number of records written to a sysout dataset?

651


Is acct parameter mandatory?

760


What is the function of the dd avgrec keyword in sms datasets?

838


List the various advantages of using jcl language?

852






When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

938


Explain the function of //cntl statement?

656


Name the statement which can be used to send data to another mvs jes3 node?

604


What is Cataloged Procedures?

711


What is concatenating?

635


What is the purpose of disp parameter?

640


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1929


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1767


How can the submitting users racf authority be overridden in a job stream?

749


if the submitter of a job wants to inform another user about the job completion, how can it be done?

754