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

what is use of dsn parameter in dd statement?

0 Answers   IBM,


What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?

2 Answers   IBM,


There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?

2 Answers  


i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?

3 Answers   IBM,


Is it possible to left uncode disp? If yes, how?

0 Answers  






I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

0 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

0 Answers  


How can an in-stream dataset be terminated?

0 Answers  


How many types of libraries are there in JCL ?

2 Answers   IBM,


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  


Why block size is multiple of lrecl in jcl?

0 Answers  


Describe the EXEC statement, its meaning, syntax and keywords?

2 Answers  


Categories