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

File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


suppose i have 10 job steps and i want to execute only step 6.How to write?

6 Answers  


wt will happen to the step of a job if u code COND=ONLY

5 Answers   ADP,


How to find out the number of records in a file using JCL

5 Answers   CTS,


Which is the most widely used batch performance monitor for DB2?

2 Answers  






in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options

4 Answers   HSBC,


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

3 Answers   IBM,


What is multithreading in jcl?

0 Answers  


Explain the function of the steplib dd statement?

0 Answers  


what is “Cond= even” and “Cond=only”?

0 Answers  


what happens in execution stage in job processing?

0 Answers   IBM,


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?

1 Answers  


Categories