can any one plzzzzzz tell the jcl code for creating ps
using idcams
Answers were Sorted based on User's Feedback
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 |
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 |
Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) What is SPOOL and what is SPOOL FULL ? and how to direct the output of a Jobstep to SPOOL ?
Define concatenating?
Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?
Explain how can return codes be tested before execution of a job step?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?
What is order of searching of the libraries in a JCL?
How different is the JCL executing a COBOL program? 1) if the program is using VB file as input. 2) if the program is using FB file as input.
Name the system library from which modules are retrieved at execution
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?