Assembler File Definitions

Assembler File Definitions use Assembler syntax to describe records in a table definition. An Assembler file can contain multiple record definitions. Record description entries begin with a DSECT keyword and can contain elementary items.

You can import both Assembler source files and listing files into the InfoSphere® DataStage® repository. Assembler source files have the following default values:

Default values for Assembler listing files are:

Comments must be designated with an asterisk in the begin column and must lie within the statement field. They cannot appear between an instruction statement and its continuation lines. Comments that appear before the first DSECT keyword become the long description for the table. The fully qualified path and file name of the AsmFD, as well as the current date and time, are saved as the short description for the table.

The import process creates an InfoSphere DataStage table of type QSAM_SEQ_ COMPLEX. Assembler data types are converted to COBOL native data types during capture, as described in Table 1.

Table 1. Assembler Data Type Conversion
Assembler Type COBOL Native Type COBOL Usage Representation SQL Type
B CHARACTER PIC X(n)1 Char
C CHARACTER PIC X(n) Char
D FLOAT COMP-2 Decimal
E FLOAT COMP-1 Decimal
F BINARY PIC S9(9) COMP Integer
G NCHAR PIC N(n) NChar
H BINARY PIC S9(4) COMP SmallInt
L CHARACTER PIC X(n) Char
P DECIMAL COMP-3 SIGNED Decimal
X CHARACTER PIC X(n) Char
Z DISPLAY NUMERIC PIC S9(n) Decimal

1(n) is equal to the number of bytes.

The InfoSphere DataStage Expression Editor provides functions for performing bit manipulations.