On 19/04/06, Katy Carter <kathy.carter@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> I am trying to retrieve job information (job number) using QUSRJOBI API.
> Do I have to create a user space and  retrieve the list space first or can I
> just send the api the job name without doing all that.  I know what the job
> name is.
>
>
>
> What I am trying to accomplish is:   I need to end a job;  run a program;
> and submit the job back.  I know the job name but I have to have the number
> in order to end it or I get a duplicate job error msg.

Hi Kathy

As Jonathan mentioned, QUSLJOB is the one to use here. You can view an
example program at
http://www.dbg400.net/cgi-bin/twiki/view/DBG400/RpgleRTVJOBCNT -
hopefully it will give enough ideas to solve your request.

Regards, Martin
--
martin@xxxxxxxxxx  AIM/Gaim: DBG400dotNet  http://www.dbg400.net   /"\
DBG/400 - AS/400 & iSeries Open Source/Free Software utilities     \ /
Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news   X
TWiki - an Enterprise Collaboration Platform - http://twiki.org/   / \


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.