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

Explain the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

0 Answers  


How to view the hexa decimal value thru file aid if copy book is not present for that particular data

1 Answers  


what are the symbolic parameters? why do we use symbolic parameters ?

2 Answers   IBM, TCS, UST, Xansa,


how many max steps can we use in a job? pls answer to my question

3 Answers   TCS,






What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?

2 Answers   IBM,


What does the one advantange of using IEBUPDTE?????

2 Answers  


Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember

3 Answers   HSBC,


We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  


How do you create a temporary dataset?

0 Answers  


Is there a limit of 3273 DD statements for a JCL or for every EXEC step in a JCL?

2 Answers  


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

0 Answers  


Categories