Examples of STRING Declarations

The following example declares S1, S2, and S3 as string simple variables of string type ASCII. S1, S2, and S3 contain ASCII characters.

ASCII STRING S1,S2,S3

The following example declares S5, S6, S7, and S8 as string simple variables of string type EBCDIC. These strings contain EBCDIC characters.

EBCDIC STRING S5,S6,S7,S8

The following example declares S9 as a string simple variable. Because no string type is specified, the default character type is used. This character type is EBCDIC unless the compiler control option ASCII is TRUE, in which case the string type is ASCII.

STRING S9