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.
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 ...
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 = ...
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 PCL5, PCL6 and ZPL (Direct protocol can be used, but is a legacy printer language, ...
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 ...