|
In your offlist reply you said that 'batch' was mainly an accounting term. The program is ran interactively. Therefore you don't need to do the RTVJOBA stuff. First make sure that the source are looking at is the match for the program. DSPPGM mylib/mypgm Source file . . . . . . . . . . . . . . . . . . : QPGMSRC Library . . . . . . . . . . . . . . . . . . . : ROB Source member . . . . . . . . . . . . . . . . . : A Source file change date/time . . . . . . . . . . : 05/17/04 14:28:46 Then WRKMBRPDM mylib/mysrcfile mypgm 8=Display description Change date . . . . . . : 05/17/04 Change time . . . . . . : 14:28:46 To debug this, set a breakpoint on 710. Then 'step' through each line, holding a stop watch. Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com murali dhar <hydchap1@xxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 03/15/2005 05:12 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc Subject Re: change job No problem, thanks for your reply. I have following steps in our batch 710 CALL YGFECARC 712 CHGJOB BRKMSG(*NORMAL) 714 CALL YRISKM1C PARM(*REFRESH) chgjob is not part of any program but an individual step, which is surprisingly taking more time..How can I debug this particular step, I have steps till 1500... Would the following code can fit into this scenario? Thanks very much, rob@xxxxxxxxx wrote: No offense, but even if a coworker told me that I'd be running that program in debug to see if it really did hang on that one statement, or if it was another process. You can debug a batch job with STRSRVJOB and STRDBG. IF it is true, I wonder what the point of a CHGJOB BRKMSG(*NORMAL) in a batch job is? Would doing the following make any sense? RTVJOBA TYPE(&JOBTYPE) if (&jobtype='1') do // Interactive job CHGJOB BRKMSG(*NORMAL) EndDo Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com murali dhar Sent by: midrange-l-bounces+rob=dekko.com@xxxxxxxxxxxx 03/15/2005 03:34 PM Please respond to Midrange Systems Technical Discussion To Midrange Systems Technical Discussion cc Subject change job Hi I have a step in our main batch which is as follows: CHGJOB BRKMSG(*NORMAL) I believe the processing of this command does take few seconds.... But in our batch, this step is taking a lot of time around 20min to process(complete)... can some one throw light what must be wrong?thi is affecting performance of our batch by taking more time? any suggestions to improve? Appreciate your help, thanks very much always, --------------------------------- Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. -- 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. --------------------------------- Do you Yahoo!? Yahoo! Small Business - Try our new resources site! -- 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 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.