Information icon IBM Information Server, Version 8.1
Feedback

binary

Specifies the data representation format of a field in imported or exported data as binary.

Applies to

Fields of all data types except string, ustring, and raw; record, subrec or tagged containing at least one field that is neither string nor raw.

Syntax

record { binary }
 field_definition  { binary };

This option specifies binary data; data is formatted as text by default (see "text" ).

Meanings

The binary property has different meanings when applied to different data types:

Restrictions

If you specify binary as a property of a numeric field, the data type of an imported or exported field must be the same as the corresponding field defined in a record schema. No type conversions are performed among the different numeric data types (as would be the case if text was specified instead).

This property is mutually exclusive with text, c_format, in_format, and out_format.

Examples

For example, the following defines a schema using binary representation for the imported or exported numeric fields with no delimiter between fields:

record { binary, delim = none } (
           a:int32; 
           b:int16; 
           c:int8; ) 
					"record {text} ( "

The following statement overrides the record-level setting of field b as text:

record {text} (
          a:int32; 
          b:int16 {binary}; 
          c:int8; )

PDF This topic is also in the IBM WebSphere DataStage and QualityStage Parallel Job Advanced Developer Guide.

Update icon Last updated: 2008-09-30