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

Explain COND used in JCL?

1 Answers   Patni,


what is the control cards?

3 Answers  


i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1 Answers  


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

3 Answers   Syntel,


Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?

3 Answers  


How is the record format of an output dataset specified?

1 Answers  


whats the diff bw the evaluate also and and?

1 Answers   CGI,


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

4 Answers   Wipro,


How to copy one PS file to multiple PS files with same data?

1 Answers  


What is order of searching of the libraries in a JCL?

4 Answers  


HOw to submit a job from other user id.? for exp some other job name like "t4622sdx".now i want to submit that job from my user id?(we don't know that location at all Just we know job name)

1 Answers   MSN Pharma, UST,


Categories