how do u define a file in cobol and jcl ?

Answers were Sorted based on User's Feedback



how do u define a file in cobol and jcl ?..

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

how do u define a file in cobol and jcl ?..

Answer / snehatechm

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

Post New Answer

More JCL Interview Questions

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.

4 Answers  


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

0 Answers   IBM,


How do You skip a Step In JCL?

9 Answers   HTC,


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 ?

7 Answers  






What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  


How can an in-stream dataset be terminated?

0 Answers  


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

0 Answers  


How are datasets concatenated?

3 Answers   CitiGroup,


IN-STREAM DATA NOT ALLOWED IN PROC how can come out from this problem

7 Answers  


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


is there any way to execute more than one proc in the same exec statement at the same time..?

0 Answers  


Categories