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
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
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) ?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How can unused space allocation be returned to the system when a dataset is closed?
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?
Differentiate between addressing mode and run mode.
How to submit a jcl from cics?
Is their any set of rules for dd? Explain.
what are the statements that are not valid to be included in an include statement?
How is a type of file defined in the jcl that executes the cobol program?
Explain the purpose of dd * statement in jcl?
Which statement is used to identify the private libraries in job?
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?