MDRBRFP - RFP Rollback command
MDCMS is delivered with a command-based API that allows an external CL program, such as a program within End-of-Day, to rollback a specific RFP. An RFP must have already been installed in order to be considered by the API.
The MDCMS command is named MDRBRFP and is located in library MDCMS*.
MDRBRFP Parameter Table
| Name | Type | Length | Description |
|---|---|---|---|
| Name | Type | Length | Description |
| APPL | CHAR | 6 | Application Code |
| RFP | INTEGER | 7 | RFP Number |
| USER | CHAR | 10 | The User Profile ID to be displayed in Installation History. *INSTALLER = same user that installed the RFP *USER = same user that called the API A specific User Profile |
| ENV | CHAR | 4 | Specifies the MDCMS environment that should be used to place the Request. The ID correlates to the suffix of the MDCMS library name. For example, TEST correlates to library MDCMSTEST. *DFT = The default environment will be used. This correlates to library MDCMS. |
| EMSG | CHAR | 7 | Specifies if and to what extent an exception message should be returned to the calling program. An exception message occurs when an input parameter value is invalid, causing the addition of the request to fail. *DIAG = A diagnostic message will be placed in the calling program's message queue in the following format: MDRBRFP Exception. Object= *ESCAPE = The full diagnostic message as described above will be placed in the calling program's message queue and then followed by escape message CPF0001 for which the calling program can monitor. *NONE = An exception message will not be returned to the calling program's message queue. |