User's Guide

SETGBLS

Sets the TAE globals ($OFFL,$OFFS,$XNL,$XNS,$MEANZ) with the values in the parameter file (PARFILE). If the specified parameter file does not exist, the values of these globals are not changed.

Function:

Sets the TAE globals ($OFFL,$OFFS,$XNL,$XNS,$MEANZ) with the values in the parameter file (PARFILE). If the specified parameter file does not exist, the values of these globals are not changed.

Parameters:

PARFILE
Parameter file. Name of the file containing the values of the globals. This file is created by program IBIS2GBL.

Example:

  1. LAS> setgbls parfile=gbls

    If the parameter file GBLS;TXT exists on disk, the values are read from this file and used to update the globals.

Description/Algorithm:

The program begins by checking the existence of the specified parameter file. If it exists, the values are retrieved from the file and used to set the globals. If an error is encountered while opening or reading the parameter file, the globals are not changed. Also, if the specified parameter file does not exist, the globals are not changed.

Nonfatal Error Messages:

    None.

Fatal Error Messages:

  1. [setgbls-fatal] Fatal error encountered

    A fatal error was encountered during processing. The values of the globals were not changed. The description of the error encountered should be given in the preceding message displayed.

  2. [setgbls-open] Error opening parameter file

    The specified parameter file could not be opened. The values of the globals are not changed.

  3. [setgbls-read] Error reading parameter file

    An error was encountered while trying to read from the specified parameter file. The values of the globals are not changed.

Usernote:

  1. Related program is IBIS2GBL.