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 use of restart and how to use it?
What are steplib and joblib?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Explain how can the disposition of sysout datasets be set for an entire jobstream?
How jcl work to handle various input output file operations?
what JCL Procedures?
Is condition checking possible in jcl? If yes, how?
How jcl is used for testing batch programs?
How to alter the parameters for the existing gdg?
How can unused space allocation be returned to the system when a dataset is closed?
what is DSN parameter and DISP parameter is used for?
What is the use of disp parameter?
What are steplib and joblib? What for they are used?
Explain how can the submitting users racf authority be overridden in a job stream?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C