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:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
177
Members:
0
Total:
177
Online Now:
New Topics
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Systems Administration
GEN productline query in ProcessFlow
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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
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
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
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
Sanford: I'd be interested in what you have got written.
Contact me at moellerg@genesishealth.com or here.
You are not authorized to post a reply.