View previous topic :: View next topic
|
Author |
Message |
Thanatopsis
New User
Joined: 02 Dec 2010 Posts: 7 Location: Houston
|
|
|
|
Hello,
I was wondering if anyone knew offhand if there is an SVC or system call in assembler with which a program can look up its region size (total size and/or available etc).
Thanks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Try rummaging through the JFCB (example using R1). Not sure of the JFCB DSECT name, but it's probably in SYS1.MACLIB or SYS1.MODGEN -
Code: |
L R1,X'21C' POINT TO 'TCB'
L R1,X'B4'(,R1) POINT TO 'JFCB'
|
Bill |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
I am not aware of any system service that will provide what you are looking for. However the LDA control block has what you want . |
|
Back to top |
|
|
Thanatopsis
New User
Joined: 02 Dec 2010 Posts: 7 Location: Houston
|
|
|
|
Found it. Thanks guys. |
|
Back to top |
|
|
|