Reserved Names - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Reserved Names

Description:

Operating Systems ... Reserved Names – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 12
Provided by: Micha910
Learn more at: http://faculty.ccri.edu
Category:
Tags: names | reserved

less

Transcript and Presenter's Notes

Title: Reserved Names


1
Reserved Names
2
  • //TPEIN DD UNITTAPE,DSNPR.FLE,
    // DISP(OLD,KEEP,KEEP)
  • DDNAME - one to eight alphanumeric characters.
    The first character must be alphabetic. The
    DDNAME comes from the external reference name
    in the SELECT Clause of the ENVIRONMENT
    DIVISION of a COBOL program.
  • Reserved DDNAMES - The following DDNAMES are
    specifically recognized by the operating system
    for a specific data set and cannot be used
    for any other purpose
  • JOBCAT JOBLIB SYSABEND
    STEPCAT STEPLIB SYSUDUMP

3
  • //JOBLIB DD DSNLIB.NAME, DISP(SHR)
    //STEPLIB DD DSNLIB.NAME, DISP(SHR)
  • JOBLIB and STEPLIB DD statements instruct the
    operating system to fetch the program named
    in the EXEC statement from the library
    specified in the JOBLIB or STEPLIB DD
    statement. They are used whenever a program
    resides in a library other than SYS1.LINKLIB.
  • A JOBLIB DD applies to the entire job and, if
    present, is the first DD statement immediately
    following the job statement.
  • A STEPLIB DD applies only to the particular job
    step and must be placed following the EXEC
    statement for the job step.

4
  • //JOBCAT DD DSNCAT.NAME, DISP(SHR)
    //STEPCAT DD DSNCAT.NAME, DISP(SHR)
  • JOBCAT and STEPCAT DD statements instruct the
    operating system to use a private user
    catalog rather than the system catalog.
  • A JOBCAT DD applies to the entire job and, if
    present, is placed following the job
    statement and any JOBLIB statement and before
    the first EXEC statement.
  • A STEPCAT DD refers only to the particular job
    step and must be placed following the EXEC
    statement for the job step.


    4

5
  • //SYSUDUMP DD SYSOUTA //SYSABEND
    DD SYSOUT A
  • The SYSUDUMP DD statement provides a core dump
    of the programs virtual storage partition
    in the event the job terminates abnormally.
  • The SYSABEND DD statement provides a core dump
    of the entire system nucleus in addition to
    the above.



6
  • //CUSTBLG JOB ,SMITH,PRTY7,CLASSA, //

    MSGLEVEL(1,1),MSGCLASSA //CALCBLG EXEC
    PGMCALCBLG,TIME2, //
    PARM(CYCLE1,UPDATE) //SYSUDUMP DD
    SYSOUTA //INMASTER DD DISP(OLD,KEEP,KEEP)
    , //
    DSNBILLING.MASTER //PAYCHGS DD
    DISP(OLD,DELETE,KEEP), //
    DSNBILLING.CHANGES, //
    UNITDISK //TAXTBLS DD
    DISPSHR,DSNTAX.TABLES

7
  • //UPDMSTER DD DISP(NEW,CATLG,DELETE), //

    DSNBILLING.MASTER, //
    UNITTAPE, //
    DCB(LRECL160,BLKSIZE3200), //
    DCBRECFMFB) //BLGFILE
    DD DISP(NEW,PASS,DELETE), //
    UNITSYSDA,DSNBILLING.PRINT
    , //
    SPACE(TRK,(20,5),RLSE), //
    DCB(LRECL100,BLKSIZE4000) //
    DCB(RECFMVB)
    //ISSBILLS EXEC PGMISSBILLS,TIME(,30)
    //SYSUDUMP DD SYSOUTA

8
  • //BLGRPT DD SYSOUTA//BILLS
    DD SYSOUT(H,,DP12)//BLGFILE DD
    DISP(OLD,DELETE,CATLG),//
    DSNBILLING.PRINT//

9
  • //CUSTBLG JOB ,SMITH,PRTY7,CLASSA, //

    MSGLEVEL(1,1),MSGCLASSA //JOBLIB DD
    //JOBCAT DD //CALCBLG EXEC
    PGMCALCBLG,TIME2, //
    PARM(CYCLE1,UPDATE) //STEPLIB
    DD //SYSUDUMP DD SYSOUTA //INMASTER DD
    DISP(OLD,KEEP,KEEP), //
    DSNBILLING.MASTER //PAYCHGS DD
    DISP(OLD,DELETE,KEEP), //
    DSNBILLING.CHANGES, //
    UNITDISK //TAXTBLS
    DD DISPSHR,DSNTAX.TABLES

10
  • //UPDMSTER DD DISP(NEW,CATLG,DELETE), //

    DSNBILLING.MASTER, //
    UNITTAPE, //
    DCB(LRECL160,BLKSIZE3200), //
    DCBRECFMFB) //BLGFILE
    DD DISP(NEW,PASS,DELETE), //
    UNITSYSDA,DSNBILLING.PRINT
    , //
    SPACE(TRK,(20,5),RLSE), //
    DCB(LRECL100,BLKSIZE4000) //
    DCB(RECFMVB)
    //ISSBILLS EXEC PGMISSBILLS,TIME(,30)
    //SYSUDUMP DD SYSOUTA

11
  • //BLGRPT DD SYSOUTA//BILLS
    DD SYSOUT(H,,DP12)//BLGFILE DD
    DISP(OLD,DELETE,CATLG),//
    DSNBILLING.PRINT//
Write a Comment
User Comments (0)
About PowerShow.com