× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



DSPJOBLOG of the submitted job that is on the jobq shows the command to
execute.  If there is an API that can do this, then you're home free.
Otherwise, you can DSPJOBLOG OUTPUT(*PRINT), copy the spooled file to a
database file, read and parse it with a program to find the command
execution information....

HTH
Steve Landess
Austin, Texas
(512) 423-0935


----- Original Message -----
From: "Scott Lindstrom" <SLindstrom@Pactiv.com>
To: <MIDRANGE-L@midrange.com>
Sent: Tuesday, November 05, 2002 12:45 PM
Subject: Looking for API to retrieve command and parms being invoked by a
job


> I would like to write a application to detect when duplicate jobs have
been
> submitted and move the duplicates lower in the JOBQ.  I would define
> duplicates as jobs with the same job name/userid/command string to be
> executed (eg, CALL PGMX PARM('12345' 'SMITH')).
>
> I have been unable to find an API that would retrieve the command to be
> executed.  (Would this be the RQSDTA?).  QUSRJOBI comes close, but I don't
> see the command info there.
>
> Does anyone have any idea if this exists?
>
> Scott Lindstrom
> Pactiv Corp
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.