When you generate an XML file with Spool2XML, then the output XML file contains a JOBINFORMATION subtree like shown below:
<IFORMNG FRAGMENTED="false">
<JOBINFORMATION>
<SYSTEM>PMK250</SYSTEM>
<QSRLNBR>785F48X</QSRLNBR>
<CREATED>2020-03-30-16.59.28.711000</CREATED>
<JOB>AMA0090864</JOB>
<USER>VICB</USER>
<JOBNBR>220598</JOBNBR>
<SPLF>AM64MRP1</SPLF>
<SPLNBR>4</SPLNBR>
<OUTQ>MONITOR</OUTQ>
<OUTQLIB>QUSRSYS</OUTQLIB>
<FORMTYPE>POFM</FORMTYPE>
<PGM>AM64M</PGM>
<PGMLIB>AMALIB</PGMLIB>
<DEVFILE>AM64MRP1</DEVFILE>
<DEVLIB>IFORMDEV</DEVLIB>
<USRDATA>AM64M</USRDATA>
<COPIES>1</COPIES>
<TOOUTQ>MONITOR</TOOUTQ>
<TOOUTQLIB>QUSRSYS</TOOUTQLIB>
</JOBINFORMATION>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.