Syntax notes

  1. GIMDDALC control statements must each start on a new line.
  2. GIMDDALC control statements may be continued on more than one line. SMP/E assumes a statement is continued if it did not find a period (.) before column 73.
  3. SMP/E ignores columns 73 through 80. If data, such as a period, is specified beyond column 72, SMP/E will ignore it and indicate an error in the control statement following the one containing the data.
  4. GIMDDALC control statements may contain comments. Comments start with /* and end with */. The first */ encountered after the initial /* will end the comment. A comment can appear anywhere within a statement. A comment after the ending period must start on the same line as the period, and you cannot start any additional comments after that final comment. For example, you can code a comment like this:
      DD(SMPTLIB) SPACE(5,5) DIR(20).  /* Comment after period continued
                                          on subsequent lines is OK.     */
    However, you cannot code a comment like this:
      DD(SMPTLIB) SPACE(5,5) DIR(20).  /* Comment after period OK,       */
                                       /* but starting another comment
                                          causes a syntax error.         */
    This causes a syntax error at the start of the second comment after the period.
  5. Only one GIMDDALC control statement is allowed for a single data set.
  6. At least one operand (other than DD) must be specified on each GIMDDALC control statement.
  7. For SMPTLIB, only the SPACE, TRACKS, and DIR operands are allowed.