Modification of TP Name in method
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Modification of TP Name in method

 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server
Author Message
Ben
Guest





Posted: Wed Aug 31, 2005 12:52 pm    Post subject: Modification of TP Name in method Reply with quote

I use HIS 2k4 in a WIP application.
I create a .net client library with one method.

I need to change dynamically the name of the TP of the method I call. Is
this possible ???
Back to top
Terry Bullington [MSFT]
Guest





Posted: Thu Sep 01, 2005 6:16 am    Post subject: RE: Modification of TP Name in method Reply with quote

Yes you can override the TPName specified with Designer. To do so you will
need to use ClientContext and provide an entry with name "TPNameOverride"
and a value of the desired TPName. If you look at the CSClientSampleApp.cs
in the HIS SDK\Samples\AppInt\WindowsInitiated\CSClient directory you can
find examples of using client context.
--------------------
Thread-Topic: Modification of TP Name in method
thread-index: AcWuIh8E6/KyTB08RpyQqwLG/VITrA==
X-WBNR-Posting-Host: 171.16.2.3
From: =?Utf-8?B?QmVu?= <Ben@discussions.microsoft.com>
Subject: Modification of TP Name in method
Date: Wed, 31 Aug 2005 04:50:02 -0700
Lines: 5
Message-ID: <A2E15BE1-49AE-4952-B6E7-4C0D7D90A89D@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.hiserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.hiserver.general:1947
X-Tomcat-NG: microsoft.public.hiserver.general

I use HIS 2k4 in a WIP application.
I create a .net client library with one method.

I need to change dynamically the name of the TP of the method I call. Is
this possible ???
Back to top
Ben
Guest





Posted: Fri Sep 02, 2005 12:52 pm    Post subject: RE: Modification of TP Name in method Reply with quote

Ok ... but when I use this to override the TPName, I got this error:

The TCP transport detected an error while sending the Transaction Request
Message(TRM) to the CICS Listener. Check the CICS log for an indication as to
why the CICS Listener failed. IP Address: 111.111.111.111, port: 1111,
transid: , Listener type: Standard. Make sure that the CICS Listener
configuration matches the RE settings.

It seems that my entry replace the transid by Nothing, instead of the string
I have indicate (SERV, for my case).

I have verified that the data is in the Context with this :
For Each lstr As Object In pCOMTIContext
Trace(lstr.ToString)
Next

the result is :
Microsoft.HostIntegration.TI.ContextDescriptor
PASSWORD
TEST
USERID
TEST
TPNameOverride
SERV

"Terry Bullington [MSFT]" wrote:

Quote:
Yes you can override the TPName specified with Designer. To do so you will
need to use ClientContext and provide an entry with name "TPNameOverride"
and a value of the desired TPName. If you look at the CSClientSampleApp.cs
in the HIS SDK\Samples\AppInt\WindowsInitiated\CSClient directory you can
find examples of using client context.
Back to top
Terry Bullington [MSFT]
Guest





Posted: Fri Sep 02, 2005 8:52 pm    Post subject: RE: Modification of TP Name in method Reply with quote

