Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

BTS I/P Message Problem

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: BTS I/P Message Problem
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    Post subject: BTSIN
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: 641
Location: Whitby, ON, Canada

PostPosted: Sat Sep 14, 2013 12:33 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 641
Location: Whitby, ON, Canada

PostPosted: Tue Sep 17, 2013 3:49 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us