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

  • operating system name and version

  • machine class

  • hardware

  • IBM architecture level supported on the current IBM processor (mainframes only)

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

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

  • device type

  • terminal ID (Mainframes 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 (Mainframes, UNIX and OpenVMS 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.

Application programming interface: USR2026N. See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.