CICS Manual do Usuário - INQUIRE TERMINAL ou NETNAME
Retrieves information about a terminal or a session.
Sintaxe:
INQUIRE TERMINAL >>-INQUIRE TERMINAL(data-value)--+--------------------+-------->< '-NETNAME(data-area)-'
or
INQUIRE NETNAME >>-INQUIRE NETNAME(name)--+---------------------+-------------->< '-TERMINAL(data-area)-'
The remaining options are sequenced alphabetically and apply to both forms of the command (A through D):
INQUIRE TERMINAL or INQUIRE NETNAME .---------------------------. V | >>---+-----------------------+-+------------------------------->< +-ACCESSMETHOD(cvda)----+ +-ACQSTATUS(cvda)-------+ +-ALTPAGEHT(data-area)--+ +-ALTPAGEWD(data-area)--+ +-ALTPRINTER(data-area)-+ +-ALTPRTCOPYST(cvda)----+ +-ALTSCRNHT(data-area)--+ +-ALTSCRNWD(data-area)--+ +-ALTSUFFIX(data-area)--+ +-APLKYBDST(cvda)-------+ +-APLTEXTST(cvda)-------+ +-ASCII(cvda)-----------+ +-ATISTATUS(cvda)-------+ +-AUDALARMST(cvda)------+ +-AUTOCONNECT(cvda)-----+ +-BACKTRANSST(cvda)-----+ +-COLORST(cvda)---------+ +-COPYST(cvda)----------+ +-CREATESESS(cvda)------+ +-DATASTREAM(cvda)------+ +-DEFPAGEHT(data-area)--+ +-DEFPAGEWD(data-area)--+ +-DEFSCRNHT(data-area)--+ +-DEFSCRNWD(data-area)--+ +-DEVICE(cvda)----------+ +-DEVICEST(cvda)--------+ +-DISCREQST(cvda)-------+ '-DUALCASEST(cvda)------'
The remaining options are sequenced alphabetically and apply to both forms of the command (E through O):
.----------------------------. V | >>---+------------------------+-+------------------------------>< +-EXITTRACING(cvda)------+ +-EXTENDEDDSST(cvda)-----+ +-FMHPARMST(cvda)--------+ +-FORMFEEDST(cvda)-------+ +-GCHARS(data-area)------+ +-GCODES(data-area)------+ +-HFORMST(cvda)----------+ +-HILIGHTST(cvda)--------+ +-KATAKANAST(cvda)-------+ +-LIGHTPENST(cvda)-------+ +-MAPNAME(data-area)-----+ +-MAPSETNAME(data-area)--+ +-MODENAME(data-area)----+ +-MSRCONTROLST(cvda)-----+ +-NATLANG(data-area)-----+ +-NATURE(cvda)-----------+ +-NEXTTRANSID(data-area)-+ +-OBFORMATST(cvda)-------+ +-OBOPERIDST(cvda)-------+ +-OPERID(data-area)------+ '-OUTLINEST(cvda)--------'
The remaining options are sequenced alphabetically and apply to both forms f the command (P through S):
.-----------------------------. V | >>---+-------------------------+-+----------------------------->< +-PAGEHT(data-area)-------+ +-PAGESTATUS(cvda)--------+ +-PAGEWD(data-area)-------+ +-PARTITIONSST(cvda)------+ +-PRINTADAPTST(cvda)------+ +-PRINTER(data-area)------+ +-PROGSYMBOLST(cvda)------+ +-PRTCOPYST(cvda)---------+ +-QUERYST(cvda)-----------+ +-RELREQST(cvda)----------+ +-REMOTENAME(data-area)---+ +-REMOTESYSTEM(data-area)-+ +-SCRNHT(data-area)-------+ +-SCRNWD(data-area)-------+ +-SECURITY(cvda)----------+ +-SERVSTATUS(cvda)--------+ +-SESSIONTYPE(cvda)-------+ +-SIGNONSTATUS(cvda)------+ '-SOSIST(cvda)------------'
The remaining options are sequenced alphabetically and apply to both forms of the command (T through Z):
.-----------------------------. V | >>---+-------------------------+-+----------------------------->< +-TASKID(data-area)-------+ +-TCAMCONTROL(data-area)--+ +-TERMMODEL(data-area)----+ +-TERMPRIORITY(data-area)-+ +-TERMSTATUS(cvda)--------+ +-TEXTKYBDST(cvda)--------+ +-TEXTPRINTST(cvda)-------+ +-TRACING(cvda)-----------+ +-TRANSACTION(data-area)--+ +-TTISTATUS(cvda)---------+ +-UCTRANST(cvda)----------+ +-USERAREA(ptr-ref)-------+ +-USERAREALEN(data-area)--+ +-USERID(data-area)-------+ +-USERNAME(data-area)-----+ +-VALIDATIONST(cvda)------+ +-VFORMST(cvda)-----------+ '-ZCPTRACING(cvda)--------'
Conditions: END, ILLOGIC, TERMIDERR
For more information about the use of CICS-value data areas (CVDAs), see Appendix F, CVDAs recognized by the translator.
Descrição:
T he INQUIRE TERMINAL and INQUIRE NETNAME commands both return information about a particular terminal or session that is installed in your CICS system. You can use them to inquire about any type of terminal resource, including the following types:
You can also use the INQUIRE TERMINAL command to inquire about an Advanced Program-to-Program Communication (APPC) session. To get full details about the associated connection, however, you must use an INQUIRE CONNECTION command.
Some of the options in the INQUIRE TERMINAL command return system status information, such as information about whether the terminal is acquired or not, whether it is in use by a task, and so on. Most options, however, reflect the definition of the terminal or session. It is possible that these definitions are modified by subsequent SET TERMINAL commands. A terminal is specified by a workstation (terminal) definition (WD) stanza entry.
The INQUIRE NETNAME command returns the same information as does the INQUIRE TERMINAL command. With the INQUIRE TERMINAL command, you identify the object of your inquiry by providing its CICS terminal identifier in the TERMINAL option. The NETNAME value is optional. If you include it, CICS returns the network identifier in the data area that you provide.
In an INQUIRE NETNAME command, the roles of the TERMINAL and NETNAME values are reversed. You identify the terminal about which you are inquiring by supplying its network identifier in the NETNAME option, and CICS returns the corresponding CICS terminal identifier in the TERMINAL value, if you also include that option.
The TERMINAL value must appear before the NETNAME value (if present) in an INQUIRE TERMINAL command, and vice versa in an INQUIRE NETNAME command.
All of the other options apply to both commands and return the same information. Not all options apply to all types of terminals, however. In particular, when CICS ships a terminal definition from the owning region to a remote region, an inquiry that is issued in the owning region (where the definition is of a real terminal) produces more information than an inquiry that is issued in the remote region, where the definition is a surrogate for the one that is in the owning region.
You can also browse through the definitions of all the terminals that are installed in your system by using the browse options (START, NEXT, and END) on INQUIRE TERMINAL commands. (The browse options are not available on INQUIRE NETNAME commands.)
Opções:
Condições:
Informações relacionadas: