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
How can the attributes of one sms dataset be copied to another dataset?
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.
What is Cataloged Procedures?
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
What are the jcl procedures?
List in order the hierarchical levels of jcl?
What happens if both JOBLIB & STEPLIB is specified ?
what is the use of IEBGENER utility?
Explain how can a jobs execution priority be modified?
What is the purpose of dd * statement in jcl?
How does jcl act on a cobol code?
Which dd parameters are required?
What parameters can be used to limit the number of records written to a sysout dataset?
Explain the hierarchy levels in jcl?
What is job control language?