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

Is condition checking possible in jcl?

723


Is it possible to code instream data in a PROC?

758


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

717


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1972


How to do automated restart when a job abend?

793






How can unused space allocation be returned to the system when a dataset is closed?

818


What is the format of comment statement?

684


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1361


what are the types of abends that occur on job failure? And explain the possible causes of these

1125


Name what parameter directs the output of the job log dataset?

569


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7096


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

716


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

740


How to override loadlib?

1432


List the different components of jcl statement?

702