COMP fields

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

CareEv
Posts: 3
Joined: Tue Dec 08, 2009 7:36 am

COMP fields

Postby CareEv » Tue Dec 08, 2009 7:42 am

We have had no problem with EBCDIC conversions with COMP-3 fields, but our customer threw us a curve today and sent a copybook with fields that look like this:

10 WS-PROVIDER-ID PIC S9(9) USAGE COMP.

So COMP instead of COMP-3. TextPipe doesn't complain, but these fields are not converting properly. Are COMP fields understood by TextPipe?

User avatar
DataMystic Support
Site Admin
Posts: 2154
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: COMP fields

Postby DataMystic Support » Tue Dec 08, 2009 9:42 am

Use BINARY instead of COMP.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

CareEv
Posts: 3
Joined: Tue Dec 08, 2009 7:36 am

Re: COMP fields

Postby CareEv » Tue Dec 08, 2009 10:25 am

DataMystic Support wrote:Use BINARY instead of COMP.



Like this?

10 WS-PROVIDER-ID PIC S9(9) USAGE BINARY.

CareEv
Posts: 3
Joined: Tue Dec 08, 2009 7:36 am

Re: COMP fields

Postby CareEv » Tue Dec 08, 2009 11:13 am

CareEv wrote:
DataMystic Support wrote:Use BINARY instead of COMP.



Like this?

10 WS-PROVIDER-ID PIC S9(9) USAGE BINARY.



Nevermind. It needs to look like this:

10 WS-PROVIDER-ID PIC S9(9) BINARY.

User avatar
DataMystic Support
Site Admin
Posts: 2154
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: COMP fields

Postby DataMystic Support » Tue Dec 08, 2009 12:00 pm

Either should work.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 1 guest