TECH

TECH

This command is used to display the following technical and other information about your Natural session:

  • user ID

  • library ID

  • Natural version (see also Version in the Glossary)

  • startup transaction

  • Natural Security indicator

  • Natural editors: Indicates whether the Natural program, data area and map editors are disabled or enabled

  • operating system name and version

  • machine class

  • hardware

  • IBM architecture level supported on the current IBM processor (z/OS mainframe)

    0 (zero) denotes that architecture levels are not supported.

  • TP monitor (mainframe and Windows (*TPSYS) in remote configuration only)

  • device type

  • terminal ID (mainframe and Windows in remote configuration only)

  • code page

  • locale

  • last command issued

  • information on the last error that occurred

  • names, database IDs and file numbers of all currently active steplibs

  • names, types and levels of the currently active Natural object and all objects on higher levels, as well as the line numbers of the statements invoking the subordinate objects (mainframe and UNIX only).

Notes:

  1. For character-user-interface applications only: To display this information from any point in an application, you can use the terminal command %<TECH.
  2. This command is also available in a remote session. All information can be read in batch mode.