Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

VTSUCB - Create VTSU parameters for input/output

&pagelevel(3)&pagelevel

General

Application areas:

Input/output of files and records; see "Input/output"
Data terminal communication; see "Data terminal communication"

Macro type:

Type S, MF format 3: C/D/L/M form; see "S-type macros"


  • This description applies to VTSU V13.3A

Macro description

The VTSU control block (VTSUCB) is a program interface that allows the user to create VTSU parameters for input and output with the RDATA, WROUT and WRTRD macros.The following macros can be used to access the input/output interface:



WROUT record,error[,PARMOD=31],VTSUCBA=addrvtsucb

or

or

WRTRD record1,,record2,,[length],error,[,PARMOD=31],VTSUCBA=addrvtsucb

RDATA record,error,[length][,A][,PARMOD=31],VTSUCBA=addrvtsucb


where the VTSUCBA operand specifies an address (addrvtsucb) at which the VTSU parameters start. These specifications replace the edit parameters of these macros. The VTSUCB macro creates such a parameter list.

The RDATA/WROUT/WRTRD interfaces with edit parameters can be used parallel to the VTSUCB interfaces. New functions (as of VTSU V9.0B), however, can only be used via VTSUCB, since the edit parameters are no longer being extended.

Extended character sets are supported by the CCSNAME and CODETR operands. These operands are evaluated only if MODE=LINE/EXTEND/INFO/FORM/PHYS is specified.

Macro format and description of operands

VTSUCB

[{MODE=LINE,BELL= {NO / YES},GETFC= {NO / YES},HCOPY= {NO / YES},NOPOS= {NO / YES }

,LOW= {NO / YES},NOLOG= {NO / YES},RETINF= {*NONE / xx}],HOM= {NO / YES}

[,CCSNAME= {*EXTEND / ccsname}],SPECIN= {N / I / C}

,ENCOUT= {NO / YES},ENCIN= {NO / YES},INFOLR= {NO / YES} /

MODE=EXTEND,BELL= {NO / YES},GETFC= {NO / YES},LOW= {NO / YES}

[,CCSNAME= {*EXTEND / ccsname}]

,LOCIN= {NO / YES },UPDATE= {NO /YES},CURPOS= {NO / YES}

,AUTOTAB= {STD / YES / NO},HCOPY= {NO / YES},READ= {UNPROT / MODIFIED}

,ENCOUT= {NO / YES},ENCIN= {NO / YES},INFOLR= {NO / YES }}]

[{MODE=(MIXED,inmod,outmod) ,LOW= {NO / YES},HOM= {NO / YES},HCOPY= {NO / YES}

,BELL= {NO /YES},GETFC= {NO / YES},UPDATE= {NO / YES },NOPOS= {NO /YES}

,READ= {UNPROT / MODIFIED},NOLOG= {NO / YES},IHDR= {YES / NO}

,LOCIN= {NO / YES},CODETR= {YES / NO},CURPOS= {NO / YES}

,OHDR= {NO / YES}[,CCSNAME= {*EXTEND / ccsname}] ,RETINF= {*NONE / xx }

,AUTOTAB= {STD / YES / NO},SPECIN= {N / I / C}

,ENCOUT= {NO / YES},ENCIN= {NO / YES},INFOLR= {NO / YES} /

MODE=INFO ,BELL= {NO / YES},GETFC= {NO /YES},LOW= {NO / YES}

[,CCSNAME= {*EXTEND / ccsname}]

,NOLOG= {NO / YES},ENCOUT= {NO / YES},ENCIN= {NO / YES} /

MODE=PHYS ,IHDR= {YES / NO},LOW= {NO / YES},OHDR= {NO /YES}

[,CCSNAME= {*EXTEND / ccsname}]

,CODETR= {YES / NO},ENCOUT= {NO / YES},ENCIN= {NO /YES},INFOLR= {NO / YES} }]

[{MODE=FORM ,LOW= {NO / YES}[,CCSNAME= {*EXTEND / ccsname}]

,ENCOUT= {NO / YES},ENCIN= {NO / YES},INFOLR= {NO / YES} /

MODE=TRANS ,ENCOUT= {NO / YES},ENCIN= {NO / YES},INFOLR= {NO / YES} /

MODE=CHIP ,ENCOUT= NO / YES},ENCIN= {NO / YES} }]

,MF=L / C / D / M

[,PARAM=addr / (r)]

,PREFIX=Y / p

,MACID=VTC / macid

MODE=

LINE

The current terminal is to be treated as a line or page terminal. The message can be structured with logical control characters (see the VTCSET macro).
Any other control characters are invalid for output and are converted into a user-defined substitute character (see the MODIFY-TERMINAL-OPTIONS SUBSTITUTE-CHARACTER=command).
If SYSOUT is not a terminal, only the logical control characters NL and NP are evaluated, e.g. for output to printers in batch mode.
The device-specific message header is not supplied during input.

