HDS objects are created, accessed, modified and deleted in programs by means of calls to HDS routines. The routine names have the following structure:
where <pkg> is the “package name”, <func> represents the function performed by the routine and <qual> is a qualifier which is used to identify different versions of the GET, MAP, MOD, NEW and PUT routines.
Stand-alone HDS programs will typically have the following structure:
Various symbolic names should be used for important constant values in HDS programs
to make the programs clear, portable and to insulate them from possible future changes.
These symbolic names are defined by several Fortran “include” files. This explains the
existence of the INCLUDE
statements in the example above. The following include files are
available:
If it is required to test for specific error conditions, the appropriate include file should be used and the symbolic names (listed in Appendix E) used in the test. Here is an example of how to use these symbols: