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:
Zac Shields
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5210
People Online:
Visitors:
382
Members:
0
Total:
382
Online Now:
New Topics
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
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
S3 Customization/Development
Read and Write CSV file COBOL
10/9/2024 2:53 PM
Does anyone have a quik example of a program that
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
1372
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
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.
Please
login
to post a reply.