EXTEND
(For 9749, 975x, 9763, 816x and 3270 Data Display Terminals only, EXTEND is processed internally as line mode in the case of printers)

The current terminal should be treated as a logical line or page terminal. Text output is protected and at reduced brightness unless specified otherwise. The message can be structured by logical control characters (see VTCSET macro). Keys RU, EFZ, AFZ and LSP are locked.

In the case of TIAM applications, areas which the user can use for input start with EPA, DAR or NUM and end with SPA. With 3270 terminals, note that logical control characters occupy space on the screen. However, a series of logical control characters requires only one space.
In TIAM applications NIL is treated as a permissible character on input and output, and is sent to the terminal by the program and vice versa. In the case of 3270 data display terminals, note that NIL characters are not transferred to the DVA. VTSU-B fills fields which are returned truncated on input with NIL characters back to their original length. This ensures that the fields are always returned to the user in their original (output) length.
In TIAM applications the start of an output message is mapped at the start of the next line following the cursor. If the message does not begin with VPA, the screen is cleared, starting at the cursor and before the first text character.
If the end of the screen is reached during output, output is continued at the top of the screen. This continuation is always protected until the start of the next field. Screen overflow control is ineffective here.

If the NL control character is recognized in an input message, processing continues and the return code X'2C' is supplied at the WRTRD interface or the return code (main code) X'0018' at the VTSUCB interface.

INFO
Messages can be mapped to a special information line (system line) without destroying important data on the terminal.

The entry is intended particularly for user programs sending messages to terminals “asynchronously” without knowing the current terminal display.

Mapping is performed

  • protected, in a hardware display line (e.g. 9749, 9750, 9752 Data Display Terminals), or

  • protected, in the last line on the screen (e.g. 816x, 9751, 9753, 3270 Data Display Terminals) if specified in the user program (see the TCHNG macro, INFOLIN operand), after previous output with MODE=FORM or MODE=PHYS.

  • in all other cases, as a normal line mode message.

If the message length exceeds one screen line, the message is split up and output line by line.
The system observes the waiting time specified in the MODIFY-TERMINAL-OPTIONS OVERFLOW-CONTROL=TIME( ) command.

The system line is reset automatically the first time an input is made following an output to the system line.

Input with MODE=INFO is treated as a line mode input.

Note

If, before the system line output, WRTRD is used in line mode, an input field is set up automatically.

(MIXED,inmode,outmode)
The application program uses a combination of different modes for input and output. Only MODE=LINE, EXTEND, FORM and PHYS may be combined. MODE=CHIP, INFO or TRANS may not be combined.
The default value of the LOW parameter, for input and output, depends on the defined input mode. If MODE=PHYS, then LOW=YES; if MODE=LINE, EXTEND or FORM, then LOW=NO. All other parameter values are defined in accordance with the required input/output modes.

PHYS
The messages are to be output to or read from the terminal physically, i.e. without editing by the system. This permits special device functions to be executed for which the LINE or FORM mode is insufficient.

FORM
Specifies format mode. The user program works with the “Terminal Mapping Support” software component (FHS), which edits the message in a form suitable for output to a particular terminal.

TRANS
Output data is to be transmitted in “transparent” form, i.e. consisting of arbitrary binary characters (5, 7 or 8 bits per character, depending on the device code) which are not converted during transmission. If the transmission path was not generated “potentially transparent”, output is rejected with return code X'04' at the WROUT/WRTRD interface.

CHIP
The output message is forwarded to the chipcard terminal using the device protocol (810 protocol). The message must be created in expanded mode (see the “Data Display Terminals” manuals). If the chipcard terminal is not addressable, output is rejected with return code X'81' or X'82' (subcode 2) at the VTSUCB interface.

During input, a check is made as to whether the message is being sent from a chipcard terminal, and the device protocol is removed. The function key code is placed in front of the input message as the first byte. Input messages that are not sent from the chipcard terminal are converted to short code K14.

Note

The MODE=CHIP operand is not permitted in the RDATA macro.

AUTOTAB=
The automatic tab jump from one unprotected field to the next is set. In mixed mode this parameter is accepted only if input and output mode have the value EXTEND. Otherwise it is ignored.

STD

Processing depends on the EXPROPOS operational parameter.

YES
As soon as you enter a character at the end of an unprotected field, the cursor automatically jumps forward from this unprotected field to the next unprotected field (including when EXPROPOS=Y).