You didn't provide the error message number but I believe that it is 2157
which is a send timeout (wouldn't it be nice if we actually mentioned that
a timeout occurred in the message). Check to see if you have set a timeout
value on the RE that is too small. Also to verify that your new TPName is
being used you can turn on Transport Tracing with Trace Option TCP Headers
checked. This should provide a description of the TRM that is actually
being sent to CICS (you'll have to translate from EBCDIC).
--------------------
Thread-Topic: Modification of TP Name in method
thread-index: AcWvrQ0bqFPyc8+VQp6vug0lT18hYw==
X-WBNR-Posting-Host: 171.16.2.6
From: =?Utf-8?B?QmVu?= <Ben@discussions.microsoft.com>
References: <A2E15BE1-49AE-4952-B6E7-4C0D7D90A89D@microsoft.com>
<UUKFZLprFHA.1204@TK2MSFTNGXA01.phx.gbl>
Subject: RE: Modification of TP Name in method
Date: Fri, 2 Sep 2005 03:57:03 -0700
Lines: 33
Message-ID: <164E28DC-331F-4411-87BB-0DA864FD58EB@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.hiserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.hiserver.general:1957
X-Tomcat-NG: microsoft.public.hiserver.general

Ok ... but when I use this to override the TPName, I got this error:

The TCP transport detected an error while sending the Transaction Request
Message(TRM) to the CICS Listener. Check the CICS log for an indication as
to
why the CICS Listener failed. IP Address: 111.111.111.111, port: 1111,
transid: , Listener type: Standard. Make sure that the CICS Listener
configuration matches the RE settings.

It seems that my entry replace the transid by Nothing, instead of the
string
I have indicate (SERV, for my case).

I have verified that the data is in the Context with this :
For Each lstr As Object In pCOMTIContext
Trace(lstr.ToString)
Next

the result is :
Microsoft.HostIntegration.TI.ContextDescriptor
PASSWORD
TEST
USERID
TEST
TPNameOverride
SERV

"Terry Bullington [MSFT]" wrote:

Quote:
Yes you can override the TPName specified with Designer. To do so you
will
need to use ClientContext and provide an entry with name "TPNameOverride"
and a value of the desired TPName. If you look at the
CSClientSampleApp.cs
in the HIS SDK\Samples\AppInt\WindowsInitiated\CSClient directory you can
find examples of using client context.
Back to top
Ben
Guest





Posted: Mon Sep 05, 2005 12:52 pm    Post subject: RE: Modification of TP Name in method Reply with quote

Yes Sir, the error message is 2157.

And after checking the tracing option, I can read that TranID is not
supplied ...

TCP Transport Connect parameters, REType=1, EP=1, SM=1024,
IPAddr=111.111.111.111, Ports=111, TranID= , LinkToName=SCSANA11

I have noticed that providing an entry with "ProgNameOverride" modify the
"LinkToName" Value ...

So Why the same thing with "TPNameOverride" did not transmit the new value ??

Can you help me ???

Here is the trace log when I override TPName and ProgName:

18003 TCP Transport Connect entered, Remote TP = 1;1024;1; ;SCSANA11,
bRefreshTme = 0
18084 TCP Transport ExtractTCPParameters: Entry: 1;1024;1; ;SCSANA11.
18084 TCP Transport ExtractTCPParameters: Exit.
18004 TCP Transport Connect parameters, REType=1, EP=1, SM=1024,
IPAddr=111.111.111.111, Ports=111, TranID= , LinkToName=SCSANA11
18083 TCP Transport available ports=111.
18082 TCP Transport port properties: port number=111, timeout=0.
18113 TCP Transport GetUserIDAndPassword Entry
18113 TCP Transport GetUserIDAndPassword User is set
18113 TCP Transport GetUserIDAndPassword explicit security callback succeeded
18113 TCP Transport GetUserIDAndPassword got userid
18113 TCP Transport GetUserIDAndPassword got pswd
18113 TCP Transport GetUserIDAndPassword Exit, got userid and pswd from
explicit security
18005 TCP Transport Connect exited normally.
18022 TCP Transport Link entered, buffer length = 5537, COMM Area = 5537,
optimized send length = 5537
18111 TCP Transport FormatCICSTRM: Entry.
18105 TCP Transport FormatCID: Entry.
18105 TCP Transport FormatCID: Exit.
18112 TCP Transport FormatCICSTRM data: Offset=0x0000 5c5c5c5c 5c5c5c5c
5c5c5c5c 5c5c5c5c
18112 TCP Transport FormatCICSTRM data: Offset=0x0010 e2c3e2c1 d5c1f1f1
15a10000 15a10100
18112 TCP Transport FormatCICSTRM data: Offset=0x0020 01000100 f0
18111 TCP Transport FormatCICSTRM: Exit.
18056 TCP Transport DistribLink is sending the TRM, TRM length = 37
18010 TCP Transport SendBuf entered, 37 bytes to send
18130 TCP Transport SendBuf: Bytes sent=37.
18011 TCP Transport SendBuf exited normally
18132 TCP Transport CheckForListenerMsgs Entry.
18132 TCP Transport CheckForListenerMsgs Socket was closed in Recv with
MSG_PEEK of 3 bytes.
18132 TCP Transport CheckForListenerMsgs No Listener message.
18024 TCP Transport Link exited abnormally, HRESULT = 00000004
18019 TCP Transport Disconnect entered, type = 0
18093 TCP Transport Disconnect exited normally because no socket existed.
Back to top
Terry Bullington [MSFT]
Guest





Posted: Tue Sep 06, 2005 8:51 pm    Post subject: RE: Modification of TP Name in method Reply with quote

The code that handles ProgramNameOverride and TPNameOverride are virtually
identical and it appears that you are successfully overriding the TPName
but with spaces or a null value. Verify very closely that the value being
provided to TPNameOverride is correct and if it is I suggest that you open
a support case with PSS.

--------------------
Thread-Topic: Modification of TP Name in method
thread-index: AcWx+/+SU8sdkCnxSZumqeWnRc6A7A==
X-WBNR-Posting-Host: 171.16.2.2
From: =?Utf-8?B?QmVu?= <Ben@discussions.microsoft.com>
References: <A2E15BE1-49AE-4952-B6E7-4C0D7D90A89D@microsoft.com>
<UUKFZLprFHA.1204@TK2MSFTNGXA01.phx.gbl>
<164E28DC-331F-4411-87BB-0DA864FD58EB@microsoft.com>
<uL5dPP#rFHA.1208@TK2MSFTNGXA01.phx.gbl>
Subject: RE: Modification of TP Name in method
Date: Mon, 5 Sep 2005 02:27:13 -0700
Lines: 55
Message-ID: <7C90EE98-5579-4B1D-82BD-A6D665A3FC1B@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.hiserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.hiserver.general:1968
X-Tomcat-NG: microsoft.public.hiserver.general

Yes Sir, the error message is 2157.

And after checking the tracing option, I can read that TranID is not
supplied ...

TCP Transport Connect parameters, REType=1, EP=1, SM=1024,
IPAddr=111.111.111.111, Ports=111, TranID= , LinkToName=SCSANA11

I have noticed that providing an entry with "ProgNameOverride" modify the
"LinkToName" Value ...

So Why the same thing with "TPNameOverride" did not transmit the new value
??

Can you help me ???

Here is the trace log when I override TPName and ProgName:

18003 TCP Transport Connect entered, Remote TP = 1;1024;1; ;SCSANA11,
bRefreshTme = 0
18084 TCP Transport ExtractTCPParameters: Entry: 1;1024;1; ;SCSANA11.
18084 TCP Transport ExtractTCPParameters: Exit.
18004 TCP Transport Connect parameters, REType=1, EP=1, SM=1024,
IPAddr=111.111.111.111, Ports=111, TranID= , LinkToName=SCSANA11
18083 TCP Transport available ports=111.
18082 TCP Transport port properties: port number=111, timeout=0.
18113 TCP Transport GetUserIDAndPassword Entry
18113 TCP Transport GetUserIDAndPassword User is set
18113 TCP Transport GetUserIDAndPassword explicit security callback
succeeded
18113 TCP Transport GetUserIDAndPassword got userid
18113 TCP Transport GetUserIDAndPassword got pswd
18113 TCP Transport GetUserIDAndPassword Exit, got userid and pswd from
explicit security
18005 TCP Transport Connect exited normally.
18022 TCP Transport Link entered, buffer length = 5537, COMM Area = 5537,
optimized send length = 5537
18111 TCP Transport FormatCICSTRM: Entry.
18105 TCP Transport FormatCID: Entry.
18105 TCP Transport FormatCID: Exit.
18112 TCP Transport FormatCICSTRM data: Offset=0x0000 5c5c5c5c 5c5c5c5c
5c5c5c5c 5c5c5c5c
18112 TCP Transport FormatCICSTRM data: Offset=0x0010 e2c3e2c1 d5c1f1f1
15a10000 15a10100
18112 TCP Transport FormatCICSTRM data: Offset=0x0020 01000100 f0
18111 TCP Transport FormatCICSTRM: Exit.
18056 TCP Transport DistribLink is sending the TRM, TRM length = 37
18010 TCP Transport SendBuf entered, 37 bytes to send
18130 TCP Transport SendBuf: Bytes sent=37.
18011 TCP Transport SendBuf exited normally
18132 TCP Transport CheckForListenerMsgs Entry.
18132 TCP Transport CheckForListenerMsgs Socket was closed in Recv with
MSG_PEEK of 3 bytes.
18132 TCP Transport CheckForListenerMsgs No Listener message.
18024 TCP Transport Link exited abnormally, HRESULT = 00000004
18019 TCP Transport Disconnect entered, type = 0
18093 TCP Transport Disconnect exited normally because no socket existed.
Back to top
Ben
Guest





Posted: Wed Sep 07, 2005 4:53 pm    Post subject: RE: Modification of TP Name in method Reply with quote

Sorry, but what is PSS ??

"Terry Bullington [MSFT]" wrote:

Quote:
The code that handles ProgramNameOverride and TPNameOverride are virtually
identical and it appears that you are successfully overriding the TPName
but with spaces or a null value. Verify very closely that the value being
provided to TPNameOverride is correct and if it is I suggest that you open
a support case with PSS.
Back to top
Terry Bullington [MSFT]
Guest





Posted: Thu Sep 08, 2005 8:53 pm    Post subject: RE: Modification of TP Name in method Reply with quote

PSS is the Microsoft product support group. They will be able to give you
more immediate support and can distribute fixes should there be a bug in
HIS, they also have samples and etcetera.
--------------------
Thread-Topic: Modification of TP Name in method
thread-index: AcWzyhfkayF3A2TDTUmZZ6FC/zCbpQ==
X-WBNR-Posting-Host: 82.251.29.59
From: =?Utf-8?B?QmVu?= <Ben@discussions.microsoft.com>
References: <A2E15BE1-49AE-4952-B6E7-4C0D7D90A89D@microsoft.com>
<UUKFZLprFHA.1204@TK2MSFTNGXA01.phx.gbl>
<164E28DC-331F-4411-87BB-0DA864FD58EB@microsoft.com>
<uL5dPP#rFHA.1208@TK2MSFTNGXA01.phx.gbl>
<7C90EE98-5579-4B1D-82BD-A6D665A3FC1B@microsoft.com>
<#cT7JPxsFHA.2912@TK2MSFTNGXA01.phx.gbl>
Subject: RE: Modification of TP Name in method
Date: Wed, 7 Sep 2005 09:35:01 -0700
Lines: 10
Message-ID: <23A32688-9919-4CEB-9322-894EFAEE84BE@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.hiserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.hiserver.general:1990
X-Tomcat-NG: microsoft.public.hiserver.general

Sorry, but what is PSS ??

"Terry Bullington [MSFT]" wrote:

Quote:
The code that handles ProgramNameOverride and TPNameOverride are
virtually
identical and it appears that you are successfully overriding the TPName
but with spaces or a null value. Verify very closely that the value
being
provided to TPNameOverride is correct and if it is I suggest that you
open
a support case with PSS.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server All times are GMT
Page 1 of 1

 
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




New Topics Powered by phpBB