On 5/24/21 1:53 PM, Frank Clarke wrote:
> ... or he could run those jobs in background, produce -n- transaction files (one from each), then feed the (sorted?) transactions into a process that puts them all into an ISPF table or a VB file or a whatever file.
> Tying up a TSO session waiting for -n- background jobs to complete is wasteful unless there's some critical need to have the information available instantly. I mean, he's collecting taxes, not landing a crew on Mars.
> This isn't a coding problem. This is a design problem.
>
>
> On Monday, May 24, 2021, 01:29:43 PM EDT, Jeremy Nicoll <
jn.ls....@letterboxes.org> wrote:
>
> On Mon, 24 May 2021, at 18:17, Joseph Reichman wrote:
>
>> So I want to display the progress of the entire search in a TBDISPL
>> output initially
>> Growing till finally when they complete
>> Until it completes there is n’t the need for user interaction
>>
>> I thought I could this with control display lock and tbadd’s and TBDISPL
> It's possibly possible, but is it a good idea? It only makes sense, I think,
> if the rexx exec that's running this is continually busy, updating the info
> about the running jobs. That sounds to me like a lot of wasted CPU,
> and a TSO session that's unusable for anything else while this runs.
>
> Why not collect the progress data when the user presses Enter and
> (implicitly) gives control back to the governing exec so that it can
> update the table and redisplay it?
>
> Then the tso/ispf session can be used for other things at the same
> time.
>