Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Change Request Activity (CHGCRQA) command modifies 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 can also be scheduled to run at a date and time in the future.
Restrictions
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CRQD | Change request description | Qualified object name | Required, Key, Positional 1 |
Qualifier 1: Change request description | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
ACTIVITY | Activity | Name, *LAST | Optional, Key, Positional 2 |
ACTION | Action | *ACP, *ACT, *DLT, *INS, *RMV, *RTV, *RUN, *SND, *SNDINS, *SNDRUN, *UNINS, *SAME | Optional, Positional 3 |
GLBNAME | Global name | Single values: *SAME Other values: 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 | Single values: *SAME Other values: 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, *SAME Other values: Qualified object name |
||
Qualifier 1: Node list | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
CPNAME | Managed system node names | Single values: *NONE, *SAME 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, *SAME | Optional |
ACTFRC | Activation force | Single values: *SAME, *YES Other values: Element list |
Optional |
Element 1: Activation force | *NO | ||
Element 2: Delay units | *SECONDS, *MINUTES, *HOURS | ||
Element 3: Delay period | 1-65535 | ||
ACTUSEACT | Activation use on activate | *BOTH, *PROD, *LAST, *NONE, *SAME | Optional |
CPRTYPE | Compression type | *ADAPTIVE, *SNA, *USER, *NONE, *SAME | 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, *SAME | Optional |
CPRTFRSTT | Compression transfer state | *DECOMPRESS, *COMPRESS, *NONE, *SAME | Optional |
ACTUSEINS | Activation use on install | *PROD, *TRIAL, *SAME | Optional |
ALTACTCOMP | Alter active components | *ALLOWED, *NOTALLOWED, *NONE, *SAME | Optional |
AUTOACP | Auto accept | Single values: *SAME, *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, *SAME | Optional |
PRETEST | Pre test | *YES, *NO, *DESIRED, *SAME | Optional |
POSTTEST | Post test | *YES, *NO, *DESIRED, *SAME | Optional |
ALWRMV | Allow remove | *NO, *DESIRED, *YES, *SAME | Optional |
PARM | Initiate parameters | Values (up to 40 repetitions): Not restricted | Optional |
KEEPOBJ | Keep object | *YES, *NO, *NONE, *SAME | Optional |
COREQCHGNL | Corequisite change name list | Single values: *NONE, *SAME 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, *SAME | Optional |
TODLTNAME | To be deleted name | Single values: *NONE, *SAME 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, *SAME | Optional |
FRCUNINS | Force uninstall | *YES, *NO, *SAME | Optional |
RMTSTRTIME | Start time on managed system | Single values: *NONE Other values: Element list |
Optional |
Element 1: Time zone | *LCLSYS, *MGDSYS, *SAME | ||
Element 2: Start after | Element list | ||
Element 1: Time | Time, *CURRENT, *SAME | ||
Element 2: Date | Date, *CURRENT, *NEXT, *SAME | ||
COND | Activity conditions | Single values: *NONE, *SAME 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, *SAME | ||
Element 2: Date | Date, *CURRENT, *NEXT, *SAME | ||
Element 2: Start before | Element list | ||
Element 1: Time | Time, *ANY, *CURRENT, *SAME | ||
Element 2: Date | Date, *ANY, *CURRENT, *NEXT, *SAME | ||
HOLD | Hold activity | *NO, *YES, *SAME | Optional |
Top |
Change request description object name.
The possible values are:
The possible change request description value is:
Top |
The name of the activity to change in the change request description.
Top |
Specifies the change management action to be performed by the added activity.
The objects are treated as corequisites, which means that either all installations succeed or all do not. The activity will use an object and its corequisites, if any, to alter all components necessary to effect the change. The managed system can perform such alteration in a removable manner if required, so that a subsequent request (Remove) can return all those components to their original condition prior to the alteration. Also automatic removal or automatic acceptance are possible.
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 used on that 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.
The possible values are:
Element 1: Token 1
Element 2-10: Token 2-10
Note: GLBNAME is valid only when ACTION(*ACT) or ACTION(*UNINS) 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. COMPNAME is valid only when ACTION(*UNINS) is specified.
The only special value allowed for the first token is *NETID.
Element 1: Token 1
The possible values are:
Elements 2-10: Tokens 2-10
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 library values are one of the following:
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.
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 |
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 either or both the transfer state or store state parameter specify compressed, this parameter must be present and one (and only one) of the adaptive compression, SNA compression, or user compression algorithms may be requested.
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.
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, then removability must 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 not, 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), or ACTION(*RMV) is specified.
Top |
Specifies whether the managed system accepts objects automatically if installation and any test 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.
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 either installation or a test fails.
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 them).
Note: ALWRMV is valid only when ACTION(*INS) or ACTION(*SNDINS) is specified.
Top |
Specifies the parameters to be passed when initiating an object.
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 system and managed systems.
Note: COREQCHGNL is valid only when ACTION(*INS) or ACTION(*SNDINS) is specified.
Top |
Specifies that 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, it means that the token is ignored when searching for the correct object. If multiple objects are found matching the tokens specified an error is returned.
The single values allowed are:
The special values allowed for the first token are *NETID, *SERVER, *TARGET, *MDDATE, and *MDTIME.
The special values allowed for the other tokens are:
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 the next date values are determined when the activity begins running at the central site systems based on the central site date and time.
The possible single value is:
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
This is the 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.
The possible single values are:
Element 1: Conditioning Activity
The activity that must be run before this activity.
Element 2: Relational Operator
This element is the relational operator to use when comparing the end code from an activity.
Element 3: Condition Code
The 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 the time when this activity can be started on the central site system. The current date and time values and the 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 CHGCRQA 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 by their activity actions:
Example 1: Accept Actions
The examples shown here match the first two examples 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(*PROD) ALTACTCOMP(*NOTALLOWED) AUTOACP((*YES)) ALWRMV(*YES) COREQCHGNL((REXX PROC UPDATE CONFIG))
Instead of installing the objects on the single system MARYPWS1, the objects should be installed on all the managed systems controlled by the change control server ROMSERV1. (All the managed systems are listed in the node list ROMCLIENTS stored in library ROMLIB.)
The activity is changed in the following example so the objects can be installed in a removable manner, if removability is supported on the managed systems.
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT01) ACTION(*SAME) GLBNAME(*SAME) NODL(ROMLIB/ROMCLIENTS) CPNAME(*NONE) ACTUSEINS(*SAME) ALTACTCOMP(*SAME) AUTOACP((*NO)) ALWRMV(*DESIRED) COREQCHGNL(*SAME)
The objects IBM 1234567 PMGRAB UPD 1 2 and REXX PROC UPDATE CONFIG are installed in a removable manner. The objects can be accepted by changing the accept activities. The activities were added to the change request as follows:
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))
But the activities need to be changed to:
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(ACCACT01) ACTION(*SAME) GLBNAME(*SAME) NODL(ROMLIB/ROMCLIENTS) CPNAME(*NONE) COND((INSACT03 *EQ *SUCCESS *ALLNODES)) CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(ACCACT02) ACTION(*SAME) GLBNAME(*SAME) NODL(ROMLIB/ROMCLIENTS) CPNAME(*NONE) COND((INSACT03 *EQ *SUCCESS *ALLNODES))
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*INS) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) ALWRMV(*YES)
Instead of installing the objects on the single system MARYPWS1. the objects should be installed on all the managed systems controlled by the change control server EUROITAL. (All the managed systems are listed in the node list EUROCLIENT stored in library EUROLIB.) To install the objects on all managed systems, the activity is changed to:
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*SAME) GLBNAME(*SAME) NODL(EUROLIB/EUROCLIENT) CPNAME(*NONE) ALWRMV(*YES)
To accept the object EURO WORDPROD UPD 2 3 US on all the managed systems, the activity ACCACT01 is added to the change request CRQACPRMV:
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(ACCACT01) ACTION(*ACP) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) COND((INSACT05 *EQ *SUCCESS *SAMENODE))
Should be changed as follows:
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(ACCACT01) ACTION(*SAME) GLBNAME(*SAME) NODL(EUROLIB/EUROCLIENT) CPNAME(*NONE) COND((INSACT05 *EQ *SUCCESS *ALLNODES))
Example 2: Activate Actions
CHGCRQA CRQD(CCLIB/CRQINSACT) ACTIVITY(ACTACT01) ACTION(*ACT) CPNAME((ROMSERV1 MARYPWS1)) ACTFRC(*NO *HOURS 6) ACTUSEACT(*BOTH) 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 will wait up to six hours before proceeding with the activation if the system is still active.
The delay units and delay period are ignored because activation force is *YES.
CHGCRQA CRQD(CCLIB/CRQINSACT) ACTIVITY(ACTACT02) ACTION(*ACT) CPNAME((EUROITAL FREDSWS)) ACTFRC((*YES *MINUTES 30)) RMTSTRTIME(*MGDSYS (23:00:00 04/15/02))
Example 3: Delete Actions
CHGCRQA CRQD(CCLIB/CRQDLT) ACTIVITY(DLTACT01) ACTION(*DLT) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS))
CHGCRQA CRQD(CCLIB/CRQSNDDLT) ACTIVITY(DLTACT02) ACTION(*ACT) GLBNAME(EURO SPELLCHECK TEST *ANY) CPNAME((ROMSERV1 MARYPWS1) (ROMSERV1 MARYPWS2) (ROMSERV1 MARYPWS3) (ROMSERV1 MARYPWS4)) COND((SNDACT01 *EQ *SUCCESS *ALLNODES))
This activity occurs 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 5: Run Actions
CHGCRQA CRQD(CCLIB/CRQRUN) ACTIVITY(RUNACT01) ACTION(*RUN) GLBNAME(EURO VIRUSCHK EXE 1 US) CPNAME((EUROITAL FREDSWS)) PARM(("/usr/bin"))
CHGCRQA CRQD(CCLIB/CRQRUN) ACTIVITY(RUNACT02) ACTION(*RUN) GLBNAME(EURO WORDPROC EXE 2 US) CPNAME((*NETATR JOHNSWS)) KEEPOBJ(*KEEP)
Example 6: Install Actions
The first two 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(*PROD) ALTACTCOMP(*NOTALLOWED) AUTOACP((*YES)) ALWRMV(*YES) COREQCHGNL((REXX PROC UPDATE CONFIG))
Instead of installing the objects on the single system MARYPWS1, the objects should be installed on all the managed systems controlled by the change control server ROMSERV1. (All the managed systems are listed in the node list ROMCLIENTS stored in library ROMLIB.) To install the objects in a removable manner, the install activity is changed to:
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT01) ACTION(*SAME) GLBNAME(*SAME) NODL(ROMLIB/ROMCLIENTS) CPNAME(*NONE) ACTUSEINS(*SAME) ALTACTCOMP(*SAME) AUTOACP((*NO)) ALWRMV(*DESIRED) COREQCHGNL(*SAME)
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*INS) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) ALWRMV(*YES)
Instead of install the objects on the single system MARYPWS1, the objects should be installed on all the managed systems controlled by the change control server EUROITAL. (All the managed systems are listed in the node list EUROCLIENT stored in library EUROLIB.) To install the objects on all the managed systems, the install activity is changed to:
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*SAME) GLBNAME(*SAME) NODL(EUROLIB/EUROCLIENT) CPNAME(*NONE) ALWRMV(*YES)
CHGCRQA CRQD(CCLIB/CRQINS) ACTIVITY(INSACT03) ACTION(*INS) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*TRIAL) ALWRMV(*YES)
CHGCRQA CRQD(CCLIB/CRQINS) ACTIVITY(INSACT04) 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))
CHGCRQA 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/02)) 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/CRQRTVINS) 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))
CHGCRQA CRQD(CCLIB/CRQINS) ACTIVITY(INSACT06) ACTION(*INS) GLBNAME(IBM 1234567 WINDMB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) ACTUSEINS(*PROD) AUTORMV(*YES) ALWRMV(*YES)
Example 7: Remove Actions
The examples shown here match the first two examples shown for the install examples and demonstrate how some of 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(*PROD) ALTACTCOMP(*NOTALLOWED) AUTOACP((*YES)) ALWRMV(*YES) COREQCHGNL((REXX PROC UPDATE CONFIG))
Instead of installing the objects on the single system MARYPWS1, the objects should be installed on all the managed systems controlled by the change control server ROMSERV1. (All the managed systems are listed in the node list ROMCLIENTS stored in library ROMLIB.) The objects should be installed in a removable manner, if all managed systems support removability. To install the objects in a removable manner, the install activity is changed to:
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT01) ACTION(*SAME) GLBNAME(*SAME) NODL(ROMLIB/ROMCLIENTS) CPNAME(*NONE) ACTUSEINS(*SAME) ALTACTCOMP(*SAME) AUTOACP((*NO)) ALWRMV(*DESIRED) COREQCHGNL(*SAME)
The objects IBM 1234567 PMGRAB UPD 1 2 and REXX PROC UPDATE CONFIG are all installed in a removable manner. You can remove the objects by changing the accept activities to the following:
The activities were added to the change request as follows:
ADDCRQA CRQD(CCLIB/CRQINSACC) ACTIVITY(RMVACT01) ACTION(*RMV) GLBNAME(IBM 1234567 PMGRAB UPD 1 2) CPNAME((ROMSERV1 MARYPWS1)) COND((INSACT01 *EQ 20 *SAMENODE)) ADDCRQA CRQD(CCLIB/CRQINSACC) ACTIVITY(RMVACT02) ACTION(*RMV) GLBNAME(REXX PROC UPDATE CONFIG) CPNAME((ROMSERV1 MARYPWS1)) COND((INSACT01 *EQ 20 *SAMENODE))
But they need to be changed to:
CHGCRQA CRQD(CCLIB/CRQINSACC) ACTIVITY(RMVACT01) ACTION(*SAME) GLBNAME(*SAME) NODL(ROMLIB/ROMCLIENTS) CPNAME(*NONE) COND((INSACT01 *EQ *SUCCESS *ALLNODES)) CHGCRQA CRQD(CCLIB/CRQINSACC) ACTIVITY(RMVACT02) ACTION(*SAME) GLBNAME(*SAME) NODL(ROMLIB/ROMCLIENTS) CPNAME(*NONE) COND((INSACT01 *EQ *SUCCESS *ALLNODES))
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*INS) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) ALWRMV(*YES)
Instead of installing the objects on the single system MARYPWS1, the objects should be installed on all the managed systems controlled by the change control server EUROITAL. (All the managed systems are listed in the node list EUROCLIENT stored in library EUROLIB.) The activity is changed to:
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(INSACT02) ACTION(*SAME) GLBNAME(*SAME) NODL(EUROLIB/EUROCLIENT) CPNAME(*NONE) ALWRMV(*YES)
To remove the object EURO WORDPROD UPD 2 3 US on all the managed systems, the activity RMVACT01 is added to change request CRQACPRMV:
ADDCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(RMVACT01) ACTION(*RMV) GLBNAME(EURO WORDPROD UPD 2 3 US) CPNAME((EUROITAL FREDSWS)) COND((INSACT04 *EQ *SUCCESS *SAMENODE))
should be changed as follows:
CHGCRQA CRQD(CCLIB/CRQACPRMV) ACTIVITY(RMVACT01) ACTION(*SAME) GLBNAME(*SAME) NODL(EUROLIB/EUROCLIENT) CPNAME(*NONE) COND((INSACT04 *EQ *SUCCESS *ALLNODES))
CHGCRQA CRQD(CCLIB/CR6) ACTIVITY(ACT01) ACTION(*RMV) GLBNAME(EURO WORDPROD REF 2 US) CPNAME((EUROITAL FREDSWS)) ALTACTCOMP(*NOTALLOWED)
Example 8: Retrieve Actions
CHGCRQA 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)
CHGCRQA 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)
CHGCRQA 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 9: Send, Send and Run, and Send and Install Actions
CHGCRQA CRQD(CCLIB/CRQSND) ACTIVITY(SNDCT01) ACTION(*SND) GLBNAME(EURO SPELLCHECK EXE 1 US) CPNAME((EUROITAL FREDSWS)) REPLACE(*ALLOWED)
CHGCRQA 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))
CHGCRQA CRQD(CCLIB/CRQSND) ACTIVITY(SNDCT03) ACTION(*SNDRUN) GLBNAME(EURO VIRUSCHK EXE 1 US) CPNAME((EUROITAL FREDSWS)) PARM(("/usr/bin"))
CHGCRQA CRQD(CCLIB/CRQRTVSND) ACTIVITY(*GEN) ACTION(*RTV) GLBNAME(CUSTNET PCSOFT WDWAPP VER5 021230) CPNAME((CUSTNET DEVPS2))
CHGCRQA 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 10: Uninstall Actions
CHGCRQA 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 |