× 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.



I've only used AJS and just added a DLYJOB(##) as part of the job stream if I had any timing issue. Looking at the base JS, I guess it doesn't work that way.

I assume the 2 job submit suggested below would work if the jobq was single thread.

Or, just wrapper the original job in a CL with the delay in there.

Roger Harman
COMMON Certified Application Developer – ILE RPG on IBM i on Power
OCEAN User Group – Vice-President, Membership (2014)





Date: Thu, 13 Nov 2014 11:04:55 +1300
Subject: Re: SMBJOB - with delay
From: auctionitis@xxxxxxxxx
To: midrange-l@xxxxxxxxxxxx

Are you able to submit two jobs instead of one ?
If so create a cl with a DLYJOB of 5 seconds and submit a job to run that
program followed by the program you want to run.

On Thu, Nov 13, 2014 at 11:01 AM, Steinmetz, Paul
wrote:

John,

Originally, was told the sbmjob would work, which it does most of the time.
This is a very slight timing issue.

A CL with a DO loop would work and is probably the simplest to implement.

Calling a pgrm to return the future date and time would also work, but not
guaranteed as the DO loop.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
John Yeung
Sent: Wednesday, November 12, 2014 4:38 PM
To: Midrange Systems Technical Discussion
Subject: Re: SMBJOB - with delay

On Wed, Nov 12, 2014 at 4:26 PM, Steinmetz, Paul
wrote:
Rob,

The reason for the separate job is you can't hold the AJS job while it
running, can't hold yourself, nothing to do with authority.

Maybe I'm being dense (a very good possibility!), but I'm still not seeing
why you can't just use a DO loop around the HLDJOBJS, which was Rob's
*actual* first suggestion, which he dismissed out of hand because he
figured you would already be using it if you could.

John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




--

Regards
Evan Harris
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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.