Multiple commands in the SYSIN data set


You can mix COPY, COPY IMAGECOPY, OUTPUT, QUIESCE, RECALL, MODIFY, TEMPLATE, and OPTIONS commands in the same SYSIN data set.

However, when you do this, you should keep the following things in mind:

  • BMC AMI Copy processes statements in the SYSIN data set sequentially.
  • If you have multiple OUTPUT statements in the SYSIN data set, each OUTPUT statement must name a different descriptor.
  • Multiple OPTIONS statements can be specified. However, only the last specifications for any OPTIONS statement in the SYSIN data set will be used for the entire job step. We recommend that the OPTIONS statement appears before any other BMC AMI Copy statement.
  • When you stack copies of multiple table spaces to tape using the STACK YES option, you must provide one OUTPUT statement for each copy type.
  • A COPY IMAGECOPY command should not be coded in the same SYSIN data set as the COPY command that creates the input file for the COPY IMAGECOPY command if that input file is on stacked tape.
  • INDEX, INDEXSPACE, and TABLESPACE specifications can be mixed within a COPY statement. If the statements are mixed, any options which apply only to a TABLESPACE will be ignored for the INDEX or INDEXSPACE.
  • Grouping is implied by repeating TABLESPACE or INDEXSPACE under the same COPY statement. Specifying INIT PAUSE with SHRLEVEL CONCURRENT REQUIRED also forces grouping.
  • You can use multiple MODIFY commands in the SYSIN data set for the same table space or index space. However, although the INSERT, DELETE, UPDATE, and VERIFY subcommands can each be repeated within the same MODIFY statement, they cannot be mixed within that statement. For example, although multiple INSERT subcommands can be specified within the same MODIFY statement, a DELETE subcommand cannot also be specified in that MODIFY statement.
  • You can also use multiple TEMPLATE commands in the SYSIN data set. However, the name specified with each TEMPLATE command must be unique.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Copy for Db2 13.1