SNAX/APC Application Programming Manual

SNAX/APC Application Programming Manual138786
4-1
4
Application Prototype Simulator
This section describes the SNAX/APC Application Prototype Simulator (APS) and
provides the following information:
An overview of APS and how to use it
Information on how to set up and run APS
Descriptions of the SNAX/APC verbs that APS supports
Descriptions of the utility functions available in APS
APS Overview
APS is a program that enables you to submit verbs to SNAX/APC interactively, and
thus carry on a conversation with a partner TP. This can be useful to test proposed
sequences of verbs for conversations with partner TPs. APS also is an excellent tool for
learning how to use the SNAX/APC verbs. It enables you to observe the operation of
the verbs without having to write any programs.
APS is not itself a TP. Rather, you, the person operating APS, are the TP: you decide
which verbs to execute and when, what data to send, how to respond to errors, and so on.
You provide the logic of the TP by the choices you make. APS merely provides the
method to execute the SNAX/APC verbs without you having to write a TP.
APS allows the user to simulate a TP issuing either mapped or basic verbs. APS
determines which verb set to use by interpreting the value in the conversation type field
of the last TP-READY verb issued. Only verbs from that set may then be issued for the
duration of the conversation, and until another TP-READY verb is issued that specifies a
different verb set.
Users should note that APS supports IPC version code S3 verbs only. See the
subsection, “Setting Up and Running APS,for more details.
APS is a Pathway application requester written in SCREEN COBOL, and its ability to
run at D-series high process identification numbers (PINs) is dependent on its control
programs. APS can run at high PINs if it is run under the D-series Pathway (or NonStop
TS/MP and Pathway/TS) and Enable software. More detail on high PIN support can be
found in the SNAX/APC Planning and Configuration Manual.