ENCR

Read syntax diagramSkip visual syntax diagram
   .-ENCR--=--0-----.   
>>-+----------------+------------------------------------------><
   '-ENCR--=--crypt-'   

Specifies what type of cryptography the logical unit expects.

Note: ENCR can be specified only for the VTAM data encryption facility.

Any hexadecimal number in the range 0–F (or an equivalent decimal value) can be specified. One or two digit hexadecimal strings can also be used. A 4-bit binary string (for example, ENCR=B'0001') can also be specified.

The ENCR value is converted to a 4-bit string, which is treated as two 2-bit fields. The meanings of the bit settings are as follows:
xx..
Private cryptography field
00..
No private cryptography
01..
Private cryptography used
..xx
VTAM cryptography field
..00
No session-level cryptography
..01
Selective cryptography; the primary logical unit can encipher messages and the secondary logical unit must support cryptography.
..10
Reserved
..11
Mandatory cryptography; all messages on this session will be enciphered and deciphered.

This value is stored in the first four bits of byte 26 in the session parameter field.

Note: The VTAM data encryption facility can use the following cryptography facilities: