Home

 

Optional parameters

 

ApplId (MQCFST)

Application identifier (parameter identifier: MQCA_APPL_ID).

This is the name of the application to be started, on the platform for which the command is executing, and might typically be a program name and library name.

The maximum length of the string is MQ_PROCESS_APPL_ID_LENGTH.

ApplType (MQCFIN)

Application type (parameter identifier: MQIA_APPL_TYPE).

Valid application types are:

MQAT_OS400

i5/OS application.

MQAT_WINDOWS_NT

Windows or Windows 95, Windows 98 application.

MQAT_DOS

DOS client application.

MQAT_WINDOWS

Windows client application.

MQAT_UNIX

UNIX application.

MQAT_AIX

AIX application (same value as MQAT_UNIX).

MQAT_CICS

CICS transaction.

MQAT_VMS

HP OpenVMS application.

MQAT_NSK

Compaq NonStop Kernel application.

MQAT_ZOS

z/OS application.

MQAT_DEFAULT

Default application type.

integer: System-defined application type in the range zero through 65 535 or a user-defined application type in the range 65 536 through 999 999 999 (not checked).

Only application types (other than user-defined types) that are supported on the platform at which the command is executed should be used:

  • On HP OpenVMS:

    MQAT_VMS,
    MQAT_DOS,
    MQAT_WINDOWS, and
    MQAT_DEFAULT are supported.

  • On i5/OS:

    MQAT_OS400,
    MQAT_CICS, and
    MQAT_DEFAULT are supported.

  • On Compaq NonStop Kernel:

    MQAT_NSK,
    MQAT_DOS,
    MQAT_WINDOWS, and
    MQAT_DEFAULT are supported.

  • On UNIX systems:

    MQAT_UNIX,
    MQAT_OS2,
    MQAT_DOS,
    MQAT_WINDOWS,
    MQAT_CICS, and
    MQAT_DEFAULT are supported.

  • On Windows:

    MQAT_WINDOWS_NT,
    MQAT_OS2,
    MQAT_DOS,
    MQAT_WINDOWS,
    MQAT_CICS, and
    MQAT_DEFAULT are supported.

  • On z/OS:

    MQAT_DOS,
    MQAT_IMS
    MQAT_MVS,
    MQAT_UNIX,
    MQAT_CICS, and
    MQAT_DEFAULT are supported.

CommandScope (MQCFST)

Command scope (parameter identifier: MQCACF_COMMAND_SCOPE). This parameter applies to z/OS only.

Specifies how the command is executed when the queue manager is a member of a queue-sharing group. You can specify one of the following:

  • blank (or omit the parameter altogether). The command is executed on the queue manager on which it was entered.

  • a queue manager name. The command is executed on the queue manager you specify, providing it is active within the queue sharing group. If you specify a queue manager name other than the queue manager on which it was entered, be using a queue-sharing group environment, and the command server must be enabled.

  • an asterisk (*). The command is executed on the local queue manager and is also passed to every active queue manager in the queue-sharing group.

The maximum length is MQ_QSG_NAME_LENGTH.

EnvData (MQCFST)

Environment data (parameter identifier: MQCA_ENV_DATA).

A character string that contains environment information pertaining to the application to be started.

The maximum length of the string is MQ_PROCESS_ENV_DATA_LENGTH.

ProcessDesc (MQCFST)

Description of process definition (parameter identifier: MQCA_PROCESS_DESC).

A plain-text comment that provides descriptive information about the process definition. It must contain only displayable characters.

The maximum length of the string is MQ_PROCESS_DESC_LENGTH.

If characters are used that are not in the coded character set identifier (CCSID) for the queue manager on which the command is executing, they might be translated incorrectly.

QSGDisposition (MQCFIN)

Disposition of the object within the group (parameter identifier: MQIA_QSG_DISP). This parameter applies to z/OS only.

Specifies the disposition of the object to which you are applying the command (that is, where it is defined and how it behaves). The value can be:

QSGDisposition Change Copy, Create
MQQSGD_COPY The object definition resides on the page set of the queue manager that executes the command. The object was defined using a command that had the parameter MQQSGD_COPY. Any object residing in the shared repository, or any object defined using a command that had the parameters MQQSGD_Q_MGR, is not affected by this command. The object is defined on the page set of the queue manager that executes the command using the MQQSGD_GROUP object of the same name as the ToProcessName object (for Copy) or ProcessName object (for Create).
MQQSGD_GROUP The object definition resides in the shared repository. The object was defined using a command that had the parameter MQQSGD_GROUP. Any object residing on the page set of the queue manager that executes the command (except a local copy of the object) is not affected by this command.

If the command is successful, the following MQSC command is generated and sent to all active queue managers in the queue-sharing group to attempt to refresh local copies on page set zero:

DEFINE PROCESS(process-name)
REPLACE QSGDISP(COPY)
The Change for the group object takes effect regardless of whether the generated command with QSGDISP(COPY) fails.
The object definition resides in the shared repository. This is allowed only if the queue manager is in a queue-sharing group.

If the definition is successful, the following MQSC command is generated and sent to all active queue managers in the queue-sharing group to attempt to make or refresh local copies on page set zero:

DEFINE PROCESS(process-name)
REPLACE QSGDISP(COPY)
The Copy or Create for the group object takes effect regardless of whether the generated command with QSGDISP(COPY) fails.
MQQSGD_PRIVATE The object resides on the page set of the queue manager that executes the command, and was defined with MQQSGD_Q_MGR or MQQSGD_COPY. Any object residing in the shared repository is unaffected.  Not permitted.
MQQSGD_Q_MGR The object definition resides on the page set of the queue manager that executes the command. The object was defined using a command that had the parameter MQQSGD_Q_MGR. Any object residing in the shared repository, or any local copy of such an object, is not affected by this command. This is the default value. The object is defined on the page set of the queue manager that executes the command. This is the default value.

Replace (MQCFIN)

Replace attributes (parameter identifier: MQIACF_REPLACE).

If a process definition with the same name as ToProcessName already exists, this specifies whether it is to be replaced.

The value can be:

MQRP_YES

Replace existing definition.

MQRP_NO

Do not replace existing definition.

UserData (MQCFST)

User data (parameter identifier: MQCA_USER_DATA).

A character string that contains user information pertaining to the application (defined by ApplId) that is to be started.

The maximum length of the string is MQ_PROCESS_USER_DATA_LENGTH.

 

Parent topic:

Change, Copy, and Create Process


pc11150_


 

Home