List PPP Connection Profiles (QtocLstPPPCnnPrf) API

  Required Parameter Group:


  Service Program: QTOCPPPAPI

  Threadsafe: Yes

The List PPP Connection Profiles API (QtocLstPPPCnnPrf) returns a list of PPP connection profiles with some basic information about each profile.


Authorities and Locks

User Space Library Authority
*EXECUTE
User Space Authority
*CHANGE
User Space Lock
*SHRNUP

Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The user space for which you want to retrieve information, and the library in which it is located. The first 10 characters contain the user space name, and the second 10 characters contain the library name. You can use these special values for the library name:


Format name
INPUT; CHAR(8)

The format of the space information to be returned. The format names supported are:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Format of Connection Profile Lists

To request a list of PPP Connection Profiles, use format PRFD0100.

The PPP Connection Profile list consists of:

For details about the user area and generic header, see User spaces. For details about the remaining items, see the following sections.

When you retrieve list entry information from a user space, you must use the entry size returned in the generic header. The size of each entry may be padded at the end. If you do not use the entry size, the result may not be valid. For examples of how to process lists, see Examples: APIs and exit programs.


Input Parameter Section



Header Section



PRFD0100 Format

The following data about a PPP Connection Profile is returned for the PRFD0100 format. For detailed descriptions of the fields in the table, see Field Descriptions.



Field Descriptions

Automatic start. Whether the profile is started automatically when the TCP/IP stack is activated. Possible values are:

Connection protocol. The type of point-to-point connection provided by the profile job.

Connection status. The current connection of job status of the profile job.Values are as follows:

Connection type. The type of connection provided by the profile job. Values are:

Dial-on-demand peer answer profile. Specifies the name of the answer only profile that answers incoming calls from the remote peer.

Job name. The job name of the job that currently or most recently executed this profile job description. This field is blank if this connection profile job has not been run.

Note that the connection job may not be unique. That is, multiple connections can share a single job by running in separate threads.

Job number. The job number of the job that currently or most recently executed this profile job description. This field is blank if this connection profile job has not been run.

Job user profile. The user profile of the job that currently or most recently executed this profile job description. This field is blank if this connection profile job has not been run.

Line name. Each TCP/IP interface is associated with a physical network. This field displays the name of the communications line description that identifies the physical network associated with an interface. May be blank when Line type selection is *LINEPOOL and no member line has been selected.

Line type. The type of line connection defined in this connection profile. Possible values are:

Multilink connection enabled. Whether multilink connections are enabled for the profile. Values are:

Profile description. The text description of the function performed by this profile connection job.

Profile job type. The type of job support required for the profile.

Profile mode. The function provided by the profile job. Values are:

Profile name. The name of this connection profile description.

Reserved. An ignored field.

Thread ID. The thread id under which the connection is running in the point-to-point job.


Error Messages



API introduced: V5R1

[ Back to top | Communications APIs | APIs by category ]