What is the meaning of data definition name (ddname) and
dataset name (dsname) in the DD statement?

Answer Posted / sunitha

Data Definition name (ddname) is a eight character name
used to give the name to the DD statement. In COBOL, In
ENVIRONMENT DIVISION , INPUT-OUTPUT SECTION, FILE-CONTROL
paragraph, a SELECT statement defines a file name and
assigns a device name to it where the device name is the
ddname that is coded in the JCL.
Dataset name(dsname) is the operating system(MVS) name for
the file.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to code instream data in a PROC?

855


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

7255


What is the purpose of dd?

824


How can the attributes of one sms dataset be copied to another dataset?

968


How can an in-stream dataset be terminated?

954






How can the submitting users racf authority be overridden in a job stream?

859


whats the diff bw the evaluate also and and?

1946


What is the difference between run mode and addressing mode?

726


what is use of space parameter in dd statement?

853


what is the resolution for sb37 error

7994


Name the statement which can be used to send data to another mvs jes3 node?

697


What is the function of the dd dcb keyword?

930


what is DSN in JCL and what are the parameters to declare the DSN?

822


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) ?

1862


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

946