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

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

0 Answers  


Explain about LMINIT - generate a data ID for a data set

1 Answers  


Given a input file with duplicates how to remove the duplicate records from the file using JCL?

6 Answers   CDS, Convergys, TCS,


In sms datasets, what is the function of the dd avgrec keyword?

0 Answers  


what is the resolution for sb37 error

2 Answers   TCS,






What does a disposition of (MOD,DELETE,DELETE) mean ?

0 Answers  


How can you execute a COBOL program via SYSIN in JCL?

1 Answers  


I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? )

9 Answers  


how to allocate a dynamic dataset in jcl ?

3 Answers   Patni, TCS,


what is JCL?

0 Answers  


I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.

5 Answers   CTS,


Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?

5 Answers   L&T,


Categories