performAction

Performs the action identified in the actionID by using the parameters given and the return values in customReturn (when applicable).

int performAction(int actionID, char instanceID[256], char memberID[256],
														 void** params, void*** customReturn, char error[256])
Variable Function Description
int actionID Input The custom action that is being requested, as defined in the CRADEF VSAM.
char instanceID[256] Input The instance the action is being performed on. If this and memberID are both set to all spaces, this indicates the action should be performed on the RAM.
char memberID[256] Input The member the action is being performaed on. If this is set to all spaces, this indicates the action should be performed on the instance.
void** params Input Pointer to an array of custom parameters (see Handling custom parameters and return values).
void*** customReturn Output Used to reference an array of custom return values (see Handling custom parameters and return values).
char error[256] Output If an error occurs, this should be filled with a description of the error.