Display Spool File Entries (Magic xpa 3.x)
Note: Make sure the connection to IBM i is established before proceeding.
Use this function to display a list of the IBM i spool file entries. The syntax of the UDP is Invoke UDP ('MGEAC32.DSPSPLF', A, B, C, D, E)
Where:
-
A - A string variable representing the system name.
-
B - A string variable representing a user name. The default value is a current user.
-
C - A string variable representing a temporary table library location. The default name is QTEMP.
-
D - A string variable representing a temporary table name for the retrieved spool entries list. The default name is MGSPLLST.
-
E - A numeric variable representing one of the following return codes, 0=successful or -1=Error.
The following example lists all spool entries in the QTEMP/MGSPLLST file for the current user:
Invoke UDP ('MGEAC32.DSPSPLF', SystemName, ' ', ' ', ' ', retcode)
Display a Spool File Entry
Display a Spool File Entry with a Print Control Character
Work with a Spool File Entry