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



1)  We've gotten out of the habit of using 10-Submit Immediately.  It 
often will use many of the features of your current environment.  Instead 
we'll just change the entry to a time about 30 seconds into the future. 
Don't know how many times we use 10 and it worked great only to find it 
failed when ran during the night.  Therefore 10 is not a valid test.

2)  On an addjobscde, and NOT on submit immediately, it should use the 
library list of the job description listed in the JOBD portion of 
ADDJOBSCDE.  If you find this not to be true, then there is one way to 
gain some more insurance.  Instead of putting a call directly on the 
command, have it do a SBMJOB.  Sample:
ADDJOBSCDE JOB(RICHARD) 
           CMD(SBMJOB CMD(CALL PGM(MYPGM)) JOB(RICHARDJS) 
               JOBD(MYLIB/MYJOBD) PRTDEV(*JOBD) OUTQ(*JOBD)
               USER(*JOBD) INLLIBL(*JOBD)) 
           FRQ(*WEEKLY) 
           SCDDATE(*NONE) 
           SCDDAY(*MON) 
           SCDTIME('08:00') 
Remembering to prompt on the SBMJOB command and override numerous of the 
defaults away from *CURRENT, *USER, etc.

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 




"Richard B Baird" <rbaird@xxxxxxxxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces+rob=dekko.com@xxxxxxxxxxxx
04/02/2003 02:49 PM
Please respond to Midrange Systems Technical Discussion
 
        To:     midrange-l@xxxxxxxxxxxx
        cc: 
        Fax to: 
        Subject:        WRKJOBSCDE, library lists, and user ids.


hey all,

I'm more than just a little perplexed with the behaviour of WRKJOBSCDE.

It appears that everytime you either add, change or submit immediately a
scheduled job, you must have your library list set so that the job will 
run
properly.

When you add an entry, it appears to use the current library list when it
runs.

When you make a change to the entry, it appears to reset the library list
you run it under to your current library list.

When it is submitted immediately, it appears to run under userid in the
USER parameter, but whoever submitted the job gets the submit and job end
messages.

Does this sound right?  I would think that it would use the initial 
library
list of the jobd, or the user's initial libl, or that from his jobd.  but
not the current library list.

Is there someplace I can look to verify the rules for using WRKJOBSCDE?

thanks,

Rick


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