how do u define a file in cobol and jcl ?
Answers were Sorted based on User's Feedback
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 |
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 |
Is condition checking possible in jcl? If yes, how?
What is one line to pass PARM from JCL to COBOL?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
How I sort the records in a file and copy the first 10 records to another file
What will happen if we write two STOP RUN's in a COBOL program?
Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?
We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?
5 Answers IBM, JPMorgan Chase,
Explain about LMGET�read a logical record from a data set
can we copy a file from fixed block to variable block and vice versa ....asap
I have three files for one step i need to override the third file how to do that in jcl?
what are the options in file-aid to edit vsam dataset and to compare data sets.