How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JCL Interview Questions

What are the differences between JES2 & JES3 ?

4 Answers  


using cursor how can you fetch more than one record into a variable

3 Answers   Syntel,


I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K

3 Answers  


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

0 Answers   IBM,


If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???

8 Answers  






how to split a file

4 Answers   IBM,


What are steplib and joblib? What for they are used?

0 Answers  


What dd statement is used to supply the name of a dataset?

0 Answers  


JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?

4 Answers   HCL,


What do you understand by the term job time – out and how can you overcome that?

0 Answers  


can a job be submitted through jcl only? is there another way to submit a job?

2 Answers   CSC,


Explain about Specifying compiler options in the PROCESS (CBL) statement

1 Answers  


Categories