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..

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

how you can access an uncataloged dataset in a JCL?

656


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1933


How can a stopped job be started again?

716


What are the parameters that are used in creating a gdg?

743


How can the disposition of sysout datasets be set for an entire jobstream?

847






How do you access an uncatalogued dataset in a jcl?

731


What are steplib and joblib?

725


Can we call instream to catalog and catalog to instream?

685


Explain the function of dd name parameter with a 2 part structure; audit.report?

906


What is the function of //cntl statement?

832


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2269


which parameter is use to declare the name of dataset in dd statement?

741


What is use of restart and how to use it?

774


What is the motivation behind coding class parameter in job statement?

694


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

820