JCL Interview Questions
Questions Answers Views Company eMail

How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.

Target,

2 13524

How to search strings in multiple dataset with conditions 'string1 & string2'?

IBM,

1 14291

My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 6453

I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.

Bank Of America,

5 11520

I have a File that has duplicate records. I need only those records that occur more than thrice.

3 12398

Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 8416

Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 25005

Can comments be specified at the very beginning of a jobcard? Will the JCL execute?

3 6748

How many steps we can overide in the proc's?

CS,

2 6096

How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01

2 9463

How to overide the symbol parameter in the jcl ?

UST,

3 8780

I have three files for one step i need to override the third file how to do that in jcl?

UST,

1 8187

hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)

8 22092

i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0

3 13077

How I sort the records in a file and copy the first 10 records to another file

5 27809


Post New JCL Questions

Un-Answered Questions { JCL }

what operation is performed by job statement?

642


what is DSN in JCL and what are the parameters to declare the DSN?

708


Explain the job statement in jcl?

629


Is condition checking possible in jcl?

701


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

654






what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

639


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1936


What is the function of //jcllib statement?

783


What statement can be used to send data to another mvs jes3 node?

785


what is the JCL statement consists of?

684


How can a stopped job be started again?

692


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

589


what is the purpose of coding class parameter in job statement?

705


When output dataset space is required, what quantity categories are used?

802


How is a type of file defined in the jcl that executes the cobol program?

696