IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

BTS I/P Message Problem


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gmosley

New User


Joined: 08 Nov 2006
Posts: 10
Location: North Vancouver

PostPosted: Tue Sep 10, 2013 10:29 pm
Reply with quote

I'm trying to invoke an MPP at the BTS prompt with a lengthy input message. All I get back is the BTS prompt repeated.
The I/P I'm supplying looks something like this (actually a contiguous string):
BCSCTISC <?xml version="1.0"?><ISSUE_SERVICES_CARD><CLNO>090003351</CLNO><OFFICE
>99999</OFFICE><CUSTOMER_INTERACTION><CSR_USR>BT3G</CSR_USR><OFFICE_NUM>99999</O
FFICE_NUM><BC_RESIDENT_YN>true</BC_RESIDENT_YN>...
If I just enter:
BCSCTISC <?xml version="1.0"?>
at least I get a program response
I'm wondering if a BTSIN parm might be involved?
Back to top
View user's profile Send private message
gmosley

New User


Joined: 08 Nov 2006
Posts: 10
Location: North Vancouver

PostPosted: Fri Sep 13, 2013 11:17 pm
Reply with quote

The message I'm trying to pass is 1700+ characters long. I get this message in BTSOUT (indicating 1 line; i.e. 80 chars of data):
BTS0008I END OF INPUT DATA SET ENCOUNTERED.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Sat Sep 14, 2013 12:33 am
Reply with quote

I normally supply the IMS transaction in the BTS deck that defines the terminals and transaction codes. BTS expects input in columns 1-71, with column 72 reserved for a continuation character. For example:
Code:
Txxxxxxx <?xml version="1.0" encoding="UTF-8" standalone="yes"?><xxxMSGX
><xxx-MSG-LENGTH>000000360</xxx-MSG-LENGTH><xxx-MAX-WAIT-ON-QUEUE>00000X
0000</xxx-MAX-WAIT-ON-QUEUE><xxx-SEC-REQ-USERID>xxxxxxxx</xxx-SEC-REQ-UX
SERID><xxx-SEC-REQ-PSWD-EDES></xxx-SEC-REQ-PSWD-EDES><xxx-SEC-FUNCTION>X
INQ     </xxx-SEC-FUNCTION><xxx-SEC-INQ-USERID>TDOSOWEB</xxx-SEC-INQ-USX
ERID></xxxMSG>$                                                                         
                                                     
Back to top
View user's profile Send private message
gmosley

New User


Joined: 08 Nov 2006
Posts: 10
Location: North Vancouver

PostPosted: Sat Sep 14, 2013 1:32 am
Reply with quote

Thanks, Don.
Tried reformatting my data string to 71 cols + X in col 72 and positioning three lines of it after the last ./T card but I still get a pause and then the
ENTER BTS COMMAND OR /FORMAT OR /*prompt.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Sep 16, 2013 7:32 pm
Reply with quote

That actually sounds right, if the MPP has no response.

Are you expecting a screen to pop up?

Make sure you have all of the BTS output DDs defined so you can go and check the responses to your input. There is probably a diagnostic message trying to tell you what's going on.
Back to top
View user's profile Send private message
gmosley

New User


Joined: 08 Nov 2006
Posts: 10
Location: North Vancouver

PostPosted: Mon Sep 16, 2013 9:55 pm
Reply with quote

I am expecting a screen to pop up. The transaction itself doesn't have MFS but it displays using MID/MOD DFSMO2. BTSOUT shows the input stream as expected and then a map of the O/P screen. Two things are notable:
1. The O/P screen doesn't actually display on my terminal
2. The O/P screen map in BTSOUT shows the default response for the transaction, not the expected response for the I/P data supplied with the transaction name
If I enter the same I/P string in the actual IMS region (i.e. no BTS), the O/P screen does display with the expected response to the I/P stream
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Tue Sep 17, 2013 3:49 am
Reply with quote

I think we need to see the rest of your BTS deck, especially the ./O commands.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Tue Sep 17, 2013 7:11 pm
Reply with quote

Don is correct, we may need to see that input deck.

The most perplexing thing to me is that your BTSOUT shows a screen that you are not seeing.
Back to top
View user's profile Send private message
gmosley

New User


Joined: 08 Nov 2006
Posts: 10
Location: North Vancouver

PostPosted: Tue Sep 17, 2013 8:36 pm
Reply with quote

OK. Here's my BTSIN deck (only shortened by reducing the ./T entries to the one relevant one) and the "X"s are all in col 72.

Code:
./D LTERM=KS7OO DDOF=327020                                             
./O TSO=YES                                                            X
    TSOMLVL=0                                                          X
    DB=NO                                                              X
    TSODB=NO                                                           X
    MSG=NO                                                             X
    TSOMSG=NO                                                          X
    SQL=NO                                                             X
    SQLHX=NO                                                           X
    TSOSQL=NO                                                          X
    TSOSQLHX=NO                                                        X
    MQI=NO                                                             X
    TSOMQI=NO                                                          X
    SCREEN=INOUT                                                       
./* ---------------------------------------------------------------     
./*           DEFINE USER PATCHES                                       
./P MBR=BTSCOM00 PA=0000D8 PC=KS7O                                     
./P MBR=BTSCOM00 PA=000C14 PC=DB22                                     
./* ---------------------------------------------------------------     
./*           DEFINE PRINTER LTERM                                     
./T TC=L014P32 MDL=P2 FEAT=7F                                           
./T TC=U205 PLC=99                                                     
./* ---------------------------------------------------------------     
./*           DEFINE PROGRAM(S) TO BE EXECUTED                         
./* ---------------------------------------------------------------     
./T TC=BCSCTISC MBR=BCSCPISC PSB=BCSCPISC PLAN=BCSCTISC PLC=1 SPA=0     
./*


Code'd
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Tue Sep 17, 2013 11:43 pm
Reply with quote

Is the transaction string not in your BTSIN?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts dsnrexx fails without error message CLIST & REXX 9
Search our Forums:

Back to Top