Chapter Contents

Previous

Next
S370FFw.d

S370FFw.d



Writes native standard numeric data in IBM mainframe format

Category: Numeric


Syntax
Syntax Description
Details
Comparisons
Examples
See Also

Syntax

S370FFw.d

Syntax Description

w
specifies the width of the output field.
Default: 12
Range: 1-32

d
optionally specifies the power of 10 by which to divide the value.
Range: 0-31


Details

The S370FFw.d format writes numeric data in IBM mainframe format (EBCDIC). The EBCDIC numeric values are represented with one byte per digit. If EBCDIC is the native format, S370FFw.d performs no conversion.

If a value is negative, an EBCDIC minus sign precedes the value. A missing value is represented as a single EBCDIC period.


Comparisons
On an EBCDIC system, S370FFw.d behaves like the w.d format.
On all other systems, S370FFw.d performs the same role for numeric data that the $EBCDICw. format does for character data.


Examples

x=put(x,s370ff3.) 
put y $hex10.;

Values Results*
----+----1

12345
F1F2F3F4F5
*The result is the hexadecimal representation for the integer.


See Also

Formats:

$EBCDICw.
w.d


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.