1828248 Members
2733 Online
109975 Solutions
New Discussion

DEBUG apps with SYS$ICC

 
SOLVED
Go to solution
Ruslan R. Laishev
Super Advisor

DEBUG apps with SYS$ICC

Hi All!
I have some application written some time ago, now I have some problem with it. This app. use SYS$ICC* service to communitactin with other processes...

Is there a facilities to get some information about SYS$ICC* context/primitives/handles ?
SDA, DEBUG ?

13 REPLIES 13
Ian Miller.
Honored Contributor

Re: DEBUG apps with SYS$ICC

There is a IPC SDA extension - I can't find any documentation for it
(see [TPSSDA]IPC$SDA*.* on the listings CD)


____________________
Purely Personal Opinion
Kris Clippeleyr
Honored Contributor

Re: DEBUG apps with SYS$ICC

Ruslan,

The $ICC sysem services, and how to use them, are well documented.
See:
http://h71000.www7.hp.com/doc/82FINAL/5841/5841pro_007.html#intra_cluster_sec
and the System Services eference Manual.
Regards,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Ruslan R. Laishev
Super Advisor

Re: DEBUG apps with SYS$ICC

Hello Ian,

I found nothing related to ICC in the 7.3 listings

$ dir

Directory $2$DUA100:[000000.V73.TPSSDA.LIS]

DECDTM$SDA.MAP;1 DECDTM_CLDTABLES.CLD;1 DECDTM_CLDTABLES.LIS;1
DECDTM_SYMBOLS.LIS;1 IPC$SDA.MAP;1 IPC$SDA_ASSOCIATIONS.LIS;1
IPC$SDA_COMMANDS.CLD;1 IPC$SDA_COMMANDS.LIS;1
IPC$SDA_CONNECTIONS.LIS;1 IPC$SDA_FUNCTIONS.LIS;1
IPC$SDA_REQUIRE.R32;1 IPC$SDA_TRACE.LIS;1 IPC_SYMBOLS.LIS;1
SDA$EXTEND_CLDPARSE.LIS;2 SDA$XTND_SDA_CALLBACK_MACROS.R32;1
TPS_DISLST.LIS;1 TPS_MACROS.R32;1 TPS_MISC.LIS;1 TPS_SDADEF.SDL;1
TPS_SHOW.LIS;1 TPS_SHOW_CLF.LIS;1

Total of 21 files.
$ search *.* icc

******************************
$2$DUA100:[000000.V73.TPSSDA.LIS]IPC$SDA_ASSOCIATIONS.LIS;1

1 67 ! A-4 NL Niccole Luce 16-Dec-1997

******************************
$2$DUA100:[000000.V73.TPSSDA.LIS]IPC$SDA_CONNECTIONS.LIS;1

1 75 ! A-6 NL Niccole Luce 16-Dec-1997
$

Anyway thanks!

Ruslan R. Laishev
Super Advisor

Re: DEBUG apps with SYS$ICC

Thanks, Kris. I read the docs BEFORE programming the apps. :-)
Ian Miller.
Honored Contributor

Re: DEBUG apps with SYS$ICC

I think the IPC$SDA* routines display data about the $ICC usage.
____________________
Purely Personal Opinion
Ruslan R. Laishev
Super Advisor

Re: DEBUG apps with SYS$ICC

Hi, Ian!

I cannot see with SDA/IPC anything what is can interprete as my ICC associations...
Volker Halle
Honored Contributor

Re: DEBUG apps with SYS$ICC

Ruslan,

the ICC code (within the SYS$IPC_SERVICES execlet) is - by default - not compiled with debug or trace support by OpenVMS engineering. If you want or need tracing from ICC, you might need to log a call with HP and ask for a SYS$IPC_SERVICES execlet with debug/trace support linked in.

Volker.
Volker Halle
Honored Contributor

Re: DEBUG apps with SYS$ICC

Ruslan,

the only kind of 'trace' available for ICC (out-of-the-box) would be OpenVMS System Service Logging (available in V8.2 or higher). It would at least allow you to trace the various SYS$ICC* system service calls, that your application is invoking.

But as you've said you've written your application 'some time ago', your systems may not yet be running V8.2

Volker.
Ruslan R. Laishev
Super Advisor

Re: DEBUG apps with SYS$ICC

Thanks, Volker!

At the time I'm need to get some basic information about ICC primitives on working application: state, connections, message size and queue length...

Volker Halle
Honored Contributor
Solution

Re: DEBUG apps with SYS$ICC

Ruslan,

some of the SDA> IPC commands do show ICC related data structures:

SDA> IPC SHOW ASSOC/SYSIPC ! shows ipcids for ICC
SDA> IPC SHOW ASSOC/SYSIPC/IPCID=ipcid
SDA> IPC SHOW LINK/IPCID=ipcid

I'm using the ICC VERY_SIMPLE_SERVER example to confirm, that ICC associations are shown.

Volker.
Ruslan R. Laishev
Super Advisor

Re: DEBUG apps with SYS$ICC

Hi, Volker!

What is VMS version ?
Ruslan R. Laishev
Super Advisor

Re: DEBUG apps with SYS$ICC

Hi, Volker!

My error was that I used:
sda>ipc sho ass

instead of

sda>ipc sho ass/sysipc

Cool Thanks!
Ruslan R. Laishev
Super Advisor

Re: DEBUG apps with SYS$ICC

Thanks for all responders.