EDI Receiving Advice - Why does R47032C default all numerics to 32 chars

stu

Active Member
I am using the base UBE R47032C to create a text flat file for the Outbound EDI Receiving Advice records (Shipment Confirmations). The program reads from F47036, F470371, and other interoperability tables. It appears that all data dictionary attributes within the tables of type 'MATH_NUMERIC' are defaulting the output to 32 characters in length.

For example, table F47036 - attribute SYEDSQ (Record Sequence) is a MATH_NUMERIC of 2 digits. But the program, R47032C, will output the data in this field to a format of 32 digits or characters. So a sequence number of "1" becomes "00000000000000000000000000000001" instead of the expected value of "01".

I know the Maximum Size for a MATH_NUMERIC is 32 characters long - which is obviously a strong clue to what's going on. But, the UBE R47032C should (in my opinion) only output the data according to the size defined by the data dictionary item.

Is there a setting to change this behavior? Or is this working as designed? [I am currently working on E811.]

Steve
 
Back
Top