Notes

  • With 3270 terminals it is always possible to move the cursor with the arrow keys in protected fields. If however AUTOTAB=YES, the cursor automatically jumps from one input field to the next as soon as a character is entered at the end of an input field.

  • The EXPROPOS operational parameter is ignored by the 3270 terminal.

NO
The cursor does not jump automatically (including when EXPROPOS=N).

BELL=
Determines whether an audible signal is provided on output.

NO
No audible signal is provided for output.

YES
An audible signal is heard on output at the end of the message (applies only to 9749, 975x, 9763, 816x and 3270 Data Display Terminals with special hardware feature).

CCSNAME=
Defines the name of the character set to be used for this message. The code name of the EBCDIC variant must be specified. The name of the corresponding ISO code variant is rejected automatically. The name may be up to 8 bytes long. If the character set used is changed prior to the new output, the screen is cleared automatically.

ccsname
Name of any EBCDIC code. If no name is specified, standard mode is assumed automatically. This is either a 7-bit mode or an 8-bit mode activated by means of the MODIFY-TERMINAL-OPTIONS command.

*EXTEND
The extended user default code is used automatically.

CODETR=
Specifies whether the message is to be translated from the specified code or into the specified code on physical output. This parameter should be specified only for output to printers that work with ESCAPE sequences not coded according to the EBCDIC core. VTSU ignores these special ESCAPE sequences.

YES

VTSU translates the message from or into the specified code. VTSU recognizes and skips the standard ESCAPE sequences.

NO
The control characters SO/SI are evaluated. VTSU does not perform any other code conversion.

CURPOS=
For Extended Line Mode and Mixed Mode, determines whether the cursor position should be returned after input. In Mixed Mode this parameter is accepted only if input and output mode have the value EXTEND. Otherwise it is ignored.

NO
No details of the cursor position are supplied. The fields YVTCPOSL and YVTCPOSC are undefined.

YES
The fields YVTCPOSL and YVTCPOSC are returned with the current cursor position (lines and columns) after input.

ENCIN=
Specifies whether or not the next input has to be encrypted (valid only when the connection is established from an emulation supporting encryption).

YES
The next input must be encrypted.

NO
The next input must not be encrypted (nevertheless, encryption of the message cannot be prevented the message if encryption has been requested by another means).

ENCOUT=
Specifies if the current output must be encrypted or not (valid only when the connection is established from an emulation supporting encryption).

YES
The output must be encrypted.

NO
The output must not be encrypted (nevertheless, encryption of the message cannot be prevented if encryption has been requested by another means).

GETFC=
Specifies whether a function key code is transferred.

NO
No function key code is to be transferred.

YES

The logical function key code representing the key that initiates data transfer at the terminal is transferred as the first character of the message.

HCOPY=
Specifies that the message output to a data display terminal is also to be output on a hardcopy device (printer) connected to the terminal.

NO
The message is output to the data display terminal only.

YES
The message output to a data display terminal is also output on a hardcopy device (printer) connected to the terminal.

Notes

  • Hardcopy output is performed only if a hardcopy device was assigned to the data display terminal on connection set up or via the MODIFY-TERMINAL-OPTIONS command. For 3270 Data Display Terminals, the hardcopy device must be assigned on connection setup (generated).

  • If HCOPY=YES is used with no EXTEND mode, and the message contains the logical control character SPA, EPA, NUM or DAR (if DARPRINTABLE=N), only the last unprotected part of the message is printed, not the entire message.

  • If OVERFLOW-CONTROL=NO (MODIFY-TERMINAL-OPTIONS command) is also used, it may be the case that only part of the output is printed on the hardcopy device.

HOM=
(For 816x, 9749, 975x ,9763 and 3270 Data Display Terminals only)

NO
Message output is to be structured and heterogeneous, i.e. each logical line is regarded as a separate output unit.

With 816x, 975x, 9763 and 3270 terminals in operating mode 1 (only for TIAM applications), the effect is that individual logical lines can be modified separately, and so can be specifically transferred back.

YES
Message output is to be unstructured and homogeneous, i.e. the entire message is regarded as a single output unit. The message length is restricted by the size of the output buffer in the system.

With 816x, 975x, 9763 and 3270 terminals in operating mode 1 (only for TIAM applications), the effect is that by modifying a character in an output message, the entire message can be transferred back, so long as it is not explicitly structured by logical display control characters.

IHDR=

Specifies how the message header is to be handled.

YES
The entire message header is passed to the user program (default value for MODE=PHYS).
For 3270 Data Display Terminals, the message header consists of the send key code (AID byte) and the two-byte cursor position.

NO
The message header is not passed to the user program.

INFOLR=
Specifies whether the info line has to be reset.

YES
The info line must be reset.

NO
The info line does not have to be reset.

