Benefits of APPC/MVS for Application Programs
Many types of applications are good candidates for using APPC/MVS services. The most obvious candidates are applications that need to link MVS functions or data with processing done on other computers in an SNA network. When an MVS program must communicate with a program on another system, APPC/MVS can provide a temporary connection, freeing you from having to make a permanent connection between the programs or create a special access method.
A prime example of a cooperative processing application involving APPC/MVS is one in which a transaction program on an z/OS server provides z/OS services and data to a user interface program on a workstation. For example, a database-accessing program on MVS could receive requests from a partner program on the workstation, access an MVS database, perform intensive computations, and send results back to the partner program. This cooperative application would combine the usability of the workstation, with its end-user interface features such as graphics and windows, with the processing power and resources of the z/OS server.
- Be scheduled in response to inbound allocate requests
- Initiate multiple, concurrent, and asynchronous APPC service requests
- Use JES SYSOUT and Job Submit facilities (only inbound TPs using the APPC/MVS scheduler)
- Use certain TSO/E programming services and TSO/E command facilities.
- New or existing VSAM, sequential or partitioned data sets can be created, read, or updated through dynamic allocation or the TP profile.
- To update and extract CICS VSAM data, a conversation to a CICS transaction that uses CICS file control may be required. In some cases it may be possible to read CICS VSAM data using dynamic allocation, assuming a data disposition of SHR and the possibility of updates in progress.
- IMS data may be accessed by a conversation request to an IMS application, through an IMS scheduler, to either extract or update DL/I data. Direct access is possible if the APPC application is coded to the rules for an IMS BMP.
- DB2 data may be accessed directly through the call attach facilities provided by DB2.
APPC/MVS TPs may also participate in resource recovery by using the CPI Communications or MVS Commit or Backout services to synchronize changes with partner TPs.
In addition, APPC/MVS applications can use MVS facilities such as shared data spaces, hiperspaces or look-aside techniques to enhance performance and sharing of data across APPC/MVS transactions.
- Planning and control programs
- Knowledge-based processing
- Collector applications (example: gathering regional sales data)
- Distributor applications (example: price dissemination)
- Exception/alert processing
- Large sorts
- Monitoring/report generation
- Graphics
- Decision support (spread-sheet) applications
- Batch application scheduling
- Extensions of current subsystem environments
- Defined to the same VTAM logical unit (LU=OWN)
- Defined to different VTAM logical units that are on the same z/OS system (LU=LOCAL).
Before designing a new application or adapting an existing one to take advantage of APPC/MVS, it is important to understand how the parts of the application communicate; what the partners can exchange in a conversation, and how they do it.