Page 1 of 1

Importing Copybooks with Comp-3

Posted: Fri Feb 20, 2004 12:35 pm
by shawn_ramsey
All,

I am creating a copy book from scratch to load data from files that we are FTPing (binary) from and AS400. The problem that I am having is that for some reason the import copy book fails on lines where I have a structure like:

Code: Select all

              10 PHTOTN                               PIC S9(7)V99 COMP-3.
              10 PHTA01                               PIC S9(7)V99 COMP-3.
              10 PHTA02                               PIC S9(7)V99 COMP-3.
But not on:

Code: Select all

              10 PHTOTN                               PIC S9(7) COMP-3.
              10 PHTA01                               PIC S9(7) COMP-3.
              10 PHTA02                               PIC S9(7) COMP-3.
Any Suggestions?

Posted: Sun Feb 22, 2004 9:26 am
by Amos.Rosmarin
Hi,

Try PIC S9(7)V9(2) COMP-3
There should be no problem, did it many times.

Amos

Posted: Mon Feb 23, 2004 1:53 pm
by shawn_ramsey
Thanks but that did not work either. In the end I just imported them without the decimal then edited the metadata.