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 13557

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

IBM,

1 14319

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 6493

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 11575

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

3 12444

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 8458

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

8 25117

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

3 6787

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

CS,

2 6128

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

2 9493

How to overide the symbol parameter in the jcl ?

UST,

3 8832

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

UST,

1 8222

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 22200

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 13120

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

5 27878


Post New JCL Questions

Un-Answered Questions { JCL }

What are the jcl procedures?

645


What is use of restart and how to use it?

769


Mention the types of job control statements?

686


What is the significance of addrspc parameter in exec statement?

729


Can we use DISP=SHR in output file in JCL

953






Is condition checking possible in jcl? If yes, how?

737


Explain dfsort utility?

673


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

631


Explain the purpose of dd dummy statement?

671


Where can program checkpoints be stored for use in a restart?

849


Can we call instream to catalog and catalog to instream?

683


what is DSN parameter and DISP parameter is used for?

676


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2170


what operation is performed by job statement?

659


How to submit jcl through a cobol program?

679