• Subject: Re: DspPgmRef locks objects at *SHRNUP; need to change wait time
  • From: HwaRangRon@xxxxxxx
  • Date: Thu, 4 Nov 1999 22:19:26 EST

In a message dated 11/4/99 7:07:11 PM Pacific Standard Time, 
dbale@genfast.com writes:

<< I guess the submitting batch job could change the submitted job, eh?  I'll 
have
 to look up the archives to see how to retrieve the job number of the job just
 submitted.  (RCVMSG ???) >>
You could try this:

CRTCLS CLS(QGPL/NOWAIT) DFTWAIT(1)  
                                                        
 ADDRTGE SBSD(QBATCH) SEQNBR(12345) CMPVAL(NOWAIT)  PGM(QSYS/QCMDB) 
CLS(QGPL/NOWAIT)   
   
Then change your submit job command to something like this:
SBMJOB YadaYadaYada  RTGDTA(NOWAIT)     

You might want to use a better naming/numbering convention, but you get the 
idea.
I haven't done this, but it seems like it should work.

Ron
                                                              
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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 on our policy page. If you have questions about this, please contact [javascript protected email address].