how do u define a file in cobol and jcl ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

605


Explain about LMFREE�free data set from its association with data ID

985


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

787


Which statement is used to identify the private libraries in job?

668


What is NOTCAT ?

730






What is one line to pass PARM from JCL to COBOL?

377


What is use of restart and how to use it?

754


Explain how can the disposition of sysout datasets be set for an entire jobstream?

623


Are there any set of rules for the names of the steps used in a job? What are they?

603


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

369


in ways data can be passed to a COBOL program from JCL?

656


if the submitter of a job wants to inform another user about the job completion, how can it be done?

740


What dd statement is used to supply the name of a dataset?

764


when does a dataset go uncataloged?

821


Explain the jcl exec statement?

638