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.
    • Related Articles

    • Job logs

      Whenever InterformNG2 is processing a job a related job log is also created. The job log lists all details, outputs and possible errors/warnings concerning a specific input file. The details for the job logs are divided into these sections: Setup for ...
    • APIs for job logs

      Below the APIs for job logs are listed. APIs are introduced here. Get job log names This returns a list of all the logger names that are used in the job log. These can be used as filter criteria when searching the job log. GET ...
    • Selecting the printer on IBM i

      On the IBM i platform InterformNG2 behaves a bit differently compared to other platforms, when it comes to printers: The supported printer mime types are limited to Direct protocol, PCL and ZPL i.e. Driverprint and Postscript are not supported on the ...
    • Adding new job records in a database

      New job records can be added to the database table by inserting rows in the "job" table. For new jobs, the following columns are used: Column Type Mandatory Value Description processed Integer Yes 0 Indicates processing status of the job. 0 = ...
    • Spool2XML setup and settings on IBM i

      This section covers setup and settings for Spool2XML only. For normal implementation of InterformNG2 on the IBM i platform (without Spool2XML) you can refer to e.g. these sections: Installing InterformNG2 on IBM i and Start/stop InterformNG2 on the ...