Probably this is one of the methods. 

So you mean the following:
I must have something like this CL program:

START: SBMJOB(MYJOB)
DLYJOB DLY(120)
GOTO START

Where MYJOB is a job, that must run periodically.

Did I understand you correctly?

> -----Original Message-----
> From: Chris Wolcott [mailto:CWolcott@xxxxxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, December 16, 2004 10:56 PM
> To: c400-l@xxxxxxxxxxxx
> Subject: [C400-L] RE: What is a technique to start a program 
> periodically?
> 
> 
> 
> Does it have to be STARTED?  Could you not put it to sleep, or have a
> 'control job' that submits it then sleeps?
> 
> > -----Original Message-----
> > message: 1
> > date: Thu, 16 Dec 2004 10:52:59 +0200
> > from: "Jevgeni Astanovski" <J.Astanovski@xxxxxxxxxxxx>
> > subject: [C400-L] What is a technique to start a program 
> periodically?
> > 
> > I have a C-program, that must be started, say every X 
> > seconds. X is something like 60...300.
> > Can anyone explain me, how this can be done under OS/400?
> > I understand, that WRKJOBSCDE is not an option...
> > 
> > Thanks in advance,
> > 
> > Jevgeni Astanovski
> 


This thread ...


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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].