Sending multi-segment messages with BTS



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

Sending multi-segment messages with BTS

Postby Ed Goodman » Wed Feb 26, 2014 9:51 pm

Buddy is trying to test a program that was written to read in multi-segment input messages.

His BTSIN is currently:
TRANCODE 001*BODY    000000100001*TRAILER 001$ 


He says that he gets the first segment OK, but the second read gets the 'QC'

I've never done this, and I can't find examples of it in the books. Does this need to be formatted differently for BTS, like maybe:

TRANCODE 001*
BODY    000000100001
*TRAILER 001$ 


Or something like that?
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: Sending multi-segment messages with BTS

Postby Ed Goodman » Thu Feb 27, 2014 8:57 pm

Apparently, the answer was:

TRANCODE 002*                             
BODY    000000100001*                   
BODY    000000100002*                   
TRAILER 002$                             
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post