gtps4m1lSystem Generation

UI/Reservation Package (PARS)

The UI package which supports input and output messages for terminals logged on to reservation type applications, contains tables which are used to determine the program to be executed based on the message action code. There are two entry tables and one enter table for each application which uses the UI package (up to five applications are allowed). If the package is to be used, the user must define in segment UIIA which entry and enter tables are to be used for each application. The entry and enter tables are contained in program segment UIIB, and if required, UIIC through UIIF. The user must code the entry and enter tables specifying the action codes to be used and the programs to be activated for processing.

The entry tables convert the action codes to index values. One table converts the action codes which come in as keyboard entries, whereas the other table converts action codes which are the result of a function/action key (also referred to as the pushbutton) entries. These index values are subsequently used to address the enter table which contains an ENTNC or ENTDC macro for the required program.

TPF was originally designed as the operating system for the Programmed Airline Reservations System (PARS) and for the International Programmed Airline Reservation System (IPARS) application. The UI package was that part of the application which supported the sending and receiving of messages to terminals logged on to the reservation application.

The message router requirements for the UI package are those for an application using an LNIATA rather than a resource identifier (RID) (see Message Router Application Attributes). If the PARS/IPARS application is required the user must specify RES=YES on the CONFIG macro and also supply the PARS user dependent variables via the USEREQ macro. The Fare Quote/Issue Ticket program product may also be included via the FQTK keyword of the CONFIG macro.

For more information about the UI package see the TPF Data Communications Services Reference.