HRFSYSIN DD statement syntax

The control statement you specify on the HRFSYSIN DD statement must conform to the following syntax rules.

When you code the HRFSYSIN DD statement:

  • You must begin the HRFSYSIN DD statement with either the REORG, UNLOAD, or IMAGECOPY command.
    Use the REORG command to perform the entire reorganization process. For example:
    //HRFSYSIN DD *
    REORG DBD(HIOPR1)
    Use the UNLOAD command to create only an unload file of a database. For example:
    //HRFSYSIN DD *
    UNLOAD DBD(HIOPR1)
    
    Use the IMAGECOPY command to create a batch image copy of a database data sets or HALDB partitions. For example:
    //HRFSYSIN DD *
    IMAGECOPY DBD(HIOPR1)
    
  • The input control HRFSYSIN DD statement contains one command and one or more keywords, many of which have sufficient default values.

    The HRFSYSIN DD statement is free form. That is, you do not need to code each keyword on a separate line, and each line can begin in any column from 1 to 71.

  • To continue any line to the next line, include a comma after a keyword, followed by a blank and a hyphen. For example:
    REORG DBD(HALDB0) PARTITION(HALPART0) -
    ICDDN((HALDD0A,ICPRT0))
    
  • To continue a line in the middle of a keyword subparameter list, do not separate the first subparameter value that is contained within a set of parentheses. Always code the first subparameter value on the first line, then insert the line continuation. For example:
    ICDDN((HALDD1A, -
             ICPRT1))
    The following example shows an incorrectly formatted continuation:
    ICDDN(( -
             HALDD1A,ICPRT1))