How to access Lawson Job output from a Java program

 1 Replies
 0 Subscribed to this topic
 18 Subscribed to this forum
Sort:
Author
Messages
jjm3101
New Member
Posts: 0
New Member
Greetings,

I am trying to determine the best way to access output from a Lawson Jobdef. It is a multistep job and I want a way that a Java program by having key information about the job user id , job name can automatically read the output files from the latest directory output for that job and process them to a .zip file for transport.

Is there a series of system DB tables that contain the actual job output directory user id ,run number etc. for all platforms. I was thinking the java program could process a query against this table and then access the files with an operating system call.

Thanks for your help,

JMan
John Henley
Posts: 3364
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
You can use the DME servlet to query against various "tables" in GEN: QUEUEDJOB, JOB, JOBSTEP, JOBSTEPRPT, etc. to get that information.
Thanks for using the LawsonGuru.com forums!
John