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
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What are s0c1, s0c4, s0c5, s0c7 and socb?
what is the difference between JES3 and JES2?
How jcl is used for testing batch programs?
Is automatic restart possible in jcl?
in ways data can be passed to a COBOL program from JCL?
How to pass the parameter in parm using linkage section ? (syntax)?
Is it possible to left uncode disp?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What is the function of dd disp parameter?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
which utility is used a dummy utility?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
How can the attributes of one sms dataset be copied to another dataset?
What is the syntax of JCL statement?