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 / 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 |
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
How to find out the number of records in a file using JCL
what is DD statement is used in JCL?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?
In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?
we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?
Explain about File Tailoring
what is the alternative to model parameter?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What is a procedure?
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?