Using the Data Services user exit


This section describes how to use the Data Services user exit that AR/CTL provides to allow another level of control over the records processed by the application program. You can code a user exit routine that AR/CTL invokes during application processing of any data set that is using AR/CTL data services.

AR/CTL invokes the user exit routine in the following situations:

  • after the open request has been issued for the data set
  • before each output record has been written to the data set
  • after each input record has been read from the data set
  • after the close request has been issued for the data set
  • after the checkpoint request has been issued

    If the data set is defined for input, the routine can tell AR/CTL to pass the record to the application or to skip the record. If the data set is defined for output, the routine can tell AR/CTL to include the record in the data set or to delete the record. The routine cannot perform any actions against the data set directly.

For more information, see:


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

APPLICATION RESTART CONTROL 4.1 (ARCHIVED)