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



Hello Alan...

It sounds like you are looking to use the scheduled job as a template and
submit that job with a different start time, leaving the existing job
schedule entry intact. Would that be a fair assumption?

If so, then I'm not sure there's a deliberate command to do that. The
easiest way to do that would be to collect the scheduled job's information
(especially the JOBD changes you are concerned about) and populate a
skeleton CL submission program.

Have a good day.


Blake Moorcroft
Developer - Corporate
Russell A. Farrow Limited
1980 Ambassador Drive, PO Box 333, Windsor, Ontario N9C 3R4
Bus: 519-966-3003 ext. 566, Fax: 519-966-9870
blake.moorcroft@xxxxxxxxxx




Alan Shore
<AlanShore@xxxxxx
om> To
Sent by: rpg400-l@xxxxxxxxxxxx
rpg400-l-bounces@ cc
midrange.com
Subject
Work with Job Schedule Entries
11/05/2008 09:42
AM


Please respond to
RPG programming
on the AS400 /
iSeries
<rpg400-l@midrang
e.com>







Morning all
I know that there is a way to programmatically hold a job schedule entry
HLDJOBSCDE JOB(JOBNAME)
and there is a way to programmatically release a job schedule entry
RLSJOBSCDE JOB(JOBNAME)

My question is:-
is there a way to submit the Job schedule entry.
I know I could code the same SBMJOB parameters, but if the JOBQ or the JOBD
changes on the WRKJOBSCDE for whatever reason, this program would also
require to be changed for the same parameters

Hopefully the question I am asking makes sense



Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxxxxx
P:(631) 244-2000 ext. 5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.