Ch 2. Using SNA IMF Intrinsics [ SNA IMF Programmer's Reference Manual ] MPE/iX 5.0 Documentation
SNA IMF Programmer's Reference Manual
Chapter 2 Using SNA IMF Intrinsics
This chapter discusses SNA IMF's programmatic access mode, which allows
your programs on the HP 3000 to communicate with programs on an IBM host.
SNA IMF's programmatic access mode consists of a set of intrinsics, or
subroutines, that you can call from HP 3000 programs written in the
following languages: BASIC, COBOL, COBOL II, FORTRAN, Pascal, and SPL.In
addition to these languages, SNA IMF/XL also supports C.
SNA IMF intrinsics allow your programs to read IBM 3270-type data stored
in an internal screen image within the HP 3000. By communicating through
intrinsics, your program looks to the IBM host like an IBM 3278 display
station or IBM 3287 printer connected to a remote IBM cluster controller.
This chapter contains the following sections:
* Types of Intrinsics: Wait and No-Wait I/O describes the two types
of MPE I/O and lists the intrinsics used with each type.
* Transparent and Non-Transparent Modes describes the transparent
and non-transparent modes of running SNA IMF.
* Native Mode and Compatibility Mode describes the two modes in
which an application can be compiled on MPE XL. It explains the
differences between the two modes when compiling an SNA IMF
application.
* Understanding Intrinsic Result Codes explains how to handle the
result parameter returned by SNA IMF intrinsics.
* Understanding Host Screen Formats explains how to handle the
different screen formats when communicating with IBM host
applications.
* IBM 3278 Screen Layout explains how the layout of the SNA IMF
internal screen image differs from the layout of an IBM 3278
display station screen.
* Intrinsic Calling Sequences gives some example calling sequences
for SNA IMF intrinsics.
Chapters 3 and 4 describe the SNA IMF intrinsics in detail.
In addition to programmatic access mode, you can use Pass Thru mode to
communicate interactively with an IBM host and its application programs.
See Using SNA IMF Pass Thru for more information about Pass Thru.
NOTE On MPE XL, your application programs that call SNA IMF intrinsics
may be in either native mode or compatibility mode. However, if
your applications are written in BASIC or COBOL, the SNA IMF
intrinsic calls in native mode are different from those in
compatibility mode. See "Native Mode and Compatibility Mode,"
later in this chapter, for more information on native mode and
compatibility mode.
MPE/iX 5.0 Documentation