A process is a series of steps that can be executed in sequence. Each step performs a single operation, by using a macro. The following sections describe how to use some of the macros to perform special operations.
For more information about other macros, see the online help.
To define a process
The Process List appears.
Note: The process you create here is available to the specified system image only. To create a process that is available to all definitions in the knowledge base, enter /RADMIN.GP as the path.
The Process Definition panel appears.
Specifies the name of the process (for example, SNMPTRAP).
Describes your process.
The system files the definition.
You can now specify the process in a resource definition for any action that requires more complex processing.
Use the PINGCD macro to check the availability of a destination node for a CONNECT:Direct application. The return codes are as follows:
|
Return Code |
Meaning |
|
0 |
The destination node is available. |
|
4 |
The destination node cannot be contacted. |
|
8 |
The destination node is not defined in the network map of the CONNECT:Direct application. For example, you might have specified a wrong name. |
By using the return codes, you can specify the next step to perform.
To specify the PINGCD macro in your process
Specify the process step.
Specify PINGCD as the name of the macro.
The PINGCD Macro Parameter Definition panel appears.
The Process Definition panel appears.
Use the CDAPI macro to issue a command to a specified CONNECT:Direct application. The macro monitors the response and sets a return code. By using the return code, you can specify the next step to perform.
To specify the CDAPI macro in your process
Specifies the process step.
Specifies the name of the macro. Enter CDAPI.
The CDAPI Macro Parameter Definition panel appears.
The system saves your changes and the Process Definition panel appears.
You can generate SNMP traps to inform a remote system of a resource state change.
The SNMPTRAP macro is supplied. To generate an SNMP trap, you define a process that uses this macro.
To create an SNMP trap
Specifies the process step.
Specifies the name of the macro. Enter SNMPTRAP.
The SNMPTRAP Macro Parameter Definition panel appears.
Specifies the text to send with the trap.
(Optional) Specifies the data set name (DSN) in which the addresses of remote systems is located
(Optional) Specifies the destination addresses of the remote systems.
Specifies the format of the trap.
Note: The format identified by this field is determined by your open platform administration
Specifies the trap number.
Specifies the community for which the trap is destined.
The system saves the details and the Process Definition panel appears.
The FTCHECK macro generates a file transfer exception report based on a specified filter. If a return code of 4 is received, more information is available in the returned variables, which can be checked further by the process to perform other actions.
For more information, see the online help.
To specify the FTCHECK macro in your process
Specifies the process step.
Specifies the name of the macro. Enter FTCHECK.
The FTCHECK Macro Parameter Definition panel appears.
The settings are saved and the Process Definition panel appears.