GetSPLList ($UserName) - Retrieves a list of Spooled files for a user.
Arguments |
Value |
Description |
$UserName |
*CURRENT – default |
IBM i username |
|
$spool_list = $SpoolFiles($UserName=”MIKE”) |
|
The return value contains an array with the following elements:
GetSPLF ($SplfName , $SplfNbr, $JobNmbr, $JobName, $JobUser, $TMPFName) - Retrieves a Spooled file’s content.
Arguments |
Value |
Description |
$SplName |
|
Spool file name |
$SplNbr |
|
Spool file number |
$JobName |
|
Job name |
$JobUser |
|
Job user |
$TMPFName |
“ “ - default |
File name to store the Spooled file content |
|
$txt = $SpoolFiles->GetSPLF($spool_list[0]['Name'],
|
|
|
<pre> |
|
|
|
|
Related Links: |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.