List APIs

All service programs in common is that they work the same way and that they can manage several lists at the same time. A list is created by a call to the f_opnXxxLst-function. The f_opnXxxLst-functions returns a handle to the caller. This handle is passed to every other function of the service program in order to identify the list. The list entries can be retrieved with the f_getFirstXxx-function and the f_getNextXxx -function. The f_cloXxxLst-function closes the list and frees all allocated resources.

LSTJOB
(Changed: 28.01.2012)

List Jobs V2.1.2
The LSTJOB service program uses the QUSLJOB API and the QUSRJOBI API to create a list of jobs. The list can be unsorted or sorted by job name or status. LSTJOB uses the tmpnam, strtok, qsort and memcpy C functions.

Prerequisites: BASICS1 V1.10.

LSTSPLF
(Changed: 26.09.2002)

List Spooled Files V1.2
The LSTSPLF service program uses the QUSLMBR API and the QUSRSPLA API to create a list of spooled files. The list can be unsorted or sorted by user data, user profile or number of pages (asc/desc). LSTSPLF uses the tmpnam, strtok, qsort and memcpy C functions.

RTVCSTL
(Changed: 12.09.2003)

Retrieve Constraint List (V5R1M0+)
The RTVCSTL service program uses the QDBRTVFD API to create a list of constraints of a file. In contrast to the other service programs the sort parameter is available but not yet in use.

RTVFLDA
(Changed: 04.12.2008)

Retrieve Field Attributes V1.6
The RTVFLDA service program uses the QDBRTVFD API to retrieve filed attributes of fields of a given file. In contrast to  RTVFLDL the RTVFLDA service program is very fast because it does not utilize a user space. Like using a dictionary fields can be retrieved randomly.

Prerequisites: BASICS1

RTVFLDL
(Changed: 26.09.2002)

Retrieve Field List V1.2.1
The RTVFLDL service program uses the QUSLFLD API to create a list of fields of a file. The list can be unsorted or sorted by name. RTVFLDL uses the tmpnam, strtok, qsort and memcpy C functions.

RTVKEYL
(Changed: 26.09.2002)

Retrieve Key List V1.2.1
The RTVKEYL service program uses the QDBRTVFD API to create a list of key fields of a file. RTVKEYL uses the memcpy C function.

RTVMBRL
(Changed: 22.09.2009)

Retrieve Member List V1.4.1
The RTVMBRL service program uses the QUSLMBR API to create a list of members of a file. The list can be unsorted or sorted by name or creation date. RTVMBRL uses the tmpnam, strtok, qsort and memcpy C functions.

Prerequisites: BASICS1 V1.10.

[Home] [Deutsch] [English]

(c) 1997-2012 Thomas Raddatz