TECH

#### Search Results

Search

# 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 (see `*EDITOR` system variable )

- operating system name and version

- machine class

- hardware

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

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

- TP monitor (z/OS and Windows (`*TPSYS`) in remote configuration only)

- device type

- terminal ID (z/OS 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 (z/OS and Linux 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.