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
What is multithreading in jcl?
Which dd parameters are required?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What are the 4 fields in dd statement?
What happens if both JOBLIB & STEPLIB is specified ?
What is concatenating?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What are the utility programs in jcl?
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 ?
What is the function of the dd avgrec keyword in sms datasets?
which utility is used a dummy utility?
How does the jcl specify the job to os?
What is the function of job statement in jcl?
Explain about LMFREE�free data set from its association with data ID
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.