# Broker Information Services

**URL:** <https://techcommunity.softwareag.com/t/broker-information-services/59004>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [June 18, 2004, 5:19am UTC](https://techcommunity.softwareag.com/t/broker-information-services/59004 "2004-06-18T05:19:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rabia](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@Rabia](https://techcommunity.softwareag.com/u/Rabia)\
**Post date:** [June 18, 2004, 5:19am UTC](https://techcommunity.softwareag.com/t/broker-information-services/59004/1 "2004-06-18T05:19:37Z")

</div>

Hello,  
Using Tor files and vbscript, I successfully retrieve Information about active servers from the Broker Information Services. However, I have no success with object-type 2 for information on active clients using the same TOR file. I receive ErrorCode 4 “Nothing was found for this request”. The vbscript is pasted below and I have attached the TOR file for your review.   
Thanks in advance for insight and help.  
Rabia  
\<%  
 Set CLI = CreateObject(“EntireX.Broker.ACI”)  
 BlockLength = 280  
 Version = 1  
 ObjectType=2  
 CLI.ApiVersion = 1   
 Set torcliobj = CLI.CreateTransObject(“\irvweb01\dcs\tsv\TorFilesAndDCOMDlls\ExbProd.tor”)   
  
 'On Error Resume Next  
 Set cliobj = torcliobj.ClientServer(BlockLength,Version,NotUsed,ObjectType,UserId,PUserId,Token,ServerClass,ServerName,Service,ConvId,Reserved,NotUsed)  
 Response.Write (cliobj.ErrorCode & “–” & CLI.ErrorCode)   
  
 On Error Resume Next  
 Do   
 Set recvobj = torcliobj.ClientServer(BlockLength,Version,NotUsed,ObjectType,UserId,PUserId,Token,ServerClass,ServerName,Service,ConvId,Reserved,NotUsed)  
 'Response.Write (recvobj.Userid & “–” recvobj.ErrorCode & “–” & CLI.ErrorCode )   
 Loop Until CLI.ErrorCode = “00030005”   
%\>  
  
_Tor File_  
[ExbProd.tor](https://techcommunity.softwareag.com/uploads/short-url/yXXmg4rHXDZb4XHryN9OlhupCuB.tor) (20.5 KB)

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [July 5, 2004, 8:12pm UTC](https://techcommunity.softwareag.com/t/broker-information-services/59004/2 "2004-07-05T20:12:59Z")

</div>

Hello Rabia,  
  
is this still an issue for you ?  
If yes and if this is reproducable can you produce a stub log for the error situation ?  
BTW what version of Broker are you using ?  
  
Kind regards,  
Rolf

---

<div class="post-metadata">

**Author:** ![Rabia](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@Rabia](https://techcommunity.softwareag.com/u/Rabia)\
**Post date:** [July 16, 2004, 4:05am UTC](https://techcommunity.softwareag.com/t/broker-information-services/59004/3 "2004-07-16T04:05:04Z")

</div>

Rolf,  
Many Thanks…  
Broker version is 7.1.1.30  
Stublog is attached.  
Viele Gruesse,  
Rabia  
[02044.etb](https://techcommunity.softwareag.com/uploads/short-url/lGEekV3XnTIrSaXfLpcHxjEwRtM.etb) (13.3 KB)

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [July 16, 2004, 2:53pm UTC](https://techcommunity.softwareag.com/t/broker-information-services/59004/4 "2004-07-16T14:53:02Z")

</div>

Hello Rabia,  
  
try to initialize the PUserId field with binary zeroes instead of using blanks. Docu says: _Any value different from low value will be treated as selection value._  
  
Good luck,  
Rolf

---

<div class="post-metadata">

**Author:** ![Rabia](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@Rabia](https://techcommunity.softwareag.com/u/Rabia)\
**Post date:** [July 17, 2004, 3:03am UTC](https://techcommunity.softwareag.com/t/broker-information-services/59004/5 "2004-07-17T03:03:44Z")

</div>

Rolf,  
That was it!  
Thank you very much.  
Greetings,  
Rabia

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/broker-information-services/59004/6 "2021-04-02T14:39:36Z")

</div>


