Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

COBOL Programming :: RE: Determine Region with max bandwidth for running jobs

$
0
0
Author: seahawk789
Subject: Re: Reply to: Determine Region with max bandwidth for running jobs
Posted: Mon Feb 27, 2017 9:07 pm (GMT 5.5)

Robert Sample wrote:
It is not at all clear what you are asking. A batch job runs in an address space which will be given a certain amount of memory (the precise amount depends upon the site, the exits installed, and the parameters used at the site such as job class, which may have a memory limit). That address space has that amount of memory and it does not matter whether the COBOL program uses 1% or 100% of the memory (although using 100% could cause issues including ABENDS). When the program is not being executed, the system swaps out the address space and swaps in another one. Asking about % utilization of the LPAR makes no sense at all -- are you still talking memory, or are you talking about CPU usage? When you use the term "region", are you referring to CICS or batch jobs? And most sites allow different job classes to use different resources -- so if this is what you are asking, you MUST contact your site support group as we don't work at your site and have no idea what resources are allocated to each job class.

Bandwidth is a term used with networking -- it has nothing to do with memory and memory utilization.

Tell us what problem you are experiencing and we'll help if we can. But don't expect us to read your mind and figure out what you're asking.



Sorry for not being specific. Actually we have a series of batch jobs that connect to Online CICS modules through CICS Pipes. Sometimes when the CICS region is overloaded (High CPU usage) with large amount of online transactions, the jobs that try to connect to the CICS region is put on hold until CPU usage comes down for that region. Currently the CICS region to which the job connects is hardcoded.

We recently observed that there might be availability of CPU in other online regions, which the jobs could use. But as it is hardcoded we have no way to make the job run in that available region.

So I was looking to identify if there are any APIs/Functions that could be leveraged to efficiently determine the CICS regions with low CPU usage so that the job can connect to online programs and execute the program in that region.

Thanks


Viewing all articles
Browse latest Browse all 9405

Trending Articles