So I guess I am missing the development kit that interfaces with the AS/400
from OS/2 code. In the header file that accesses the APPC services, a
comment makes reference to accessing "IBM SAA Networking Services (NS/2)",
and contains the following header files that I cannot find:
#include <appn.h>
#include <appc_c.h>
#include <acssvcc.h>
#include <acsmgtc.h>
The source (.c) also contains a call to an API named "APPC()". There is
terminology used in the comments I am not familiar with: (e.g. partner
program, and LU.)
Basically, OS/2 is controlling an optical library, and the source code I'm
working with enhances it. The library is managed by an AS/400, and has LU
connections (whatever they are) to medical equipment.
Do any one have any idea what package would be needed and where to find it?
The compiler was almost certainly "IBM C/2" or "Microsoft C 5 (or 6)",
which are basically the same compiler (both by MS). You can get a copy
of msc 6 free (without docs) from the DDK site
(http://service.boulder.ibm.com/ddk/). It's kinda hidden; but if you
were to download all the pieces required to compile the "storage" stuff,
for example, you'd end up with a copy of msc 6 installed.
The appc stuff is trickier. I think I might have it all, somewhere, in
the dungeon, on 10 year old diskettes (so you may have trouble reading
them).
Are you located near Toronto, by any chance?
I don't live too far from Toronto, I'm in Minnesota.
I appreciate your reply and willingness to help!
BTW, did you ever work for IBM? (Your name sounds familiar.)
Thanks!
-Mark
Peter Fitzsimons wrote in message ...
You replied to me via e-mail, but your reply address was invalid.
Can you send me a valid reply address?
Thanks,
Mark
Peter Fitzsimons wrote in message ...
> ... until I discovered missing headers and function guts, which pointed to
> a missing library. I understand it accesses IBM Communications Manager/2,
> but I am unaware of what SDK is needed.
>
> So I guess I am missing the development kit that interfaces with the AS/400
> from OS/2 code. In the header file that accesses the APPC services, a
> comment makes reference to accessing "IBM SAA Networking Services (NS/2)",
> and contains the following header files that I cannot find:
>
> #include <appn.h>
> #include <appc_c.h>
> #include <acssvcc.h>
> #include <acsmgtc.h>
I have these files in a directory called \CMLIB\TOOLKIT16\H and also
\CMLIB\TOOLKIT32\H.
They came with CM/2
> The source (.c) also contains a call to an API named "APPC()". There is
> terminology used in the comments I am not familiar with: (e.g. partner
> program, and LU.)
A partner program is just what it sounds like. Your program and the other ones
are partners in getting the work done.
LU is an SNA term (Logical Unit). LUs are the basic units that communicate
(with each other usually). CM/.2 will implement the LU, but your program will
give it the data to send and accept the data it receives.
> Basically, OS/2 is controlling an optical library, and the source code I'm
> working with enhances it. The library is managed by an AS/400, and has LU
> connections (whatever they are) to medical equipment.
>
> Do any one have any idea what package would be needed and where to find it?
The most direct place is the APISUPP directory on the CM/2 CD-ROM. Do you have
one of those?