Jobinformation subtree

Job information subtree

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:

  1. System
    The name of the IBM i system on which the XML spooled file was created.
  2. QSRLNBR
    The serial number of the IBM i, that created the XML spooled file.
  3. Created
    The time stamp of when the XML spooled file was created.
  4. Job
    The name of the job, that created the XML spooled file.
  5. User
    The user ID, that created the XML spooled file
  6. Jobnbr
    The job number of the job, that created the XML spooled file.
  7. Splf
    The name of the XML spooled file.
  8. Splnbr
    The spooled file number of the XML spooled file.
  9. Outq
    The output queue on which the XML spooled file was picked up (the monitored output queue).
  10. Outqlib
    The library of output queue on which the XML spooled file was picked up (the monitored output queue).
  11. Formtype
    The formtype of the XML spooled file.
  12. Pgm
    The program, that created the XML spooled file.
  13. Pgmlib
    The library of the program, that created the XML spooled file.
  14. Devfile
    The (converted) printer file, that was used when the XML spooled file was created.
  15. Devlib
    The library of the (converted) printer file, that was used when the XML spooled file was created.
  16. Deflib
    The library of the printer file setup in the selected XML definition in IFORMNG2.
  17. Usrdta
    The user data (USRDTA) field of the XML spooled file.
  18. Copies
    The copies attribute of the XML spooled file.
  19. Tooutq
    The destination output queue as setup on the XML defintion.
  20. TooutqLib
    The library of the destination output queue as setup on the XML defintion.