Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 4: suspend a request for many records z/OS DFSMS Macro Instructions for Data Sets SC23-6852-02 |
|
In this example, a CHECK macro is issued for the first request
parameter list in a chain of parameter lists. If an error occurred
for one of the request parameter lists in the chain and you have supplied
error analysis routines, VSAM takes a LERAD or SYNAD exit before it
returns control to your program after the CHECK. For
SYNAD exit routine, the CCHHR can be in CCCCcccHR format.
Do other processing:
Process the three records retrieved by the
GET:
After the CHECK, register 15 is set to indicate the status of the request. A code of 0 indicates that no error was associated with any of the request parameter lists. Any other code indicates that an error occurred for one of the request parameter lists. You should issue a SHOWCB macro for each request parameter list in the chain to find out which one had an error. VSAM does not process any of the request parameter lists beyond the one with an error. |
Copyright IBM Corporation 1990, 2014
|