General information about functions

Each entry on the following pages includes a functional description, the syntax (including the datatype of each argument), an example, possible return codes, and a list of related topics. All arguments of each function are required unless designated as optional.

Most examples in this chapter are taken from the sample programs in the appendixes. These programs show how individual functions are coded in context. Refer to these appendixes to learn how to set up your work areas and to see examples of complete programs.

Your application must include a set of constants supplied with Open ServerConnect. These are standard argument options and return values for the PL/1 Gateway-Library interface. To include these constants in a PL/1 program, include the copybook SYGWPLI in the program.

When you use Gateway-Library functions, be aware of the following information:

NoteFor numeric and alphabetic lists of all return codes, with descriptions, see Mainframe Connect Client Option and Server Option Messages and Codes.