On 29-Jan-2015 17:10 -0600, Steinmetz, Paul wrote:
On Thu, Jan 29, 2015 at 3:43 PM, Steinmetz, Paul wrote:
Is there a command that will result in an outfile for WRKUSRJOB?
Currently only * or *PRINT are options.
We have an IVR outgoing process, which we want to recycle all the
jobs once a day.
Need to output the list of jobs to a file.
Then reading this file,
ENDJOB JOB(&job/&user/&number) OPTION(*CNTRLD)
FWiW: If both a job name and user is known [by which to identify
these IVR jobs], then note that the End Job (ENDJOB) command allows for
an _unspecified_ job number; i.e. either JOB(*N/JobUser/JobName) or
JOB(JobUser/JobName). And if there is a list of jobs [rather than just
one] of that name, then rather than coding an explicit request to
generate that list yourself, the ENDJOB also has a parameter for which
generating the list of jobs matching that generic specification can be
requested by the system Work Control (WT) feature. The list is produced
as diagnostic messages CPF0906; there are likely many examples of
receiving that message (RCVMSG) and using the replacement text to get
each job number. The listing is requested explicitly using the
Duplicate Job Option (DUPJOBOPT) parameter specification of *MSG; if the
default of *SELECT is used [implicitly or explicitly], then the "Select
Job" panel is presented in an interactive job when duplicates are found.
As an Amazon Associate we earn from qualifying purchases.
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.