16.20 - System Parameter Block - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

Teradata Tools and Utilities
September 2019
Programming Reference

The HSHSPB provides defaults for some of the values in the CLIv2 DBCHCL routine parameter list, the DBCAREA. Initially, the HSHSPB contains defaults distributed by Teradata. Once CLIv2 is installed, these defaults may be changed to suit corporate, project, product, personal, or any appropriate set of needs. Multiple copies of the distributed HSHSPB can contain defaults appropriate for different uses. Each HSHSPB must be assembled using any assembler appropriate for MVS, then bound (link-edited), either into load modules all named HSHSPB in different datasets, or — even though not recommended — into particular applications. When a CLIv2 application calls the CLIv2 DBCHIN routine to initialize the DBCAREA, the defaults from the HSHSPB, either found first in the search order for the application's execution environment (for MVS, the STEPLIB or JOBLIB datasets, or the Link Pack Area), or bound (link-edited) with the application, are placed into the DBCAREA. DBCHIN will fail if an HSHSPB cannot be found. When DBCHIN is successful, the application may then inspect or alter the defaults set into the DBCAREA. The application never references an HSHSPB directly.