hi in one of the interview one asked me how to submit a job
from cobol?as well as how to submit a jcl from CICS? can u
pls any one tell me..



hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a ..

Answer / harsha

Define a file in JCL as (CLASS,INTRDR)
Open the file in OUTPUT mode and write full job to it.

Write the full job to TDQ.
WRITEQ TD
QUEUE(A,INTRDR)
FROM(WS-DATA)

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More JCL Interview Questions

State the uses of syspring, sysin, sort fields, sum fields and dummy.

0 Answers  


what is check pending option

1 Answers   Fujitsu,


01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

1 Answers  


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.

0 Answers   HP,


What is the difference between the JOBLIB and the STEPLIB statements?

3 Answers  






how to increase the space of a dataset in instream procedure.

1 Answers   HCL,


When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,


wht r s722,s822,s122 and s222 abends pls reply fast

1 Answers   Wipro,


how to purge 50 initiators continuously?? console commands??

4 Answers   IBM, ups,


What are the 4 fields in dd statement?

0 Answers  


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

5 Answers  


Categories