Salesforce

Display a Spool File Entry (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Display a Spool File Entry (Magic xpa 3.x)

Note: Make sure the connection to IBM i is established before proceeding.

Use this function to display an IBM i spool file entry. The syntax of the UDP is Invoke UDP ('MGEAC32.DSPSPLFE', A, B, C, D, E, F, G, H, I)

Where:

  • A – A string variable representing the system name.

  • B – A string variable representing a spool file entry name. The default value is QPRINT.

  • C – A string variable representing a spool file entry number. The default value is *LAST.

  • D – A string variable representing a job number. The default value is the current job.

  • E – A string variable representing the job name.

  • F – A string variable representing the user name. The default value is the current user.

  • G – A string variable representing a temporary table library location. The default name is QTEMP.

  • H – A string variable representing the temporary table name for the retrieved spool file entry.

  • I – A numeric variable representing one of the following return codes, 0=successful or -1=Error.

The following example retrieves a spool file entry. The spool file entry can be viewed in the QTEMP/MGF255 file:

Invoke UDP ('MGEAC32.DSPSPLFE', SystemName, SplfName, SplfNumber, JobNumber, JobName, UserName, ", ", retcode)

Related Topics

Reference
Attachment 
Attachment