Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
GEN productline query in ProcessFlow
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
HireIQ
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5264
People Online:
Visitors:
339
Members:
0
Total:
339
Online Now:
New Topics
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Infor / Lawson Platforms
S3 Systems Administration
GEN productline query in ProcessFlow
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Shane Jones
Veteran Member
Posts: 460
3/29/2007 1:01 AM
I was told that I could use processflow to query the Job Queue to determine when a job is complete, needs recovery or still active?
However, the GEN productline is not available and the table(file) named QUEUEDJOB is not available in the processflow query builder? I know that someone is doing this an I am trying to find out how to make this file show up when creating a query in processflow.
Anyone know how to make GEN tables(files) show up when creating a query????
Shane Jones
Veteran Member
Posts: 460
3/29/2007 1:12 AM
Split
Okay...
I just made it work:
PROD=GEN&FILE=QUEUEDJOB&FIELD=STATUS;JOBNAME;USERNAME&OUT=CSV&DELIM=~
I just need to determine the criteria for the pull.... and the various nodes.
This might be a good topic for tips and tricks. With an AGS, JOBRUN, AGS, BRANCH, EMAILS a processflow could be run to update a job like PA100, run the job, verify when done... and email someone. A more advanced use would be to loop the query on QUEUEDJOB until the job is complete and then run another job that relies on the completion of the first job...
(Does anyone know where I can get a list of the fields in the QUEUEDJOB table?)
Phillip Feller
Basic Member
Posts: 12
3/29/2007 2:40 PM
Split
Hi Shane,
The command 'dbdesc gen queuedjob' will give you a list of the fields, and cryptic information about each of them. The command 'prtdict gen queuedjob' will give you more information about how QUEUEDJOB is defined in the data dictionary, but it is not particularly easy to parse. I wrote a Java progam to read a Lawson data dictionary, so that I could get GEN information in a more readily understanable format. For QUEUEDJOB, it shows:
QUEUEDJOB
FIELD NAME DESCRIPTION
JobNumber ALPHA 10
UserName ALPHALC 10
JobName ALPHA 10
JobQueue ALPHA 10
Status BINARY 1
Type BINARY 1
SeqNumber NUMERIC 5
RstStepNbr NUMERIC 5
StartDate YYYYMMDD 8
StartTime TIME 6
ActStartDate YYYYMMDD 8
ActStartTime TIME 6
StopDate YYYYMMDD 8
StopTime TIME 6
ProductLine ALPHA 14
Token ALPHALC 10
Filler2 ALPHA 2
ProcessId BINARY 4
UserId BINARY 4
MachineName ALPHALC 10
QUEUEDJOB FILE INDEX
NAME KEY FIELDS DESCRIPTION / SUBSET CONDITION
QJBSET1 JobNumber keyChange
QJBSET10 StopDate* keyChange, Subset (COMPLETED)
StopTime* Where Status >= 060+
UserName AND Status <= 089+
JobName
JobNumber
QJBSET2 Status keyChange
JobNumber
QJBSET3 Status keyChange
JobQueue
SeqNumber
JobNumber
QJBSET4 JobQueue keyChange
Status
SeqNumber
JobNumber
QJBSET5 ProductLine keyChange
Token
Status
JobNumber
QJBSET6 UserName keyChange, Subset (ACTIVE)
ActStartDate Where Status >=
ActStartTime AND Status <= 029+
JobName
JobNumber
QJBSET7 JobQueue keyChange, Subset (ACTIVE)
ActStartDate Where Status >=
ActStartTime AND Status <= 029+
UserName
JobNumber
QJBSET8 UserName keyChange, Subset (WAITING)
ActStartDate Where Status >= 030+
ActStartTime AND Status <= 059+
JobName
JobNumber
QJBSET9 JobQueue keyChange, Subset (WAITING)
ActStartDate Where Status >= 030+
ActStartTime AND Status <= 059+
UserName
JobNumber
QJBSET911 UserName keyChange
JobName
Status
JobNumber
QJBSET912 UserName keyChange, Subset (COMPLETED)
StopDate* Where Status >= 060+
StopTime* AND Status <= 089+
JobName
JobNumber
Sanford Barton
Basic Member
Posts: 10
4/3/2007 2:38 PM
Split
I wouldn't use processflow for batch monitoring if it's terribly critical. I ended up writting my own batch monitor and paging system. Be happy to share it with anyone who would like it. Must be on UNIX/Oracle to work as I wrote it in oratcl. Also requires it's own Oracle tablespace to store info about users, jobs, etc. Uses sendmail to page but could use pretty much anything you like.
Greg Moeller
Veteran Member
Posts: 1498
10/2/2007 5:05 PM
Split
Sanford: I'd be interested in what you have got written.
Contact me at moellerg@genesishealth.com or here.
Please
login
to post a reply.