how do u define a file in cobol and jcl ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the resolution for sb37 error

8368


Which dd parameters are required?

905


Explain the function of //jcllib statement?

934


List the various advantages of using jcl language?

1136


how you can access an uncataloged dataset in a JCL?

880


Is their any limit for data sets?

888


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

1007


Must tape dataset definitions include vol=ser specifications?

1344


What parameter of the job statement is used to limit the cpu time consumed by the job?

1027


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1911


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1226


Differentiate between the joblib and the steplib statements?

1078


Explain dd statement in jcl?

861


What is NOTCAT ?

1045


Is there any command to check wether the ps file is in sorted order?

2636