Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

APPN/APPC (Warp to AS/400)

3 views
Skip to first unread message

Mark Graybill

unread,
Jul 1, 2000, 3:00:00 AM7/1/00
to

I've taken over a 16-bit project to change a hard coded value, which seemed
easy enough. First I was unable to find a 16-bit compiler that also
supports OS/2 16-bit API calls (e.g. DosFSRamSemXXX.) Then I decided to
port the application to 32-bit, which didn't seem like much of a problem
task 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>

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?

Peter Fitzsimons

unread,
Jul 1, 2000, 3:00:00 AM7/1/00
to


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?

Mark Graybill

unread,
Jul 2, 2000, 3:00:00 AM7/2/00
to
I have MSC 6.0, but no support for OS/2 system calls. I'll check out that
website. Maybe I can find everything I need for the MSC 6.0 and not have
to port to
32-bit. I also have IBM CSet++/2, but not the C version any more.

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 ...

Mark Graybill

unread,
Jul 2, 2000, 3:00:00 AM7/2/00
to
Peter-

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 ...

Jim Heifetz

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
Mark Graybill wrote:

> ... 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?


0 new messages