Previous Page | Next Page

Informats

$ASCIIw. Informat



Converts ASCII character data to native format.
Category: Character

Syntax
Syntax Description
Details
Comparisons
Examples

Syntax

$ASCIIw.

Syntax Description

w

specifies the width of the input field.

Default: 1 if the length of the variable is undefined. Otherwise, the default is the length of the variable.
Range: 1-32767

Details

If ASCII is the native format, no conversion occurs.


Comparisons


Examples

input @1 name $ascii3.;

Data Line Results*
----+----1
EBCDIC ASCII
abc
818283
616263
ABC
C1C2C3
414243
();
4D5D5E
28293B
* The results are hexadecimal representations of codes for characters. Each two hexadecimal characters correspond to one byte of binary data, and each byte corresponds to one character value.

Previous Page | Next Page | Top of Page