When you generate an XML file with Spool2XML, then the output XML file contains a JOBINFORMATION subtree like shown below:
The contents of this subtree contains information of the job and spooled file, that created the XML file:
System
The name of the IBM i system on which the XML spooled file was created.
QSRLNBR
The serial number of the IBM i, that created the XML spooled file.
Created
The time stamp of when the XML spooled file was created.
Job
The name of the job, that created the XML spooled file.
User
The user ID, that created the XML spooled file
Jobnbr
The job number of the job, that created the XML spooled file.
Splf
The name of the XML spooled file.
Splnbr
The spooled file number of the XML spooled file.
Outq
The output queue on which the XML spooled file was picked up (the monitored output queue).
Outqlib
The library of output queue on which the XML spooled file was picked up (the monitored output queue).
Formtype
The formtype of the XML spooled file.
Pgm
The program, that created the XML spooled file.
Pgmlib
The library of the program, that created the XML spooled file.
Devfile
The (converted) printer file, that was used when the XML spooled file was created.
Devlib
The library of the (converted) printer file, that was used when the XML spooled file was created.
Deflib
The library of the printer file setup in the selected XML definition in IFORMNG2.
Usrdta
The user data (USRDTA) field of the XML spooled file.
Copies
The copies attribute of the XML spooled file.
Tooutq
The destination output queue as setup on the XML defintion.
TooutqLib
The library of the destination output queue as setup on the XML defintion.