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

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

739


Is their any limit for data sets?

703


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

1807


Explain the function of job statement in jcl?

647


List the different jcl statements that are not permitted in the procedures?

640






What is jcl in mainframe?

688


how you can direct the data to spool using SYSOUT option?

926


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2220


How do you access an uncatalogued dataset in a jcl?

727


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

923


Does jcl support automatic restart?

761


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

861


how can you check if a file is empty using jcl?

816


What parameters can be used to limit the number of records written to a sysout dataset?

750


Explain the function of the dd dcb keyword?

706