PTRCHECK
The PTRCHECK keyword is valid with the UNLOAD command.
You can specify this option in an Unload function global options module or in PLUSIN. The following table describes the keyword.
Table 1. Check physical pointers keyword
To do this | Specify this in PLUSIN |
---|---|
Check physical pointers. | PTRCHECK(PHY) |
Do not check pointers. | PTRCHECK(NO) |
Internal default: NO |
The Unload function uses the PTF and PCF (or HF) pointers to progress through a database record and automatically checks them for validity. Use the PTRCHECK(PHY) keyword to check the PTB, PCL, and PP pointers.
If you specify PTRCHECK(PHY) and the Unload function detects an invalid pointer, it takes a snap dump of the bad block and reports the actual and expected pointer values. The PTRERROR keyword controls whether the Unload function continues after detecting a bad pointer. For more information, see PTRERROR.
You can set the default value for the PTRCHECK option by using the Unload function ISPF panels or the equivalent batch job. Sample JCL is in member #DBUGLBL of the sample library.