What are the keywords associated with DCB? How can you
specify DCB information? What is the OS precedence for
obtaining that DCB information, ie. where does the system
look for it first?

Answer Posted / pradeep salian

The keywords associated with the DCB parameter are LRECL,
RECFM, BLKSIZE and DSORG.
Ex://step1 DD DSN=dataset,
DISP=(NEW,CATLG,DELETE),
UNIT=unitname,
SPACE=(CYL,(30,30),RLSE),
DCB=(MODEL,RECFM=FB,LRECL=100,BLKSIZE=0)
The sysem looks for DCB information in the program code
first. DCB can be coded in DD statement

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

863


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1958


What is Cataloged Procedures?

715


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1043


What are the jcl procedures?

649






List in order the hierarchical levels of jcl?

672


What happens if both JOBLIB & STEPLIB is specified ?

615


what is the use of IEBGENER utility?

662


Explain how can a jobs execution priority be modified?

745


What is the purpose of dd * statement in jcl?

814


How does jcl act on a cobol code?

659


Which dd parameters are required?

697


What parameters can be used to limit the number of records written to a sysout dataset?

753


Explain the hierarchy levels in jcl?

1120


What is job control language?

613