LOCIN=
Determines how local attributes in the input message are handled.
This operand applies only to data display terminals that support local attributes (e.g. the 9763 Data Display Terminal).

NO
Local attributes are removed from the input message; they are not passed on to the user.

YES
If the input message contains local attributes, they are passed to the user as logical control characters (see the VTCSET macro).

LOW=
Determines whether a distinction is to be made between lowercase and uppercase letters.The default setting for the LOW parameter depends on the MODE operand:

MODE=MIXED               the default setting depends on 
                         the defined input mode
MODE=PHYS                LOW=YES is the default setting
MODE=LINE/EXTEND/FORM    LOW=NO is the default setting

NO
All lowercase letters are transferred as uppercase letters to the user program.

YES
Lowercase letters are also transferred to the user program (default value for MODE=PHYS).

MF=

For a general description of the MF operand, its operand values and any subsequent operands (e.g. PREFIX, MACID and PARAM), see section “S-type macros”. The valid MF values are given at the start of the macro description under “Macro type” and are included in the macro format.
A PREFIX can be specified in the C form, D form or M form of the macro and additionally a MACID in the C form or M form (see section “S-type macros”).

NOLOG=
Determines whether logical control characters are to be evaluated.

NO
All logical control characters are evaluated and special physical control characters are accepted (see the VTCSET macro, e.g. ESC,DC4).
Other characters < X'40' are replaced by SUB. Printable characters are accepted.

YES
Logical control characters are not evaluated. All characters less than X'40' in EBCDIC code are replaced by SUB (smudge character). Only printable characters are accepted.

NOPOS=
(Only for printers). For Line Mode and Mixed Mode, determines the output location of messages.
In Mixed Mode, this parameter is accepted only if the output mode is MODE=LINE. Otherwise it is ignored.

NO
The output message begins at the start of the next line.

YES
The output message begins at the start of the current line.

OHDR=
Specifies how the user-specific message header is to be handled.

NO
The message header is not prefixed to the output text.

YES
The message contains a user-specific header which the system prefixes to the output text. The length of the message header +1 must be specified in binary form in byte 1 of the message.

Note

When output is to the 8160, 975x and 9763 Data Display terminals and printers locally attached to them, the system (MODE=LINE) or FHS works with parameter specifications (PAG) and does not use a message header (PARAM0, PARAM1). The differences between these two modes are described in the the manuals for data display terminals or printers.

READ=

For Extended Line Mode and Mixed Mode, determines the physical read mode.
In Mixed Mode this parameter is accepted only if input and output mode have the value EXTEND. Otherwise it is ignored.

Note that with DCAM applications in Extended Line Mode, when a YSEND call is followed by a YRECEIVE call, both calls must have the same physical read mode (UNPROT or MODIFIED).

UNPROT
All unprotected fields, including those not, modified, are returned to you. To determine the modified value the data received must be compared with the output data.

MODIFIED
Only the modified fields are returned to you. Each modified field is prefixed in the user buffer with its position on the screen (see logical control characters VPA and HPA).

RETINF=
Determines whether return information is required from printer terminals.

*NONE
No return information is supplied.

