Natural for Mainframes Version 8.2.6 for Mainframes
 —  Parameter Reference  —

SCTAB - Scanner Characters

This Natural profile parameter can be used to overwrite the definitions in the scanner character-type table NTSCTAB, which is contained in the configuration module NATCONFG. SCTAB corresponds to the NTSCTAB macro in the Natural parameter module.

Possible settings See SCTAB Parameter Syntax.
Default setting As specified within the macro NTSCTAB in NATCONFG.
Dynamic specification yes

This parameter can only be specified dynamically. In the Natural parameter module, the macro NTSCTAB is used instead.

Specification within session no  

Notes:

  1. The NTSCTAB scanner character type table defines the properties of characters used in mask definitions for the MASK option and recognized as delimiters in the EXAMINE and SEPARATE statements.
  2. If the CP profile parameter is set to a value other than OFF, values specified with SCTAB are ignored. See also Translation Tables in the Unicode and Code Page Support documentation.

The following topics are covered below:


SCTAB Parameter Syntax

The SCTAB parameter is specified as follows:

SCTAB=(character1,attribute-type1,attribute-type2,...,character2,attribute-type1,attribute-type2,...)

Note:
It is possible to specify more than one character in the list of values. You must enclose the entire string of characters/attribute pairs in parentheses.

Or:

SCTAB=OFF

Where:

Syntax Element / Value Explanation
character You specify a character, and after it its attribute type(s).

You can specify the character either as the one-byte character itself (enclosed in apostrophes) or as the hexadecimal representation of that character.

attribute-type Attribute types can be:
UPPER upper-case alphabetical
LOWER lower-case alphabetical
NUM numeric
HEX hexadecimal
ALFANUM alphanumeric
SPECIAL special
NDELIM non-delimiter
OFF With SCTAB=OFF, all (static and dynamic) definitions are reset to the values specified within the macro NTSCTAB in NATCONFG.

Top of page

NTSCTAB Macro Syntax

The NTSCTAB macro is specified as follows:

         NTSCTAB=character,attribute-type,attribute-type...
         NTSCTAB=character,attribute-type,attribute-type...

Notes:

  1. For an explanation of the syntax elements, see SCTAB Parameter Syntax.
  2. The value OFF cannot be specified with the macro NTSCTAB, but only dynamically with the profile parameter SCTAB.
  3. For each character to be overwritten, you have to specify a separate NTSCTAB macro; see Examples of NTSCTAB Macro..

Top of page

Example of SCTAB Parameter

SCTAB=(5E,LOWER,NDELIM,'ß',SPECIAL,7B,SPECIAL,'Ä',UPPER,NDELIM)

Top of page

Examples of NTSCTAB Macro

         NTSCTAB  5E,LOWER,NDELIM
         NTSCTAB  'ß',SPECIAL
         NTSCTAB  7B,SPECIAL
         NTSCTAB  'Ä',UPPER,NDELIM

Top of page