Re: Effective region

2023-05-27 Thread Radoslaw Skorupka

Yes, but used <> REGION.
Or rather used <=REGION :-)
However AFAIK SMF30 contains the limits.

--
Radoslaw Skorupka
Lodz, Poland




W dniu 27.05.2023 o 00:35, Mike Schwab pisze:

If you can look at a job that is ended, the job log step completion
message shows the amount used 24/31/64 bit areas.

On Fri, May 26, 2023 at 11:44 AM Radoslaw Skorupka
<0471ebeac275-dmarc-requ...@listserv.ua.edu> wrote:

W dniu 26.05.2023 o 16:39, Phil Smith III pisze:

FYI, Radoslaw, that was getting the "current values 'from inside' of the task", 
to use your phrasing. So you could make this work.

That's what I understood. Thank you again for the help.
However my goal was rather to start, let's say CICS region or some job
(with no changes) and find out effective REGION/MEMLIMIT settings.
I was also pointed to some Mark Zelden's rexx utility which read the
same control blocks. (Thanks!)

However finally I found some new SMFLIM keyword, which should cause
message ...and maybe I'll find some time next Monday to try it.


Regards
--
Radoslaw Skorupka
Lodz, Poland



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Effective region

2023-05-26 Thread Mike Schwab
If you can look at a job that is ended, the job log step completion
message shows the amount used 24/31/64 bit areas.

On Fri, May 26, 2023 at 11:44 AM Radoslaw Skorupka
<0471ebeac275-dmarc-requ...@listserv.ua.edu> wrote:
>
> W dniu 26.05.2023 o 16:39, Phil Smith III pisze:
> > FYI, Radoslaw, that was getting the "current values 'from inside' of the 
> > task", to use your phrasing. So you could make this work.
>
> That's what I understood. Thank you again for the help.
> However my goal was rather to start, let's say CICS region or some job
> (with no changes) and find out effective REGION/MEMLIMIT settings.
> I was also pointed to some Mark Zelden's rexx utility which read the
> same control blocks. (Thanks!)
>
> However finally I found some new SMFLIM keyword, which should cause
> message ...and maybe I'll find some time next Monday to try it.
>
>
> Regards
> --
> Radoslaw Skorupka
> Lodz, Poland
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Effective region

2023-05-26 Thread Tom Brennan
A long time ago when I was working on a limit exit, for testing I would 
run a small program that did a variable length getmain for below/above 
the line, something like this:


  GETMAIN VRC,LV=(1600,32)
  GETMAIN VRC,LV=(20,32),LOC=ANY

... and then spit out the results.  The idea was to avoid using any of 
the storage control blocks and see what *really* came back.  Maybe 
there's something on the CBT Tape that would do similar.


On 5/26/2023 9:43 AM, Radoslaw Skorupka wrote:

W dniu 26.05.2023 o 16:39, Phil Smith III pisze:
FYI, Radoslaw, that was getting the "current values 'from inside' of 
the task", to use your phrasing. So you could make this work.


That's what I understood. Thank you again for the help.
However my goal was rather to start, let's say CICS region or some job 
(with no changes) and find out effective REGION/MEMLIMIT settings.
I was also pointed to some Mark Zelden's rexx utility which read the 
same control blocks. (Thanks!)


However finally I found some new SMFLIM keyword, which should cause 
message ...and maybe I'll find some time next Monday to try it.



Regards


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Effective region

2023-05-26 Thread Radoslaw Skorupka

W dniu 26.05.2023 o 16:39, Phil Smith III pisze:

FYI, Radoslaw, that was getting the "current values 'from inside' of the task", 
to use your phrasing. So you could make this work.


That's what I understood. Thank you again for the help.
However my goal was rather to start, let's say CICS region or some job 
(with no changes) and find out effective REGION/MEMLIMIT settings.
I was also pointed to some Mark Zelden's rexx utility which read the 
same control blocks. (Thanks!)


However finally I found some new SMFLIM keyword, which should cause 
message ...and maybe I'll find some time next Monday to try it.



Regards
--
Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Effective region

2023-05-26 Thread Phil Smith III
FYI, Radoslaw, that was getting the "current values 'from inside' of the task", 
to use your phrasing. So you could make this work.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Effective region

2023-05-26 Thread Gary Weinhold
This sort of control block chasing can usually be done in COBOL, if that helps.

