Posted: Sat Apr 26, 2003 9:51 am Post subject: Advice for setting up TDS layer for a binary message.
Apprentice
Joined: 21 Apr 2003 Posts: 28
Hi,
I'm new to WMQI and need some advice for setting up a TDS layer for a message that has a repeating group element.
The binary file is FTPed from an OS/390 to a win2k box. The fields in the file contain alph-numeric, numeric, and pack decimal (sign and unsigned). The repeating structure has <CTRL><LF> as a delimiter. The fields have no delimiters however there lenghts are fixed. The message is imported using a COBOL copybook. For this posting I only include the first 3 elements.
Types Compound type and elements.
IN_REC_TYPE
IN_HEADER_REC IN_HEADER_REC_TYPE
IN_ACCT_NAME STRING
IN_ACCT_NO STRING
IN_ACCT_BALANCE INTEGER
HEADER_REC IN_HEADER_REC_TYPE repeats. The repeat property on connection tab is set to YES. The total number of repeats is always unknown.
Questions:
o Should the IN_ACCT_BALANCE length property on the TDS tab be the length expanded (09) or the length of the packed data (05)?
o do I need field delimiter for the TDS work?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum