Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Add Change Request Activity (ADDCRQA) command adds a change management activity to a change request description. The change management action that is to be performed by the added activity depends on the value specified on the action parameter.
The activity can be conditioned so that it will only run after one or more other activities have completed (successfully or unsuccessfully). The activity may also be scheduled to run at a date and time in the future.
Restrictions:
Note: If you need to cancel an installation of a NetView Distribution Manager (NetView DM) change file or other non-i5/OS object, you must use the Add Change Management Activity (QNSADDCM) API.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CRQD | Change request description | Qualified object name | Required, Positional 1 |
Qualifier 1: Change request description | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
ACTIVITY | Activity | Name, *GEN, *LAST | Optional, Positional 2 |
ACTION | Action | *ACP, *ACT, *DLT, *INS, *RMV, *RTV, *RUN, *SND, *SNDINS, *SNDRUN, *UNINS | Optional, Positional 3 |
GLBNAME | Global name | Element list | Optional |
Element 1: Global name token 1 | Character value, *NETID, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 2: Global name token 2 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 3: Global name token 3 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 4: Global name token 4 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 5: Global name token 5 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 6: Global name token 6 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 7: Global name token 7 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 8: Global name token 8 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 9: Global name token 9 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 10: Global name token 10 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
COMPNAME | Component name | Element list | Optional |
Element 1: Component name token 1 | Character value, *NETID | ||
Element 2: Component name token 2 | Character value, *NETID, *CPNAME | ||
Element 3: Component name token 3 | Character value, *NETID, *CPNAME | ||
Element 4: Component name token 4 | Character value, *NETID, *CPNAME | ||
Element 5: Component name token 5 | Character value, *NETID, *CPNAME | ||
Element 6: Component name token 6 | Character value, *NETID, *CPNAME | ||
Element 7: Component name token 7 | Character value, *NETID, *CPNAME | ||
NODL | Managed systems node list | Element list | Optional |
Element 1: Node list |
Single values: *NONE Other values: Qualified object name |
||
Qualifier 1: Node list | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
CPNAME | Managed system node names | Single values: *NONE Other values (up to 50 repetitions): Element list |
Optional |
Element 1: Network identifier | Communications name, *NETATR | ||
Element 2: Control point | Character value | ||
TEXT | Text 'description' | Character value, *GEN, *BLANK | Optional |
ACTFRC | Activation force | Single values: *YES Other values: Element list |
Optional |
Element 1: Activation force | *NO | ||
Element 2: Delay units | *SECONDS, *MINUTES, *HOURS | ||
Element 3: Delay period | 1-65535, 3600 | ||
ACTUSEACT | Activation use on activate | *BOTH, *PROD, *LAST, *NONE | Optional |
CPRTYPE | Compression type | *ADAPTIVE, *SNA, *USER, *NONE | Optional |
SNACPRCHR | SNA compression character | Hexadecimal value, *BLANK | Optional |
USRCPRINF | User compression information | Element list | Optional |
Element 1: User compression name | Name | ||
Element 2: User parameters | Character value | ||
CPRSTGSTT | Compression storage state | *DECOMPRESS, *COMPRESS, *NONE | Optional |
CPRTFRSTT | Compression transfer state | *DECOMPRESS, *COMPRESS, *NONE | Optional |
ACTUSEINS | Activation use on install | *PROD, *TRIAL | Optional |
ALTACTCOMP | Alter active components | *ALLOWED, *NOTALLOWED, *NONE | Optional |
AUTOACP | Auto accept | Single values: *NONE, *NO Other values: Element list |
Optional |
Element 1: Auto accept | *YES, *DESIRED | ||
Element 2: Delay days | 0-255 | ||
AUTORMV | Auto remove | *YES, *NO, *DESIRED, *NONE | Optional |
PRETEST | Pre test | *YES, *NO, *DESIRED | Optional |
POSTTEST | Post test | *YES, *NO, *DESIRED | Optional |
ALWRMV | Allow remove | *NO, *DESIRED, *YES | Optional |
PARM | Initiate parameters | Values (up to 40 repetitions): Not restricted | Optional |
KEEPOBJ | Keep object | *YES, *NO, *NONE | Optional |
COREQCHGNL | Corequisite change name list | Single values: *NONE Other values: Element list |
Optional |
Element 1: Global name | Values (up to 6 repetitions): Element list | ||
Element 1: Global name token 1 | Character value | ||
Element 2: Global name token 2 | Character value | ||
Element 3: Global name token 3 | Character value | ||
Element 4: Global name token 4 | Character value | ||
Element 5: Global name token 5 | Character value | ||
Element 6: Global name token 6 | Character value | ||
Element 7: Global name token 7 | Character value | ||
Element 8: Global name token 8 | Character value | ||
Element 9: Global name token 9 | Character value | ||
Element 10: Global name token 10 | Character value | ||
REPLACE | Replace object | *YES, *ALLOWED, *NO | Optional |
TODLTNAME | To be deleted name | Single values: *NONE Other values: Element list |
Optional |
Element 1: To be deleted name token 1 | Character value, *NETID, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 2: To be deleted name token 2 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 3: To be deleted name token 3 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 4: To be deleted name token 4 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 5: To be deleted name token 5 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 6: To be deleted name token 6 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 7: To be deleted name token 7 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 8: To be deleted name token 8 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 9: To be deleted name token 9 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
Element 10: To be deleted name token 10 | Character value, *ANY, *HIGHEST, *LOWEST, *NETID, *CPNAME, *SERVER, *TARGET, *MDDATE, *MDTIME | ||
REFLVL | Refresh level | Character value | Optional |
FRCUNINS | Force uninstall | *YES, *NO | Optional |
RMTSTRTIME | Start time on managed system | Single values: *NONE Other values: Element list |
Optional |
Element 1: Time zone | *LCLSYS, *MGDSYS | ||
Element 2: Start after | Element list | ||
Element 1: Time | Time, *CURRENT | ||
Element 2: Date | Date, *CURRENT, *NEXT | ||
COND | Activity conditions | Single values: *NONE Other values (up to 5 repetitions): Element list |
Optional |
Element 1: Activity | Generic name, name, *PRV | ||
Element 2: Relational operator | *EQ, *GT, *LT, *LE, *NE, *GE | ||
Element 3: End code | 0-99, *SUCCESS, *FAIL, *NOTRUN, *ANY | ||
Element 4: Condition mode | *ALLNODES, *SAMENODE | ||
STRTIME | Activity start time | Element list | Optional |
Element 1: Start after | Element list | ||
Element 1: Time | Time, *CURRENT | ||
Element 2: Date | Date, *CURRENT, *NEXT | ||
Element 2: Start before | Element list | ||
Element 1: Time | Time, *ANY, *CURRENT | ||
Element 2: Date | Date, *ANY, *CURRENT, *NEXT | ||
HOLD | Hold activity | *NO, *YES | Optional |
Top |
Specifies the change request description object name.
The possible values are:
The possible change request description value is:
Top |
Specifies the name of the activity to add to the change request description.
Top |
Specifies the change management action to be performed by the added activity.
Top |
Specifies a global name, which is a series of tokens that uniquely identify an object in an SNA network. The global name represents the name that is used to locate the appropriate catalog entry on both the central site system and the managed systems. The catalog entry specifies the object that is to be used on that system. For example, if a retrieve action is specified, the global name is used to determine the object that is to be retrieved on the managed system. Also, the global name shows the location where it is to be stored on the central site system.
Special values in a token position indicate how to search for the object. By specifying *ANY in a token position, the token is ignored when searching for the correct object.
If an object is sent, the global name must have been previously cataloged so that it is associated with a local object name or associated with an object in the distribution repository. Retrieved objects, for which no catalog entry exists, are placed in the distribution repository.
Special values other than *SERVER, *TARGET, *MDDATE, and *MDTIME in a token position are allowed only for the following actions: *DLT, *RTV, *SND, *SNDRUN, or *SNDINS. The special values allowed for the first token are *NETID, *SERVER, *TARGET, *MDDATE, and *MDTIME.
Element 1: Token 1
The possible values are:
Element 2-10: Token 2-10
The possible values are:
Note: GLBNAME is valid only when ACTION(*ACT) is not specified.
Top |
Component name, which is the set of global name tokens previous to the REF, FIX, or UPD subtree indicator (STI) tokens. The component name is used to identify the installable object that must be uninstalled from the managed system. The maximum number of tokens allowed is 7. The component name is used to identify the installable object that must be uninstalled from the managed system.
Note: COMPNAME is only valid when ACTION(*UNINS) is specified.
Element 1: Token 1
The only special value allowed for the first token is *NETID.
The possible values are:
Elements 2-7: Tokens 2-7
Top |
Specifies that the node list parameter is the object name that contains a list of systems that are the destinations for the activity. This parameter cannot be specified if the control point name (CPNAME) parameter is also specified.
The possible values are:
The possible values are:
Top |
Specifies the APPN control point names of the managed systems on which this activity is to be performed. Control point names cannot be specified if the node list (NODL) parameter is specified. CPNAME is required unless NODL is specified.
The possible values are:
Top |
Specifies the activity description.
Top |
Specifies whether or not the managed system should proceed with the activation based on its quiesced state.
Note: ACTFRC is valid only when ACTION(*ACT) is specified.
Top |
Activation use on activate. Specifies which components altered by changes will be used during the activation.
Note: ACTUSEACT is valid only when ACTION(*ACT) is specified.
Top |
Specifies the compression algorithm and related information associated with the compression of a particular change object. When one or both of the compression transfer state or compression storage state parameter specify *COMPRESS, this parameter must be present and one (and only one) of the adaptive compression, SNA compression, or user compression algorithms may be requested. This support is dependent on the implementation on the managed system.
Notes:
Top |
Specifies information about the SNA compression algorithm as it pertains to the requested object. If omitted, the implication is that SNA compression does not pertain to the requested object.
Note: SNACPRCHR is valid only when ACTION(*RTV), ACTION(*SND), ACTION(*SNDRUN) or ACTION(*SNDINS) is specified.
Top |
Specifies information about a named user compression algorithm as it pertains to the requested object. If omitted, the implication is that user compression does not pertain to the requested object.
Note: USRCPRINF is valid only when ACTION(*RTV), ACTION(*SND), ACTION(*SNDRUN) or ACTION(*SNDINS) is specified.
Top |
Specifies whether or not the object should be stored in compressed format at the managed system once the object is sent.
Note: CPRSTGSTT is valid only when ACTION(*RTV), ACTION(*SND), ACTION(*SNDRUN) or ACTION(*SNDINS) is specified.
Top |
Specifies whether or not the object should be transferred to the managed system in compressed format.
Note: CPRTFRSTT is valid only when ACTION(*RTV), ACTION(*SND), ACTION(*SNDRUN) or ACTION(*SNDINS) is specified.
Top |
Specifies whether the component to be altered by the installation process will be trial version or production version. If activation use on install is *TRIAL, it means the object should be installed in the trial area to be tested. Removability must then be *YES.
Note: ACTUSEINS is valid only when ACTION(*INS) or ACTION(*SNDINS) is specified.
Top |
Specifies whether or not the managed system is allowed to apply the component alterations to the active system. If alterations cannot be applied, then such action is to be deferred until the next activation. This parameter is only allowed for *SNDINS action.
Note: ALTACTCOMP is valid only when ACTION(*INS), ACTION(*SNDINS), ACTION(*RMV), or ACTION(*UNINS) is specified.
Top |
Specifies whether the managed system accepts objects automatically if installation and any tests performed are successful, in order to release resources required to maintain removability as soon as possible. Like a separate accept request, the managed system deletes the objects after successful automatic acceptance.
The possible values are:
Note: AUTOACP is valid only when ACTION(*INS) or ACTION(*SNDINS) is specified.
Top |
Specifies whether or not the managed system removes the object automatically if failure by either installation or a test.
Note: AUTORMV is valid only when ACTION(*INS) or ACTION(*SNDINS) is specified.
Top |
Specifies whether or not the entry point is to perform a test on the objects prior to installing them.
Note: PRETEST is valid only when ACTION(*INS) or ACTION(*SNDINS) is specified.
Top |
Specifies whether or not the entry point is to perform a test on the objects after installing or removing them.
Note: POSTTEST is valid only when ACTION(*INS), ACTION(*SNDINS) or ACTION(*RMV) is specified.
Top |
Specifies whether or not objects are to be installed in a removable manner (so that a subsequent remove action can be issued against the objects).
Note: ALWRMV is valid only when ACTION(*INS) or ACTION(*SNDINS) is specified.
Top |
Specifies the parameters to be passed to the program to be run.
Note: PARM is valid only when ACTION(*RUN) or ACTION(*SNDRUN) is specified.
Top |
Specifies whether or not the object should be kept or deleted after the function has been successfully performed.
Note: KEEPOBJ is valid only when ACTION(*RUN), ACTION(*INS), ACTION(*SNDRUN) or ACTION(*SNDINS) is specified.
Top |
Specifies a list of SNA/file services (SNA/FS) global names identifying the names of objects that are to be installed by the entry point as a part of the installation of the object to be retrieved. A maximum of six corequisite change names are allowed. The global name is a unique name you assign to the object so that it is not confused with any other object in a network. The global name represents the name that will be used to locate the appropriate catalog entry on both the central site and managed systems.
Note: COREQCHGNL is valid only when ACTION(*INS) or ACTION(*SNDINS) is specified.
Top |
Specifies whether the object should be replaced if it already exists.
Note: REPLACE is valid only when ACTION(*RTV), ACTION(*SND), ACTION(*SNDRUN) or ACTION(*SNDINS) is specified.
Top |
Specifies the name of the object, at the managed system location, that is to be deleted.
Special values in a token position indicate how to search for the object. By specifying *ANY in a token position, the token is ignored when searching for the correct object.
The special values allowed for the first token are: *NETID, *SERVER, *TARGET, *MDDATE, and *MDTIME.
Element 1: Token 1
The possible values are:
Element 2-10: Token 2-10
Notes:
Top |
Specifies the level of the software component to be uninstalled.
Note: REFLVL is valid only when ACTION(*UNINS) is specified.
Top |
Specifies whether to perform the uninstallation even if the software component includes an object that is waiting to be installed or an object that is currently being installed.
Note: FRCUNINS is valid only when ACTION(*UNINS) is specified.
Top |
Specifies the date and time when the activity can begin running on the managed system. The current date and time values and next date values are determined when the activity begins running at the central site system based on the central site date and time.
Single value:
Element 1: Time Zone
The time zone of the remote start time.
The possible values are:
Element 2: Start After Time
This is the definition of the time after which the activity is to start.
Element 3: Start After Date
Notes:
Top |
Specifies which conditions must be met before this activity can be performed. Each condition identifies an activity that must run before this activity and the value the end code from that activity must have to allow this activity to run. The default condition is that the previous activity (in alphabetical order) must complete successfully before this activity can be run.
Element 1: Conditioning Activity
The activity that must be run before this activity.
The possible values are:
Element 2: Relational Operator
This element is the relational operator to use when comparing the end code from the conditioning activity.
Element 3: Condition Code
This element is the value compared to the actual end code of the conditioning activity.
Element 4: Condition Mode
This element indicates which systems the conditioning activity must have completed on before this activity can be performed.
Top |
Specifies the date and time when this activity can be started on the central site system. The current date and time values, and next date values are determined when the change request is submitted.
Element 1: Start After Time
The possible values are:
Element 2: Start After Date
Element 3: Start Before Time
This element is ignored if the start before date is *ANY.
Element 4: Start Before Date
Top |
Hold the activity when the change request is submitted.
Top |
The following examples illustrate how to use the ADDCRQA command to schedule activities to be performed on managed systems controlled by a NetView Distribution Manager/6000 change control server. The examples shown here are grouped according to their activity action:
Example 1: Accept Actions
The examples shown here match those shown for the install examples and demonstrate how some of the installed objects can be accepted.
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT01) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*TRIAL) ALWRMV(*YES)
When the change request is submitted and if the activity is run successfully, object IBM 1234567 PMGRAB UPD 1 2 is installed (to be tested) in the trial area of managed system MARYPWS1. MARYPWS1 is controlled by the change control server ROMSERV1. Because the object is installed in the trial area, the object cannot be accepted.
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*PROD) ALTACTCOMP(*ALLOWED) ALWRMV(*NO) RMTSTRTIME((*MGDSYS) (8:30:00 12/25/02))
When the change request is submitted and if the activity is successfully run, object IBM 1234567 PMGRAB UPD 1 2 is installed in the active area of the system MARYPWS1. MARYPWS1 is managed by the change control server ROMSERV1. The object is installed in a nonremovable manner, and thus, the object does not need to be accepted.
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT03) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) COREQCHGNL((REXX PROC UPDATE CONFIG)) ACTUSEINS(*PROD) ALTACTCOMP(*NOTALLOWED) AUTOACP((*YES)) ALWRMV(*YES)
The objects are automatically accepted with a required activation if the following conditions are met:
If the installation did not complete successfully, the objects IBM 1234567 PMGRAB UPD 1 2 and REXX PROC UPDATE CONFIG are not automatically accepted. You can accept the objects running the following activities:
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(ACCACT01) ACTION(*ACP) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) COND((INSACT03 *EQ 20 *SAMENODE)) ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(ACCACT02) ACTION(*ACP) GLBNAME(REXX PROC UPDATE CONFIG) CPNAME((ROMSERV1 MARYPWS1)) COND((INSACT03 *EQ 20 *SAMENODE))
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT04) ACTION(*INS) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) ALWRMV(*YES)
When the change request is submitted and if the activity is run successfully, an object is installed in a removable manner. The object can be accepted adding an activity to accept the previously installed object EURO WORDPROD UPD 2 3 US on managed system FREDSWS. Managed system FREDSWS is controlled by the change control server EUROITAL.
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(ACCACT03) ACTION(*ACP) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) COND((INSACT04 *EQ *SUCCESS *SAMENODE))
Example 2: Activate Actions
ADDCRQA CRQD(CCLIB/CRQINSACT) ACTIVITY(INSACT01) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*PROD) ALTACTCOMP(*NOTALLOWED) AUTOACP(*YES) COREQCHGNL((REXX PROC UPDATE CONFIG))
ADDCRQA CRQD(CCLIB/CRQINSACT) ACTIVITY(ACTACT01) ACTION(*ACT) CPNAME((ROMSERV1 MARYPWS1)) ACTFRC(*NO *HOURS 6) ACTUSEACT(*PROD) STRTIME((2:00:00 *NEXT) (8:00:00 *NEXT))
The activation will occur after 2 a.m. but before 8 a.m. the next morning the request is submitted. The MARYPWS1 system waits up to six hours before proceeding with the activation if the managed system is still active.
ADDCRQA CRQD(CCLIB/CRQINSACT) ACTIVITY(ACTACT02) ACTION(*ACT) CPNAME((EUROITAL FREDSWS)) ACTFRC(*YES) RMTSTRTIME(*MGDSYS (23:00:00 04/15/02))
Example 3: Delete Actions
ADDCRQA CRQD(CCLIB/CRQDLT) ACTIVITY(DLTACT01) ACTION(*DLT) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS))
ADDCRQA CRQD(CCLIB/CRQSNDDLT) ACTIVITY(DLTACT01) ACTION(*DLT) GLBNAME(EURO SPELLCHECK TEST *ANY) CPNAME((ROMSERV1 MARYPWS1) (ROMSERV1 MARYPWS2) (ROMSERV1 MARYPWS3) (ROMSERV1 MARYPWS4)) COND((SNDACT01 *EQ *SUCCESS *ALLNODES))
The delete activity is performed only if the object EURO SPELLCHECK EXE 1 US is successfully sent to those systems:
ADDCRQA CRQD(CCLIB/CRQSNDDLT) ACTIVITY(SNDACT01) ACTION(*SND) GLBNAME(EURO SPELLCHECK EXE 1 US) CPNAME((ROMSERV1 MARYPWS1) (ROMSERV1 MARYPWS2) (ROMSERV1 MARYPWS3) (ROMSERV1 MARYPWS4)) REPLACE(*ALLOWED)
Example 4: Run Actions
ADDCRQA CRQD(CCLIB/CRQRUN) ACTIVITY(RUNACT01) ACTION(*RUN) GLBNAME(EURO VIRUSCHK EXE 1 US) CPNAME((EUROITAL FREDSWS)) PARM(("/usr/bin"))
ADDCRQA CRQD(CCLIB/CRQRUN) ACTIVITY(RUNACT02) ACTION(*RUN) GLBNAME(EURO WORDPROC EXE 2 US) CPNAME((*NETATR JOHNSWS)) KEEPOBJ(*YES)
Example 5: Install Actions
The first four examples shown here match those shown for the accept and remove examples.
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT01) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*TRIAL) ALWRMV(*YES)
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*PROD) ALTACTCOMP(*ALLOWED) ALWRMV(*NO) RMTSTRTIME((*MGDSYS) (8:30:00 12/25/02))
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT03) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*PROD) ALTACTCOMP(*NOTALLOWED) AUTOACP((*YES)) ALWRMV(*YES) COREQCHGNL((REXX PROC UPDATE CONFIG))
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT04) ACTION(*INS) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) ALWRMV(*YES)
ADDCRQA CRQD(CCLIB/CRQRTVINS) ACTIVITY(INSACT05) ACTION(*INS) GLBNAME(EURO WORDPROC REF 2 US) CPNAME((EUROITAL FREDSWS)) ALTACTCOMP(*ALLOWED) COREQCHGNL(EURO WORDPROC UPD 2 3 US) RMTSTRTIME(*MGDSYS (15:00:00 1/01/03)) COND((RTVACT01 *EQ *SUCCESS *ALLNODES))
The activity can be performed only if the object EURO WORDPROC UPD 2 3 US is successfully retrieved from the change control client BRIGSWS.
ADDCRQA CRQD(CCLIB/CR7) ACTIVITY(RTVACT01) ACTION(*RTV) GLBNAME(EURO WORDPROC UPD 2 3 US) CPNAME((EUROITAL BRIGSWS)) STRTIME((22:00:00 12/31/02) (06:00:00 1/01/03))
ADDCRQA CRQD(CCLIB/CRQINS) ACTIVITY(INSACT06) ACTION(*INS) GLBNAME(IBM 1234567 WINDMB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*PROD) AUTORMV(*YES) ALWRMV(*YES)
Example 6: Remove Actions
The examples shown here match those shown for the install examples and demonstrate how the installed objects can be removed.
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT01) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*TRIAL) ALWRMV(*YES)
When the change request is submitted and if the activity is run successfully, object IBM 1234567 PMGRAB UPD 1 2 is installed (to be tested) in the trial area of managed system MARYPWS1. MARYPWS1 is controlled by the change control server ROMSERV1. The object IBM 1234567 PMGRAB UPD 1 2 can be removed when you run the following activity:
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(RMVACT01) ACTION(*RMV) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) POSTST(*NO)
A posttest is not required.
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*PROD) ALTACTCOMP(*ALLOWED) ALWRMV(*NO) RMTSTRTIME((*MGDSYS) (8:30:00 12/25/02))
When the change request is submitted and if the activity is run successfully, object IBM 1234567 PMGRAB UPD 1 2 is installed in the active area of the system MARYPWS1. MARYPWS1 is managed by the change control server ROMSERV1. The object is installed in a nonremovable manner.
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT03) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*PROD) ALTACTCOMP(*NOTALLOWED) AUTOACP((*YES)) ALWRMV(*YES) COREQCHGNL((REXX PROC UPDATE CONFIG))
All objects are installed in a removable manner, but an activation is required. The objects can be removed by adding and running activities like the following:
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(RMVACT02) ACTION(*RMV) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) COND((INSACT03 *EQ *SUCCESS *SAMENODE)) ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(RMVACT03) ACTION(*RMV) GLBNAME(REXX PROC UPDATE CONFIG) CPNAME((ROMSERV1 MARYPWS1)) COND((INSACT03 *EQ *SUCCESS *SAMENODE))
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT04) ACTION(*INS) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) ALWRMV(*YES)
When the change request is submitted and if the activity is run successfully, the object is installed in a removable manner. The object can be removed when you add an activity to remove the previously installed object EURO WORDPROD UPD 2 3 US on managed system FREDSWS. FREDSWS is controlled by the change control server EUROITAL.
ADDCRQA CRQD(CCLIB/CRQINSRMV) ACTIVITY(RMVACT04) ACTION(*RMV) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) COND((INSACT04 *EQ *SUCCESS *SAMENODE))
Example 7: Retrieve Actions
ADDCRQA CRQD(CCLIB/CRQRTV) ACTIVITY(RTVACT01) ACTION(*RTV) GLBNAME(EURO WORDPROC UPD 2 3 US) CPNAME((EUROITAL JOHNSWS)) CPRTYPE(*SNA) CPRSTGSTT(*DECOMPRESS) CPRTFRSTT(*COMPRESS) REPLACE(*ALLOWED)
ADDCRQA CRQD(CCLIB/CRQRTV) ACTIVITY(RTVACT02) ACTION(*RTV) GLBNAME(EURO PCSOFT UPD 2 3 US) CPNAME((EUROITAL JOHNSWS)) CPRTYPE(*USER) CPRSTGSTT(*COMPRESS) CPRTFRSTT(*COMPRESS) USRCPRINF(NVDMLZW 37 '/D') REPLACE(*ALLOWED)
ADDCRQA CRQD(CCLIB/CRQRTV) ACTIVITY(RTVACT03) ACTION(*RTV) GLBNAME(EURO SALES *ANY *HIGHEST) NODL(STORES) CPRTYPE(*SNA) CPRSTGSTT(*COMPRESS) CPRTFRSTT(*COMPRESS) REPLACE(*NO) STRTIME((22:00:00 *CURRENT) (06:00:00 *NEXT))
Example 8: Send, Send and Run, and Send and Install Actions
ADDCRQA CRQD(CCLIB/CRQSND) ACTIVITY(SNDCT01) ACTION(*SND) GLBNAME(EURO SPELLCHECK EXE 1 US) CPNAME((EUROITAL FREDSWS)) REPLACE(*ALLOWED)
ADDCRQA CRQD(CCLIB/CRQSND) ACTIVITY(SNDCT02) ACTION(*SNDINS) GLBNAME(EURO WORDPROC REF 2 US) CPNAME((EUROITAL FREDSWS)) ALTACTCOMP(*ALLOWED) COREQCHGNL((EURO WORDPROC UPD 2 3 US)) RMTSTRTIME(*MGDSYS (15:00:00 04/13/02))
ADDCRQA CRQD(CCLIB/CRQSND) ACTIVITY(SNDCT03) ACTION(*SNDRUN) GLBNAME(EURO VIRUSCHK EXE 1 US) CPNAME((EUROITAL FREDSWS)) PARM(("/usr/bin"))
ADDCRQA CRQD(CCLIB/CRQRTVSND) ACTIVITY(*GEN) ACTION(*RTV) GLBNAME(CUSTNET PCSOFT WDWAPP VER5 021230) CPNAME((CUSTNET DEVPS2))
ADDCRQA CRQD(CCLIB/CRQRTVSND) ACTIVITY(*GEN) ACTION(*SNDRUN) GLBNAME(CUSTNET PCSOFT WDWAPP VER5 021230) NODL(PS2SE) RMTSTRTIME(*MGDSYS (23:00:00 12/30/02)) COND((*PRV *EQ *SUCCES *SAMENODE))
Example 9: Uninstall Actions
ADDCRQA CRQD(CCLIB/CRQUNINS) ACTIVITY(UNSACT01) ACTION(*UNINS) COMPNAME(EURO WORDPROD) CPNAME((EUROITAL FREDSWS)) ALTACTCOMP(*NOTALLOWED) FRCUNINS(*NO) REFLVL("2") RMTSTRTIME(*MGDSYS (14:00:00 05/20/02))
Top |
None
Top |