844-NOGALIS (844-664-2547)
Nogalis, Inc.
  • Link to Facebook
  • Link to X
  • Link to LinkedIn
  • Link to Mail
  • Company
    • News, Events and Articles
    • About Us
  • Products
    • Infor Lawson Data Archive
    • PeopleSoft Data Archive
    • Oracle Data Archive
  • Services
    • Infor Lawson Support
    • Infor Lawson / CloudSuite Consulting
  • Education & Training
  • Support
  • Contact Us
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

How the GEN job tables connect

Articles, Frontpage Article, News

The GEN job tables provide detailed information about job execution, allowing for tracking and troubleshooting. Each table serves a specific function in recording various aspects of the job lifecycle, from submission through execution to completion. This structure ensures clear mapping of relationships and dependencies among the tables, which is essential for monitoring and managing batch processes efficiently allowing admins to be able to trace job progress and diagnose issues at both macro and micro levels.

🔹 Job Table Relationships

JOBQUEUE (one row per submitted job)

|

|–< JOBSTEP (one or more steps per job)

|       |

|       |–< JOBSTEPLOG (messages for each step)

|

|–< JOBLOG (high-level messages/logs for the job)

|

|–< JOBPARM (parameters used when submitting job)

🔹 GEN tables related to jobs:

JOBQUEUE.JobQueue = primary key (ties everything together).

JOBSTEP.JobQueue → foreign key to JOBQUEUE.

JOBLOG.JobQueue → foreign key to JOBQUEUE.

JOBPARM.JobQueue → foreign key to JOBQUEUE.

Each job in the system is uniquely identified by the JobQueue value, which acts as the primary key and links related records across all main tables. By using foreign keys, the JOBSTEP, JOBLOG, and JOBPARM tables maintain referential integrity, allowing for efficient tracking and management of job execution details and associated parameters.

To retrieve comprehensive job execution data, a query can be constructed that joins the JOBQUEUE table with JOBSTEP, JOBLOG, and JOBPARM using the JobQueue field. This ensures all relevant information, such as job parameters, execution steps, and log messages, can be efficiently accessed and analyzed for each job instance.

Here is an example of a query to find who ran the GL199 with any messages found in the joblog. The results will show

  • Who ran it → UserName.
  • When it ran → StartDate + StartTime.
  • Job status → Status (Success, Error, etc.).
  • Parameters used → from JOBPARM.
  • Messages → from JOBLOG.

 

SELECT     JQ.JobName,    JQ.Program,    JQ.UserName,    JQ.StartDate,    JQ.StartTime,    JQ.EndDate,    JQ.EndTime,    JQ.Status,    JP.ParameterName,    JP.ParameterValue,    JL.Message

FROM GEN.dbo.JOBQUEUE JQ

LEFT JOIN GEN.dbo.JOBPARM JP ON JQ.JobQueue = JP.JobQueue

LEFT JOIN GEN.dbo.JOBLOG JL ON JQ.JobQueue = JL.JobQueue

WHERE JQ.Program = ‘GL199’

ORDER BY JQ.StartDate DESC, JQ.StartTime DESC;

 

Retiring Lawson, PeopleSoft, or Oracle? APIX archives the entire application — every table, every year, attachments and security included — into your own AWS account in about 30 days, so you can decommission the legacy system and keep full access to the history.

See how the APIX ERP archive works →

04/17/2026
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://www.nogalis.com/wp-content/uploads/2026/04/How-the-GEN-job-tables-connect.jpg 470 470 Angeli Menta https://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.png Angeli Menta2026-04-17 08:44:332026-04-09 11:53:29How the GEN job tables connect

LEGACY ERP DATA ARCHIVE SOLUTION



Discover how our clients are leveraging AWS services to archive their Legacy ERP data and provide ubiquitous access to users via a light-weight, secure, and read-only web interface. Secure, Fast, Reliable, and Cost Effective. That is the promise of APIX. Follow the link below to find out more and book a discovery call with our data archive specialist.

BOOK DEMO

© Copyright - Nogalis, Inc. 2026
  • Legal
  • Privacy
  • Contact Us
Link to: Steering Cloud ERP Migrations with Data Governance Link to: Steering Cloud ERP Migrations with Data Governance Steering Cloud ERP Migrations with Data Governance Link to: Weekly Patch Notification: April 18, 2026 Link to: Weekly Patch Notification: April 18, 2026 Weekly Patch Notification: April 18, 2026
Scroll to top Scroll to top Scroll to top