COMPAQ Software Product Description ___________________________________________________________________ PRODUCT NAME: HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Ver- sion 1.7 This SPD describes HP SNA 3270 Data Stream Programming Interface for OpenVMS, which is available for the OpenVMS Alpha and OpenVMS VAX plat- forms. All information applies to both platforms unless otherwise in- dicated. DESCRIPTION HP SNA 3270 Data Stream Programming Interface for OpenVMS (3270 DS) is a layered software product that allows user-written applications running on suitably configured OpenVMS systems within a DECnet or TCP/IP network or on suitably configured OpenVMS systems within an OpenVMS SNA environment to exchange messages with cooperating applications on an IBM host. The 3270 DS software exists in the OpenVMS system as a shareable image. Access between the cooperating HP and IBM applica- tions is via one of the following SNA servers or gateways: TCP/IP or DECnet Connections o HP SNA Peer Server o HP SNA Domain Gateway o HP SNA Access Server for Windows NT® o HP SNA Server for OpenVMS Alpha, a layered product that supports local access as well as TCP/IP and DECnet clients DECnet Only Connections o HP DECnet SNA Gateway for Synchronous Transport February 2004 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 o HP DECnet SNA Gateway for Channel Transport o HP SNA Server for OpenVMS VAX, an OpenVMS VAX layered product that supports local access as well as remote DECnet clients The 3270 DS programming interface is a collection of subroutines that provides an easy-to-use interface for the SNA server or gateway ap- plication programmer who has a specific need to interface to an IBM application subsystem that uses the LU type 2 (LU2) protocol. The prod- uct can be used with many types of applications. As an example, a cus- tomized 3270 terminal emulator application can be written by a user and layered on top of 3270 DS. Applications can be event driven or syn- chronous in nature with no loss in available functions. Features The 3270 DS product is designed to insulate the OpenVMS application programmer from the inner workings of the SNA network environment as much as possible, thus allowing the user to concentrate on solving the application problem. The product performs the following SNA functions on the user's behalf: o Receives and interprets the bind o Accepts the bind and starts the session o Maintains the state machines for chaining, bracketing, and data flow control o Processes an Unbind Type 2 automatically o Allows, on supported SNA servers and gateways, secured Logical Unit (LU) access via the SNA3270$REQUEST_CONNECT procedure call. As a result, the OpenVMS user is required to perform a minimum of SNA functions, including processing the CLEAR and CANCEL functions and han- dling contention. 2 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 This product is a set of subroutines used to perform such functions as establishing sessions, sending data, receiving data, and discon- necting sessions. In addition, the 3270 DS interface may be used to interpret the 3270 data stream and build a screen image. The OpenVMS application is then free to interact with the screen image. The 3270 DS product allows two modes of connection: Data Stream Mode and Field Mode. Data Stream Mode Data Stream Mode provides a means to send and receive uninterpreted 3270 data streams as defined by IBM. In this mode, the interface per- forms all SNA-specific functions. For example, the OpenVMS applica- tion is not required to handle chaining, brackets, RUs, or RHs. At the same time, this mode allows the interface to provide the OpenVMS ap- plication with the complete 3270 data stream. It is the OpenVMS user's responsibility to interpret the outbound data stream for 3270 orders and commands, and to build and manipulate a screen image (if desired). Similarly, it is the OpenVMS user's responsibility to build the in- bound data stream from the user's own screen image or from some other data structure. An OpenVMS application that needs to use extended attributes must use a Data Stream Mode connection. Extended attributes are extensions to the basic field attributes, namely: o Extended highlighting (blink, reverse video, underscore) o Color o Programmed symbols (selectable symbol set) o Screen partitions and windows Field Mode Field Mode performs a presentation service to provide a screen image interface. The screen image may be read field by field, or accessed 3 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 directly. The interface interprets 3270 commands and orders in an out- bound data stream to build the screen. In addition, it produces an in- bound 3270 data stream from the updated screen image. As with the Data Stream Mode, Field Mode insulates the OpenVMS user from the SNA protocol. Extended attributes are not supported by the Field Mode connection. Asynchronous Event Notification The 3270 DS product provides a mechanism for an OpenVMS user appli- cation to receive control when an asynchronous "network event" occurs, such as disconnection of a DECnet logical link, an SNA circuit fail- ure, or the receipt of an Unbind Type 2 from IBM. The OpenVMS appli- cation is called at a notification entry point defined by the appli- cation at connection time; an indication of the event that occurred is reported. User Interface Users of the 3270 DS product should be experienced OpenVMS applica- tion programmers. They can use any of the OpenVMS programming languages that conform to the OpenVMS Calling Standard to create application pro- grams that interact with application programs on an IBM system. The user documentation provides example segments written in the follow- ing languages: o MACRO-32 o BLISS-32 Implementation Language o C o COBOL o FORTRAN o PASCAL o PL/I 4 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 Users of the 3270 DS product are not required to have extensive knowl- edge of SNA. INSTALLATION Installation services from HP are recommended for a customer's first purchase of this software product. These services provide for instal- lation of the software product by an experienced software specialist. HARDWARE REQUIREMENTS Processors Supported Alpha and VAX configurations as specified in the OpenVMS Operating Sys- tem for Alpha and VAX Software Product Description (SPD 25.01.xx). Disk Space Requirements (Block Cluster Size = 1) Disk space required for installation: OpenVMS Alpha 18,000 blocks (9.0 MB) OpenVMS VAX 17,900 blocks (9.0 MB) Disk space required for use (permanent): OpenVMS Alpha 7,900 blocks (4.0 MB) OpenVMS VAX 8,800 blocks (4.4 MB) These counts refer to the disk space required on the system disk. The sizes are approximate; actual sizes may vary depending on the user's system environment, configuration, and software options. SOFTWARE REQUIREMENTS 5 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 OpenVMS Operating System for Alpha and VAX, Version 6.2, 7.3 (VAX), 7.3-1 (Alpha), or 7.3-2 (Alpha) (SPD 25.01.xx). Using HP SNA 3270 Data Stream Programming Interface for OpenVMS re- quires a networking product appropriate for the version of OpenVMS, plus one of the SNA products listed below. Networking options include: o TCP/IP Services for OpenVMS (SPD 46.46.xx) o DECnet for OpenVMS (Phase IV, SPD 48.48.xx) o DECnet-Plus (Phase V, SPD 50.45.xx for Alpha, SPD 25.03.xx for VAX). Choose a networking option appropriate for the selected OpenVMS ver- sion from the following table: ___________________________________________________________________ DECnet OpenVMS_____TCP/IP______IV__________DECnet_V_______________________ 6.2 4.2 6.2 6.3 7.3 5.3 7.3 7.3 (VAX) 7.3-1 5.4 7.3-1 7.3-1 (Alpha) 7.3-2 5.4 7.3-2 7.3-2 (Alpha)____________________________________________________________ Choose one of the following SNA options: o HP DECnet SNA Gateway for Channel Support (SPD 29.76.xx) o HP DECnet SNA Gateway for Synchronous Transport (SPD 25.C6.xx) o HP SNA Domain Gateway (SPD 38.69.xx) o HP SNA Peer Server (SPD 51.08.xx) o HP SNA Server for OpenVMS Alpha (SPD 70.89.xx) o HP SNA Server for OpenVMS VAX (SPD 27.01.xx) 6 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 o HP SNA Access Server for Windows NT (SPD 64.79.xx) GROWTH CONSIDERATIONS The minimum hardware and software requirements for any future version of this product may be different from the requirements for the cur- rent version. DISTRIBUTION MEDIA This product is available as part of the OpenVMS Alpha and VAX Soft- ware Product Libraries on CD-ROM. The software documentation for this product is available as part of the OpenVMS Alpha and VAX Online Documentation Libraries on CD-ROM. Documentation in hardcopy format can be ordered separately. SOFTWARE WARRANTY This software is provided by HP with a 90-day conformance to warranty in accordance with the HP warranty terms applicable to the license pur- chase. WARRANTY LIMITATIONS IBM Supported Configurations This product is warranted with the IBM software configurations listed in the following table. 7 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 ___________________________________________________________________ Table_1:__IBM_Software_Configurations______________________________ Software Prod- uct________________Version__Release________________________________ CICS Transac- 1 3.0 tion Server 2 1.0, 2.0 CMS/ESA 2 All IMS 7 1.0 8 1.0 OS/390 2 10.0 Tivoli TIME 10 1 3.0, 4.0 NetView TSO/E All All z/OS_______________1________3.0,_4.0_______________________________ Refer to SNA server or gateway Software Product Descriptions for ad- ditional information on supported IBM operating systems, access meth- ods, and communications front-end software. Note: HP will support IBM software configurations, version and release numbers, as long as support for such configurations is generally avail- able from IBM. Other configurations may have been tested since this SPD was published. Please contact your local HP office for up-to-date information regarding listed configurations. ORDERING INFORMATION For OpenVMS Alpha systems Software Licenses: QL-10XA*-** Software Documentation: QA-363AA-GZ 8 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 Media and documentation for this product are available on the Open- VMS Alpha Software Product Library and Online Documentation Library on CD-ROM. Documentation in hardcopy format can be ordered separately. For OpenVMS VAX systems Software Licenses: QL-363A*-** Software Documentation: QA-363AA-GZ Media and documentation for this product are available on the Open- VMS VAX Software Product Library and Online Documentation Library on CD-ROM. Documentation in hardcopy format can be ordered separately. * Denotes variant fields. For additional information on available li- censes, services, and media refer to the appropriate price book. SOFTWARE LICENSING This software is furnished only under a license. For more information about HP's licensing terms and policies, contact your local HP office. License Management Facility Support This layered product supports the OpenVMS License Management Facil- ity. License units for this product are allocated on a CPU-capacity basis. For more information on the License Management Facility, re- fer to the OpenVMS Operating System for Alpha and VAX Software Prod- uct Description (SPD 25.01.xx) or the License Management Facility man- ual of the OpenVMS Operating System documentation set. For more information about HP's licensing terms and policies, contact your local HP office. 9 HP SNA 3270 Data Stream SPD 26.87.10 Programming Interface for OpenVMS, Version 1.7 SOFTWARE PRODUCT SERVICES A variety of service options are available from HP Services. For more information, contact your local HP office. © 2004 Hewlett-Packard Development Corporation, L.P. Microsoft, Windows, and Windows NT are U.S. registered trademarks of Microsoft Corporation. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional war- ranty. HP shall not be liable for technical or editorial errors or omis- sions contained herein. Proprietary computer software. Valid license from HP required for pos- session, use, or copying. Consistent with FAR 12.211 and 12.212, Com- mercial Computer Software, Computer Software Documentation, and Tech- nical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. 10