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

Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2224


Mention the types of job control statements?

691


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

610


How is a type of file defined in the jcl that executes the cobol program?

716


What is the purpose of dd?

728






what is use of space parameter in dd statement?

758


Explain how can values be passed from the job stream to an executable program?

632


How jcl is used for testing batch programs?

723


How does jcl specify the job to the operating system?

756


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

675


how to run batch program without jcl?

10093


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1754


How to submit jcl through a cobol program?

681


what is a jcl?

693


What is the function of //cntl statement?

832