View previous topic :: View next topic
|
Author |
Message |
gmosley
New User
Joined: 08 Nov 2006 Posts: 10 Location: North Vancouver
|
|
|
|
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 |
|
|
gmosley
New User
Joined: 08 Nov 2006 Posts: 10 Location: North Vancouver
|
|
|
|
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 |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
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 |
|
|
gmosley
New User
Joined: 08 Nov 2006 Posts: 10 Location: North Vancouver
|
|
|
|
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 |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
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 |
|
|
gmosley
New User
Joined: 08 Nov 2006 Posts: 10 Location: North Vancouver
|
|
|
|
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 |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
I think we need to see the rest of your BTS deck, especially the ./O commands. |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
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 |
|
|
gmosley
New User
Joined: 08 Nov 2006 Posts: 10 Location: North Vancouver
|
|
|
|
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 |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Is the transaction string not in your BTSIN? |
|
Back to top |
|
|
|