ActiveX AS/400 Objects - Spoolfile


 

Name Type Description
AutoMessages Boolean Set True to halt and display error messages. Default = false
JobName String AS/400 job name of spool file to open using OpenSplF.
JobNumber String AS/400 job number of spool file to open using OpenSplF.
ReadBufferSize Long Number of SCS bytes to read at a time. Defaults to 2048.
SplFName String AS/400 spool file name of spool file to open using OpenSplF.
SplFNumber Long AS/400 spool file number of spool file to open using OpenSplF.
SystemName String Name of AS/400 system. Defaults if blank.
UserName String AS/400 user name of spool file to open using OpenSplF.

 

 

 

Name Type Description
AttrAFP String Advanced function printing attribute of opened spoolfile.
AttrAlign String Align page attribute of opened spoolfile.
AttrCPI String Characters per inch attribute of opened spoolfile.
AttrDate String Date of file attribute of opened spoolfile.
AttrDeviceType String Device type attribute of opened spoolfile.
AttrHold String Hold status attribute of opened spoolfile.
AttrJobName String Job name attribute of opened spoolfile.
AttrJobNumber String Job number attribute of opened spoolfile.
AttrLPI String Lines per inch attribute of opened spoolfile.
AttrOutQ String Output queue name where opened spoolfile resides.
AttrOutQLibrary String Library name where AttrOutQ resides.
AttrPageLength String Length of page attribute of open spoolfile.
AttrPages String Number of pages attribute of opened spoolfile.
AttrPageWidth String Width of page attribute of open spoolfile.
AttrPrinterFileLibrary String Library name where AttrPrintFileName resides.
AttrPrintText String Print text attribute of opened spoolfile.
AttrRecordLength String Record length attribute of opened spoolfile.
AttrSave String Save file attribute of opened spoolfile.
AttrSplfName String Spool file name attribute of opened spoolfile.
AttrSplFNumber String Spool file number attribute of opened spoolfile.
AttrStatus String Status attribute of opened spoolfile.
AttrTime String Time attribute of open spoolfile.
AttrUserData String User data attribute of opened spoolfile.
AttrUserName String User name attribute of opened spoolfile.
EndOfFile Boolean Returns True after entire spoolfile contents have been process with NextLine method.
Message String Most recent diagnostic message generated.
Opened Boolean Returns True if spool file is open.
RC Long Most recent CA/400 dll return code.

 

 

Name Type Description
CloseSplF Boolean Closes connection to spool file opened with OpenSplF. Returns True if completed normally.
DeleteSplF Boolean Deletes a spool file opened with OpenSplF. Returns True if completed normally.
NextLine String Return the next line of SCS characters from spool file opened with OpenSplF.
OpenSplF Boolean Opens a connection to a spool file. Returns True if completely normally.

 

  • VB, VBA SpoolFile example:

See class:SpoolFiles

2003 - Chouinard & Myhre, Inc.