how do u define a file in cobol and jcl ?
Answers were Sorted based on User's Feedback
Answer / venkateswarlu
In cobol we define a file by using 'SELECT' statement.
In jcl we define it by using 'DD' statement.
Is This Answer Correct ? | 7 Yes | 0 No |
decalre file in cobol- select filename assign to dd1
in jcl - dd1 will be the ddname for your jcl
Is This Answer Correct ? | 2 Yes | 0 No |
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
7 Answers Cognizant, IBM, IGT,
In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
How do You skip a Step In JCL?
In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?
How can an in-stream dataset be terminated?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
How are datasets concatenated?
IN-STREAM DATA NOT ALLOWED IN PROC how can come out from this problem
How to fetch even records from one file to another file by using ICETOOL in JCL?
is there any way to execute more than one proc in the same exec statement at the same time..?