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

Explain how can the attributes of one sms dataset be copied to another dataset?

699


Is it possible to code instream data in a PROC?

742


Is their any limit for data sets?

697


Are there any set of rules for the names of the steps used in a job?

625


What is the motivation behind coding class parameter in job statement?

676






Explain the function of a dd statement?

651


Where & How Do You Code Identifier In Jcl?

689


What is the purpose of dd dummy statement?

937


what is the purpose of coding notify parameter in job statement?

681


List the different components of jcl statement?

685


what is the difference between JES3 and JES2?

669


What dd statement is used to supply the name of a dataset?

769


How can an in-stream dataset be terminated?

840


Explain how can return codes be tested before execution of a job step?

818


Differentiate between addressing mode and run mode.

608