Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: SNA Application Programming


Message #1 by "Kim, Cardyin" <CKim@s...> on Fri, 16 Mar 2001 09:35:21 -0800
Hello all,

I am writing a program that retrieves
data from three disparate systems and
compares it to find anomalies.  

The application is written in VB and
so far I have written 2 out of 3 parts.
In the first part, I am connecting to 
RMS DB on VMS via ODBC, and in the
second, I am connection to Mainframe 
CMS session via Winsock Control.  Now 
I need help on the third part.

I am trying to connect to a clinical
application software called SAMIS which
uses SNA.  We currently use clients on
our desktop that connect to a Microsoft 
SNA server which creates and maintains
a session with the mainframe application.

So far, I have tried to snoop the TCP/IP
packets going across to the SNA server
and tried to mimic those, but can't seem
to decipher some of the packets.  It
has something to do with sequencing 
numbers, but I have yet to find documentation
on that.

I have written a C++ .dll using the APPC 
library to try and send and receive commands
from the SNA server.  I was somewhat
successful in this but ran into a snag.
Once I get data on one person, I am unable to
reset the connection to query a second
person without quitting the VB application
and restarting it.

Secondly, the program that we use to connect 
to the server provides some API dll files.
I can get the data to appear in the 
proprietary application, but there is no
API call to do a screen scrape of the
screen.

Does anyone have ANY suggestions whatsoever
on things to try?  I have worked on this
project for a few months now off and on,
and I'm willing to try any suggestion to
see if I can get this particular project
finished.

Cardyin

--------------------------------------
Cardyin Kim
C/S & Web Development Analyst
Information Services
San Antonio Community Hospital
ckim@s...     (xxx)xxx-xxxx     
--------------------------------------

  Return to Index