You could have the option that submits the job create a data area that is
updated somehow by the submitted program. then have the interactive job
display an indicator from the data area.



Mark Walter
Sr. Programmer/Analyst
Hanover Wire Cloth a div of CCX, Inc.
717.637.3795 Ext.3040

                    "James W. Kilgore"
                    <eMail@James-W-Kilg        To:
          >                   cc:
                    Sent by:                   Subject:     Interactive lock 
down while batch runs

                    12/20/01 07:26 PM
                    Please respond to


We are attempting to shift some legacy interactive workload to batch and
have a
situation that I would like some feedback on.

For example, a Payroll process is usually a batch type work load.  The menu
system gives the user a choice to:

(there's more but these are the batch type workload)

1) verify the payroll entries
2) run the calculations
3) print the checks
4) post the payroll

It would be real simple to take option #1 and make it a SBMJOB, if, and
it's a
big IF, I could get the people to not run #2 until #1 is done.

Now I know that I could lock an object and prevent #2 from being run while
#1 is
already running and have the user try again every five minutes or so.  They
won't go for that.  Why? Because they are used to having a progress bar
displayed showing them how many minutes are left in the process so they can
some other stuff while they wait.  They don't have do try and die, they
watch and wait.

So here is what I would like to do:

1) have the job perform a SBMJOB to utilize the batch CPW
2) lock down the workstation, showing a process bar during the run

If the payroll run were only one program I could have the interactive
contain a data queue to sync with the SBMJOB process, but the batch process
is a
series of programs, each having their own progress bar: compute gross
compute 401k, compute section 125 medical, compute federal taxes, compute
takes, compute disability, compute garnishments, etc.

I'm thinking that I would write an interactive "requester" that sits on a
queue to lock the workstation, does the SBMJOB and each step feeds back
particular point in time back to the requester which displays the progress
Since the interactive session uses very little resources it should have
impact on the interactive CPW.

Any better suggestions?

J. Kilgore
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email:
To subscribe, unsubscribe, or change list options,
or email:
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.