xx
xx = any two printable characters to be supplied with the return information. Single quotes to be returned must be specified twice (e.g. RETINF=''''). The return information is 4 bytes long and has the following structure:


Byte 0       Identification (X'41' positive/ X'42' negative)
Bytes 1-2    RETINF byte
Byte 3       Information on printer status (printer-specific)


SPECIN=
Requests special input. If special input is to be requested, the SPECIN parameter must be specified beforehand in the requesting output message.

N
Normal input from the terminal.

I
Data is read from the ID card reader. The input data may consist of identity card information or short message K14. This entry is permitted only for the 9749, 975x, 9763, 816x and 3270 Data Display Terminals with a defined ID card reader.
In contrast to TRANSDATA devices, data may be entered on 3270 Data Display Terminals by a defined ID card reader at any time. If entries are requested by the ID card reader, every other entry is converted into K14.

C

The input data is confidential and is to remain invisible on the terminal. This is achieved by blanking or clearing the screen (when the screen format is reset to 24x80) or by overwriting the input line at the printer terminal.

UPDATE=
For Extended Line Mode and Mixed Mode you can determine at the time of format outputs whether the whole screen is created again, or if only the modified lines should be updated. A modified line is one in which either an existing field is updated or a new field is generated. In Mixed Mode, this parameter is accepted only if input and output mode have the value EXTEND. Otherwise it is ignored.

NO
In the case of the first logical new page, the whole screen is created again.

YES
Only the modified lines are updated.
If you create a new field, ensure that the end of this new field has the output attribute 'not visible' and the field attribute 'protected'. If a new field is created, binary nulls are output until the start of the next field. The output attribute 'not visible' suppresses output of binary nulls and blanks are output. The field attribute 'protected' stops the subsequent field being overwritten by the new field. Note that when updating the screen the entire character set (CCSNAME) must be used, as when generating the original screen. Otherwise the original screen is deleted and only the updated lines are output.Also note that field attributes are not implicitly reset when updating.
For example, a field to which the attribute 'premodified' was assigned still has the same attribute even after updating. Attributes must thus be explicitly reset.

Return information and error flags

Standard header:

+---------------+
|   |   |   |   |
|c|c|b|b|a|a|a|a|
+---------------+

A return code relating to the execution of the VTSUCB macro is transferred in the standard header (cc=Subcode2, bb=Subcode1, aaaa=Maincode):

X'cc'

X'bb'

X'aaaa'

Meaning

X'00'

X'00'

X'0000'

Successful processing.

X'58'

X'00'

X'0008'

Successful processing, but RETINF byte is incorrect. Parameter
ignored.

X'02'

X'00'

X'0008'

Successful processing, but invalid mode for current terminal. Substitute
display.

X'00'

X'01'

X'FFFF'

Function not executed. UNIT or FUNCT incorrect.

X'xx' 1)

X'01'

X'0004'

Function not executed.
Parameter error in VTSUCB.

X'40'

X'01'

X'0004'

Function not executed.
User-specific message header has invalid length.

X'50'

X'01'

X'0004'

Function not executed.
User buffer for input has invalid length.

X'60'

X'01'

X'0004'

Function not executed.
Requested XHCS function not available. XHCS is not loaded.

X'61'

X'01'

X'0004'

Function not executed.
The XHCS function is requested for 7-bit terminals.

X'62'

X'01'

X'0004'

Function not executed.
The XHCS function is not supported.

X'80'

X'01'

X'0004'

Function not executed.
MODE parameter invalid for command type.

X'86'

X'01'

X'0004'

Function not executed.
CCSNAME incompatible with devices.

X'1E'

X'01'

X'0004'

Function not executed. Invalid CCS name.

X'00'

X'03'

X'FFFF'

Function not executed.
Incorrect VTSUCB version.

X'xx'

X'20'

X'0004'

Function not executed.
Internal error (for diagnostics).

X'00'

X'40'

X'000C'

Output message truncated.

X'00'

X'40'

X'0010'

Input message truncated.

X'00'

X'40'

X'0018'

Extended line mode: input message abbreviated.

X'02'

X'40'

X'0004'

Function not executed.
Invalid mode for current terminal. No substitute display.

X'10'

X'40'

X'0020'

Function not executed. Restricted information.

X'81'

X'40'

X'0004'

Function not executed.
No chipcard terminal available for terminal.

X'82'

X'40'

X'0004'

Function not executed.
Chipcard terminal available but not accessible.

X'83'

X'40'

X'0004'

Function not executed.
Message for chipcard terminal rejected by data display terminal.

Other return codes which, in accordance with conventions, apply to all macros, are given in the table “Standard return codes” (Standard header).

1)The first incorrect parameter in the VTSUCB is displayed in Subcode 2.

08: incorrect length specification in VTSUCB
10: incorrect MODE operand
11: incorrect HCOPY operand
12: incorrect BELL operand
13: incorrect NOLOG operand
14: incorrect READ operand
15: incorrect HOM operand
16: incorrect RETINF operand
17: incorrect LOCIN operand
18: incorrect OHDR operand
19: incorrect CODETR operand
1A: incorrect IHDR operand
1B: incorrect LOW operand
1C: incorrect SPECIN operand
1D: incorrect GETFC operand
1E: incorrect CCSNAME operand
1F: incorrect CURPOS operand
20: incorrect UPDATE operand
22: incorrect AUTOTAB operand
23: incorrect NOPOS operand
24: incorrect ENCOUT operand
25: incorrect ENCIN operand
26: incorrect INFOLR operand

The leftmost byte of the main code is not currently assigned and is set to the value X'00'. If the standard header contains errors affecting the product identification (e.g. the wrong version), the value is set to X'FF'.

Error messages that are returned to the input/output interface of the access methods when the VTSUCB is not used are supplied in the same form as when the VTSUCB is used. Relevant error information is also returned in the VTSUCB. Error information relating only to the VTSUCB is indicated at the input/output interfaces via a separate return code (X'24') and described in more detail in the VTSUCB return code.

Layout of the DSECT

           VTSUCB MF=D,PREFIX=A
1 AVTSUCB    DSECT
1          FHDR  MF=(C,AVTC),EQUATES=NO
2          DS    0A
2 AVTCFHE  DS    0XL8            0   GENERAL PARAMETER AREA HEADER
2 *
2 AVTCIFID DS    0A              0   INTERFACE IDENTIFIER
2 AVTCFCTU DS    AL2             0   FUNCTION UNIT NUMBER
2 *                                  BIT 15    HEADER FLAG BIT,
2 *                                  MUST BE RESET UNTIL FURTHER NOTICE
2 *                                  BIT 14-12 UNUSED, MUST BE RESET
2 *                                  BIT 11-0  REAL FUNCTION UNIT NUMBER
2 AVTCFCT  DS    AL1             2   FUNCTION NUMBER
2 AVTCFCTV DS    AL1             3   FUNCTION INTERFACE VERSION NUMBER
2 *
2 AVTCRET  DS    0A              4   GENERAL RETURN CODE
2 AVTCSRET DS    0AL2            4   SUB RETURN CODE
2 AVTCSR2  DS    AL1             4   SUB RETURN CODE 2
2 AVTCSR1  DS    AL1             5   SUB RETURN CODE 1
2 AVTCMRET DS    0AL2            6   MAIN RETURN CODE
2 AVTCMR2  DS    AL1             6   MAIN RETURN CODE 2
2 AVTCMR1  DS    AL1             7   MAIN RETURN CODE 1
2 AVTCFHL  EQU   8               8   GENERAL OPERAND LIST HEADER LENGTH
2 *
1 *
1 *  SUBCODE 1 VALUES
1 *
1 AVTCECPM     EQU   X'01'         ERROR CLASS PARAMETER ERROR
1 AVTCECIN     EQU   X'20'         ERROR CLASS INTERNAL ERROR
1 AVTCECSP     EQU   X'40'         ERROR CLASS SPECIAL ERROR
1 *
1 *  SUBCODE 2 VALUES
1 *
1 AVTCERLN     EQU   X'08'         ERROR IN LENGTH OF VTSUCB
1 AVTCERMO     EQU   X'10'         ERROR IN MODE PARAMETER
1 AVTCERHC     EQU   X'11'         ERROR IN HARDCOPY PARAMETER
1 AVTCERBE     EQU   X'12'         ERROR IN BELL PARAMETER
1 AVTCERNO     EQU   X'13'         ERROR IN NOLOG PARAMETER
1 AVTCERRD     EQU   X'14'         ERROR IN READ PARAMETER
1 AVTCERHO     EQU   X'15'         ERROR IN HOM PARAMETER
1 AVTCERRE     EQU   X'16'         ERROR IN RETINF PARAMETER
1 AVTCERLO     EQU   X'17'         ERROR IN LOCIN PARAMETER
1 AVTCEROH     EQU   X'18'         ERROR IN OUTPUT HEADER PARAMETER
1 AVTCERCO     EQU   X'19'         ERROR IN CODETR PARAMETER
1 AVTCERIH     EQU   X'1A'         ERROR IN INPUT HEADER PARAMETER
1 AVTCERLW     EQU   X'1B'         ERROR IN LOWER INPUT PARAMETER
1 AVTCERSP     EQU   X'1C'         ERROR IN SPECIAL INPUT PARAMETER
1 AVTCERGE     EQU   X'1D'         ERROR IN GET FUNCTION CODE PARAMETER
1 AVTCERCC     EQU   X'1E'         INVALID CCSNAME
1 AVTCERCP     EQU   X'1F'         ERROR IN CURPOS PARAMETER
1 AVTCERUP     EQU   X'20'         ERROR IN UPDATE PARAMETER
1 AVTCERWA     EQU   X'21'         ERROR IN WARINFO PARAMETER
1 AVTCERAT     EQU   X'22'         ERROR IN AUTOTAB PARAMETER
1 AVTCERNP     EQU   X'23'         ERROR IN NOPOS PARAMETER
1 AVTCEREO     EQU   X'24'         ERROR IN ENCOUT PARAMETER
1 AVTCEREI     EQU   X'25'         ERROR IN ENCIN PARAMETER
1 AVTCERIR     EQU   X'26'         ERROR IN INFOLR PARAMETER
1 *
1 AVTCERXH     EQU   X'60'         XHCS FCT REQUESTED BUT XHCS NOT LOADED
1 AVTCER7B     EQU   X'61'         XHCS FCT REQUESTED FOR 7-BIT TERMINAL
1 AVTCERBS     EQU   X'62'         XHCS FCT SUPPORT ONLY FROM BS2000 V10
1 *
1 AVTCERIN     EQU   X'7A'         NO PLACE ENOUGH TO INSERT SI/SO CHARS
1 AVTCER1L     EQU   X'7B'         NO PLACE ENOUGH TO INSERT PAR01L CHARS
1 *
1 AVTCERM1     EQU   X'80'         MODE NOT VALID FOR COMMAND TYPE
1 AVTCERM2     EQU   X'81'         MODE=CHIP USED BUT NO CKT ANNOUNCED
1 AVTCERC1     EQU   X'82'         CKT NOT AVAILABLE FROM TERMINAL
1 AVTCERC2     EQU   X'83'         OTHER ERROR CODE FROM DSS BY CKT-MSG
1 AVTCERX2     EQU   X'86'         VTSUCB CCSN INCOMPATIBLE WITH DEVICE
1 AVTCERE1     EQU   X'87'         ENCRYPTION FOR OUTPUT NOT SUPPORTED
1 AVTCERE2     EQU   X'88'         ENCRYPTION FOR INPUT  NOT SUPPORTED
1 AVTCERE3     EQU   X'89'         INFO LINE RESET INVALID WITH MODE
1 *
1 AVTCERO1     EQU   X'40'         HEADER LENGTH OF OUTPUT MSG NOT VALID
1 AVTCERI1     EQU   X'50'         USER BUFFER LEN FOR INPUT NOT VALID
1 *
1 *  MAINCODE VALUES FOR SUBCODE 1 = X'40'
1 *
1 AVTCMRPM     EQU   X'04'         WRONG PARAMETER FOR DEVICE
1 AVTCMROT     EQU   X'0C'         OUTPUT TRUNCATION
1 AVTCMRIT     EQU   X'10'         INPUT TRUNCATION
1 AVTCMRNL     EQU   X'18'         NL IN EXT LINE INPUT MESSAGE
1 *
1 *  MAINCODE VALUES FOR SUBCODE 1 = X'00'
1 *
1 AVTCMRCO     EQU   X'08'         CORRECTED ERROR
1 *
1 *
1 AVTCLEN      DS    H             LENGTH OF VTSUCB
1 *
1 AVTCINM      DS    C             INPUT MODE FOR MODE=MIXED
1 AVTCOUTM     DS    C             OUTPUT MODE FOR MODE=MIXED
1 *
1          DS    XL4           RETURN INFO (NOT YET USED)
1 *
1 AVTCMODE     DS    C             MODE OF MESSAGE
1 AVTCLINE     EQU   C'L'          LINE MODE
1 AVTCEXT      EQU   C'E'          EXTENDED LINE
1 AVTCINFO     EQU   C'I'          INFO LINE MESSAGE
1 AVTCPHYS     EQU   C'P'          PYHSICAL MODE
1 AVTCTRAN     EQU   C'T'          TRANSPARENT MODE
1 AVTCFORM     EQU   C'F'          FORM MODE
1 AVTCCHIP     EQU   C'C'          CHIPCARD MODE (FOR CKT)
1 AVTCMIXD     EQU   C'M'          MIXED MODE
1 *
1 AVTCHC       DS    C             HARCOPY FUNCTION
1 AVTCHCN      EQU   C'N'          NO HARDCOPY
1 AVTCHCY      EQU   C'Y'          LOCAL/CENTRAL HARDCOPY
1 *
1 AVTCBEL      DS    C             BELL FUNCTION
1 AVTCBELN     EQU   C'N'          NO BELL
1 AVTCBELY     EQU   C'Y'          BELL AFTER OUTPUT
1 *
1 AVTCNLG      DS    C             NO LOG CHARS TO INTERPRET FUNCTION
1 AVTCNLGN     EQU   C'N'          LOGICAL CHARACTERS TO INTERPRET
1 AVTCNLGY     EQU   C'Y'          NO LOGICAL CHARACTERS TO INTERPRET
1 *
1 AVTCRBYT     DS    CL2           RETURN INFO BYTES
1 *
1 AVTCRIN      DS    C             RETURN INFORMATION FUNCTION
1 AVTCRINN     EQU   C'N'          NO RETURN INFORMATION
1 AVTCRINY     EQU   C'Y'          RETURN INFORMATION REQUIRED
1 *
1 AVTCLOC      DS    C             INPUT OF LOCAL CHARACTERS
1 AVTCLOCN     EQU   C'N'          NO LOCAL CHARACTERS REQUIRED
1 AVTCLOCY     EQU   C'Y'          LOCAL CHARACTERS REQUIRED
1 *
1 AVTCOHD      DS    C             OUTPUT HEADER FUNCTION
1 AVTCOHDN     EQU   C'N'          NO OUTPUT HEADER IN USER MSG
1 AVTCOHDY     EQU   C'Y'          OUTPUT HEADER IN USER MESSAGE
1 *
1 AVTCCTR      DS    C             CODE TRANSLATION FUNCTION
1 AVTCCTRN     EQU   C'N'          NO CODE TRANSLATION DONE BY VTSU
1 AVTCCTRY     EQU   C'Y'          CODE TRANSLATION TO/FROM CCS REQ.
1 *
1 AVTCIHD      DS    C             INPUT HEADER FUNCTION
1 AVTCIHDN     EQU   C'N'          NO INPUT HEADER REQUIRED
1 AVTCIHDY     EQU   C'Y'          INPUT HEADER REQUIRED
1 *
1 AVTCLOW      DS    C             LOWER CHARACTERS FUNCTION
1 AVTCLOWN     EQU   C'N'          TRANSLATE LOWER CHARACTERS
1 AVTCLOWY     EQU   C'Y'          RETAIN LOWER CHARACTERS
1 *
1 AVTCSPIN     DS    C             SPECIAL INPUT FUNCTION
1 AVTCNSPI     EQU   C'N'          NO SPECIAL INPUT
1 AVTCIDIN     EQU   C'I'          INPUT FROM ID-CARD READER
1 AVTCCOIN     EQU   C'C'          CONFIDENTIAL INPUT
1 *
1 AVTCFC       DS    C             FUNCTION CODE
1 AVTCFCN      EQU   C'N'          NO FUNCTION CODE REQUIRED
1 AVTCFCY      EQU   C'Y'          FUNCTION CODE REQUIRED
1 *
1 AVTCHOM      DS    C             HOMOGENEOUS OUTPUT
1 AVTCHOMN     EQU   C'N'          NO HOMOGENEOUS OUTPUT REQUIRED
1 AVTCHOMY     EQU   C'Y'          HOMOGENEOUS OUTPUT REQUIRED
1 *
1 AVTCNOP      DS    C             OUTPUT ON SAME LINE
1 AVTCNOPN     EQU   C'N'          OUTPUT STARTS ON NEXT LINE
1 AVTCNOPY     EQU   C'Y'          OUTPUT STARTS ON CURRENT LINE
1 *
1 AVTCCCNA     DS    CL8           CODED CHARACTER SET NAME
1 *
1 AVTCCUR      DS    C             CURSOR POSITION REQUESTED
1 AVTCCURN     EQU   C'N'          CURSOR POSITION NOT RETURNED
1 AVTCCURY     EQU   C'Y'          CURSOR POSITION GIVEN AFTER INPUT
1 *
1 AVTCPOSL     DS    XL1           CURSOR POSITION (LINE)
1 AVTCPOSC     DS    XL1           CURSOR POSITION (COLUMN)
1 *
1 AVTCREAD     DS    C             READ MODE (EXTENDED LINE MODE)
1 AVTCRDUN     EQU   C'U'          READ UNPROTECTED
1 AVTCRDMO     EQU   C'M'          READ MODIFIED
1 *
1 AVTCUPD      DS    C             SCREEN UPDATE IN EXTENDED LINE MODE
1 AVTCUPDN     EQU   C'N'          NO SCREEN UPDATE -> REFRESH
1 AVTCUPDY     EQU   C'Y'          SCREEN UPDATE
1 *
1 AVTCWAR      DS    C             WAR BYTE REQUESTED
1 AVTCWARN     EQU   C'N'          NO INFO ABOUT WAR BYTE
1 AVTCWARY     EQU   C'Y'          VALUE OF WAR BYTE TO RETURN
1 *
1 AVTCWARI     DS    XL1           RETURNED WAR BYTE VALUE
1 *
1 AVTCAT       DS    C             AUTOMATIC TABULATION
1 AVTCATS      EQU   C'S'          STANDARD AUTOMATIC TABULATION
1 AVTCATN      EQU   C'N'          AUTOMATIC TABULATION NOT REQUESTED
1 AVTCATY      EQU   C'Y'          AUTOMATIC TABULATION REQUESTED
1 *
1 AVTCEO       DS    C             ENCRYPTION FOR OUTPUT
1 AVTCEON      EQU   C'N'          ENCRYPTION FOR OUTPUT NOT REQUESTED
1 AVTCEOY      EQU   C'Y'          ENCRYPTION FOR OUTPUT REQUESTED
1 *
1 AVTCEI       DS    C             ENCRYPTION FOR INPUT
1 AVTCEIN      EQU   C'N'          ENCRYPTION FOR INPUT NOT REQUESTED
1 AVTCEIY      EQU   C'Y'          ENCRYPTION FOR INPUT REQUESTED
1 *
1 AVTCIR       DS    C             INFO LINE RESET
1 AVTCIRN      EQU   C'N'          INFO LINE RESET NOT REQUESTED
1 AVTCIRY      EQU   C'Y'          INFO LINE REQUESTED
1 *
1              DS    XL1           RESERVED
1 *
1 AVTC#        EQU   *-AVTCFHE         LENGTH OF DSECT
1                *,VTSUCB     350    980309