Answer Posted / gourav bibhor
//jobcard
//STEP1 DD EXEC PGM=IDCAMS
//SYSIN DD *
REPRO IDS(FILENAMEOFSORCE)-
ODS(FILENAMEOFDESTINATION)
/*
//SYSOUT DD DSN=*
//SYSPRINT DD DSN=*
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
what is use of disp parameter in dd statement?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
List the different components of jcl statement?
What is use of restart and how to use it?
how to compare two datasets without using superce because output is limited to 133 bytes
How does jcl act on code(if you take a cobol program)?
Explain the purpose of dd dummy statement?
What are the 2 types of parameters in dd statement?
What is the function of dd name parameter with a 2 part structure; audit.report?
How can the disposition of sysout datasets be set for an entire jobstream?
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) ?
What is jcl in mainframe?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?