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?
Answers were Sorted based on User's Feedback
Answer / guest
The keywords associated with the DCB parameter are LRECL,
RECFM, BLKSIZE and DSORG. The DCB information can be
supplied in the DD statement. The system looks for DCB
information in the program code first.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Can you delete the GDG base without deleting GDG generations ?
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
What is the function of the steplib dd statement?
Name the system library from which modules are retrieved at execution
Explain the function of job statement in jcl?
How to use COND Parameter in jcl
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
Describe the EXEC statement, its meaning, syntax and keywords?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
can we maintain 2 generations with different Lengths in Same GDG ?