The IOCP command

The format of the IOCP command is shown in the following diagram. The options are explained in the text that follows the format.
IOCP      [fn] [(options...[)]] 

           Program Options:   
           ICP     

           IOCDS Generation Options: 
           CHECKCPC            NOWRTCDS
           NOCHKCPC            WRTAx

           Configuration Report Options: 
           RPTAx
           RPTA

           Listing Control Options: 
           LINECOUN (55)       DISK
           LINECOUN (nn)       PRINT 
                               NOPRINT

           System Terminal Options:   
           TERMINAL            WARNING
           NOTERM              NOWARN

           
fn
Specifies the file name of the input file of IOCP statements or of the output listing file, depending on the options you specify on the command line. A file name is required only when input is from a disk or output is to a disk.
  • When you specify IOCDS generation options, fn is the following:
    • The file name of the input file that contains the IOCP statements.
    • The file name of the output file.

      If IOCP finds no errors, the output file contains the configuration reports of the IOCDS that IOCP generated from your input and a list of your input. If IOCP finds errors, the output file contains only a list of the input file and any errors that IOCP finds.

  • When you specify configuration report options, fn is the following:
    • The file name of the output file.

      The output file contains the configuration reports of the IOCDSs you request from the Support Element.

The IOCP CMS utility requires the IOCP input file to be on a read/write disk unless you do not have privilege class B and the IOCP input file in not dynamic-capable.

IOCP issues, by default, the following FILEDEF commands for the SYSIN (input to IOCP) and SYSPRINT (output from IOCP) ddnames:
FILEDEF SYSIN DISK fn IOCP * (RECFM FB LRECL 80 BLOCK 800 

FILEDEF SYSPRINT DISK fn LISTING fm (RECFM FBA LRECL 133 BLOCK 1330

IOCP obtains fn from the file name entered in the IOCP command.

IOCP obtains fm by checking the disk that contains the input file. If the disk is read/write, IOCP writes back to the same disk. However, if the disk is an extension to a disk, IOCP writes to the parent disk. If neither of these cases is true, IOCP writes to the A-disk (provided it is read/write).

Because the default FILEDEF commands specify DISK, you must use a file name in the IOCP command unless you override those default FILEDEF commands. If you want to override a default FILEDEF command, issue your own FILEDEF command before running IOCP. The SYSPRINT FILEDEF is automatically overridden if you specify PRINT or NOPRINT in the IOCP command. Note also that if you specify a SYSPRINT FILEDEF, the IOCP command uses a system terminal option of NOTERM, which cannot be overridden.

The input file type is, by default, IOCP. If the input file has a file type other than IOCP, issue a FILEDEF command to override the default file type.