Radoslaw wrote:
W dniu 24.05.2023 o 03:26, Phil Smith III pisze:
> Radoslaw Skorupka wrote:
>> Scenario:
>> Default REGION
>> REGION specified explicitely in JOB card (or in another similar way)
>> SMFLIMxx and/or IEFUSI.
>> Q: how to check effective REGION limit for the job/stc?
> Does this help?
>   L   R7,PSAAOLD-PSAaddress of ASCB
>   USING ASCB,R7
>   L   R7,ASCBLDA
>   USING LDA,R7
>   L   R2,ABOVESZ
>   MVC 0(4,R2),LDAELIM   size of region above the line
>   L   R2,ABOVEAL
>   MVC 0(4,R2),LDAELOAL  size of region above the line
>   L   R2,BELOWSZ
>   MVC 0(4,R2),LDALIMIT  size of region below the line
>   L   R2,BELOWAL
>   MVC 0(4,R2),LDALOALsize of region below the line
>   L   R2,REGSZ
>   MVC 0(4,R2),LDAREGRQ   actual region size
>

Unfortunately no, however I appreciate your effort. Thank you!
No, because I'm assembler (almost) illiterate. No, because as far as I
understand it is good to find out current values "from inside" of the task.

However I reviewed SMF30 data and I think this is the direction I should
follow. That means some report I have to create.



--
Radoslaw Skorupka
Lodz, Poland

Gary Weinhold
Senior Application Architect
DATAKINETICS | Data Performance & Optimization
Phone:+1.613.523.5500 x216
Email: weinh...@dkl.com
Visit us online at www.DKL.com
E-mail Notification: The information contained in this email and any 
attachments is confidential and may be subject to copyright or other 
intellectual property protection. If you are not the intended recipient, you 
are not authorized to use or disclose this information, and we request that you 
notify us by reply mail or telephone and delete the original message from your 
mail system.



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Effective REGION

2023-05-25 Thread Radoslaw Skorupka

W dniu 24.05.2023 o 03:26, Phil Smith III pisze:

Radoslaw Skorupka wrote:

Scenario:
Default REGION
REGION specified explicitely in JOB card (or in another similar way)
SMFLIMxx and/or IEFUSI.
Q: how to check effective REGION limit for the job/stc?

Does this help?
  L   R7,PSAAOLD-PSAaddress of ASCB
  USING ASCB,R7
  L   R7,ASCBLDA
  USING LDA,R7
  L   R2,ABOVESZ
  MVC 0(4,R2),LDAELIM   size of region above the line
  L   R2,ABOVEAL
  MVC 0(4,R2),LDAELOAL  size of region above the line
  L   R2,BELOWSZ
  MVC 0(4,R2),LDALIMIT  size of region below the line
  L   R2,BELOWAL
  MVC 0(4,R2),LDALOALsize of region below the line
  L   R2,REGSZ
  MVC 0(4,R2),LDAREGRQ   actual region size



Unfortunately no, however I appreciate your effort. Thank you!
No, because I'm assembler (almost) illiterate. No, because as far as I 
understand it is good to find out current values "from inside" of the task.


However I reviewed SMF30 data and I think this is the direction I should 
follow. That means some report I have to create.




--
Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Effective REGION

2023-05-23 Thread Phil Smith III
Radoslaw Skorupka wrote:
>Scenario:
>Default REGION
>REGION specified explicitely in JOB card (or in another similar way)
>SMFLIMxx and/or IEFUSI.

>Q: how to check effective REGION limit for the job/stc?

Does this help?
 L   R7,PSAAOLD-PSAaddress of ASCB
 USING ASCB,R7
 L   R7,ASCBLDA
 USING LDA,R7
 L   R2,ABOVESZ
 MVC 0(4,R2),LDAELIM   size of region above the line
 L   R2,ABOVEAL
 MVC 0(4,R2),LDAELOAL  size of region above the line
 L   R2,BELOWSZ
 MVC 0(4,R2),LDALIMIT  size of region below the line
 L   R2,BELOWAL
 MVC 0(4,R2),LDALOALsize of region below the line
 L   R2,REGSZ
 MVC 0(4,R2),LDAREGRQ   actual region size


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Effective REGION

2023-05-23 Thread Radoslaw Skorupka

Scenario:
Default REGION
REGION specified explicitely in JOB card (or in another similar way)
SMFLIMxx and/or IEFUSI.

Q: how to check effective REGION limit for the job/stc?

--
Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN