Can there be 2 job statements in a JCL?
If yes what is the purpose of doing tha?

Answer Posted / sroul4

yes we can, but it treats both the job differently,

The file created in one job step can not be used in the
other job steps.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when does a dataset go uncataloged?

835


What do you understand by jcl?

627


Name a few IBM utility programs, and explain its function.

4440


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

923


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3530






I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

728


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?

819


What are the 4 fields in dd statement?

744


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1732


What is the function of the dd mgmtclas keyword in sms datasets?

738


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2055


What is the function of //cntl statement?

830


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

637


What is the purpose of the dd keylen parameter?

724


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

801