Re: 64 bit question

2013-06-13 Thread John McKown
Why not just try to get memory above the line, using IARST64 REQUEST=GET,
and check the return code?

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A9B0/4.1

Or, you might check the CVTV64 bit in the CVTOSLV2 flag field of the CVT
(CVT macro), after checking that FLCARCH is non-zero in the PSA (IHAPSA
macro).

  USING PSA,0
  CLI FLCARCH,0
  BZ   NO64BIT
  L 1,FLCCVT
  DROP 0
  USING CVT,1
  TM   CVTOSLV2,CVTV64
  BZ   NO64BIT
...
  IHAPSA DSECT=YES,LIST=YES
  CVT  DSECT=YES,LIST=YES


On Thu, Jun 13, 2013 at 11:45 AM, Scott Ford scott_j_f...@yahoo.com wrote:

 All,

 After reading through the Extended Addressability Guide/ref I have a
 question..
 How do I tell if a machine will support 64 bit storage above the bar ? I
 mean like a Assembler macro query ..I want to use 64bit storage but I don't
 know to tell programmatically what the allocation is for the system.

 Regards,

 Scott ford
 www.identityforge.com
 from my IPAD

 'Infinite wisdom through infinite means'




--
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! 
John McKown


Re: 64 bit question

2013-06-13 Thread Randy Schafer
You could also try

STFLE FUNCTION

Then check the first word:

- Bits (0-7)

0 - N3 INSTRUCTIONS AVAILABLE
1 - Z/ARCH MODE INSTALLED
2 - Z/ARCH MODE ACTIVE
3 - DAT ENHANCEMENT INSTALLED
4 - IDTE DOES CLEARING (ASCE)
6 - ASN AND LX REUSE INSTALLED
7 - STFLE AVAILABLE


-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On 
Behalf Of John McKown
Sent: Thursday, June 13, 2013 12:08 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: 64 bit question

Why not just try to get memory above the line, using IARST64 REQUEST=GET, and 
check the return code?

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A9B0/4.1

Or, you might check the CVTV64 bit in the CVTOSLV2 flag field of the CVT (CVT 
macro), after checking that FLCARCH is non-zero in the PSA (IHAPSA macro).

  USING PSA,0
  CLI FLCARCH,0
  BZ   NO64BIT
  L 1,FLCCVT
  DROP 0
  USING CVT,1
  TM   CVTOSLV2,CVTV64
  BZ   NO64BIT
...
  IHAPSA DSECT=YES,LIST=YES
  CVT  DSECT=YES,LIST=YES


On Thu, Jun 13, 2013 at 11:45 AM, Scott Ford scott_j_f...@yahoo.com wrote:

 All,

 After reading through the Extended Addressability Guide/ref I have a
 question..
 How do I tell if a machine will support 64 bit storage above the bar
 ? I mean like a Assembler macro query ..I want to use 64bit storage
 but I don't know to tell programmatically what the allocation is for the 
 system.

 Regards,

 Scott ford
 www.identityforge.com
 from my IPAD

 'Infinite wisdom through infinite means'




--
This is a test of the Emergency Broadcast System. If this had been an actual 
emergency, do you really think we'd stick around to tell you?

Maranatha! 
John McKown


Re: 64 bit question

2013-06-13 Thread John McKown
Hum, I really find bit 7 amusing. What does STFLE set that bit to when
STFLE is not available. No, wait, what?

On Thu, Jun 13, 2013 at 12:14 PM, Randy Schafer 
randy.schafer.a...@statefarm.com wrote:

 You could also try

 STFLE FUNCTION

 Then check the first word:

 - Bits (0-7)

 0 - N3 INSTRUCTIONS AVAILABLE
 1 - Z/ARCH MODE INSTALLED
 2 - Z/ARCH MODE ACTIVE
 3 - DAT ENHANCEMENT INSTALLED
 4 - IDTE DOES CLEARING (ASCE)
 6 - ASN AND LX REUSE INSTALLED
 7 - STFLE AVAILABLE


 -Original Message-
 From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
 On Behalf Of John McKown
 Sent: Thursday, June 13, 2013 12:08 PM
 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
 Subject: Re: 64 bit question

 Why not just try to get memory above the line, using IARST64 REQUEST=GET,
 and check the return code?

 http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A9B0/4.1

 Or, you might check the CVTV64 bit in the CVTOSLV2 flag field of the CVT
 (CVT macro), after checking that FLCARCH is non-zero in the PSA (IHAPSA
 macro).

   USING PSA,0
   CLI FLCARCH,0
   BZ   NO64BIT
   L 1,FLCCVT
   DROP 0
   USING CVT,1
   TM   CVTOSLV2,CVTV64
   BZ   NO64BIT
 ...
   IHAPSA DSECT=YES,LIST=YES
   CVT  DSECT=YES,LIST=YES


 On Thu, Jun 13, 2013 at 11:45 AM, Scott Ford scott_j_f...@yahoo.com
 wrote:

  All,
 
  After reading through the Extended Addressability Guide/ref I have a
  question..
  How do I tell if a machine will support 64 bit storage above the bar
  ? I mean like a Assembler macro query ..I want to use 64bit storage
  but I don't know to tell programmatically what the allocation is for the
 system.
 
  Regards,
 
  Scott ford
  www.identityforge.com
  from my IPAD
 
  'Infinite wisdom through infinite means'
 



 --
 This is a test of the Emergency Broadcast System. If this had been an
 actual emergency, do you really think we'd stick around to tell you?

 Maranatha! 
 John McKown




--
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! 
John McKown


Re: 64 bit question

2013-06-13 Thread Randy Schafer
Not sure I have a machine I can try that on.  Looks like a trap.

-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On 
Behalf Of John McKown
Sent: Thursday, June 13, 2013 12:19 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: 64 bit question

Hum, I really find bit 7 amusing. What does STFLE set that bit to when STFLE is 
not available. No, wait, what?

On Thu, Jun 13, 2013 at 12:14 PM, Randy Schafer  
randy.schafer.a...@statefarm.com wrote:

 You could also try

 STFLE FUNCTION

 Then check the first word:

 - Bits (0-7)

 0 - N3 INSTRUCTIONS AVAILABLE
 1 - Z/ARCH MODE INSTALLED
 2 - Z/ARCH MODE ACTIVE
 3 - DAT ENHANCEMENT INSTALLED
 4 - IDTE DOES CLEARING (ASCE)
 6 - ASN AND LX REUSE INSTALLED
 7 - STFLE AVAILABLE


 -Original Message-
 From: IBM Mainframe Assembler List
 [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
 On Behalf Of John McKown
 Sent: Thursday, June 13, 2013 12:08 PM
 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
 Subject: Re: 64 bit question

 Why not just try to get memory above the line, using IARST64
 REQUEST=GET, and check the return code?

 http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A9B0/4.
 1

 Or, you might check the CVTV64 bit in the CVTOSLV2 flag field of the
 CVT (CVT macro), after checking that FLCARCH is non-zero in the PSA
 (IHAPSA macro).

   USING PSA,0
   CLI FLCARCH,0
   BZ   NO64BIT
   L 1,FLCCVT
   DROP 0
   USING CVT,1
   TM   CVTOSLV2,CVTV64
   BZ   NO64BIT
 ...
   IHAPSA DSECT=YES,LIST=YES
   CVT  DSECT=YES,LIST=YES


 On Thu, Jun 13, 2013 at 11:45 AM, Scott Ford scott_j_f...@yahoo.com
 wrote:

  All,
 
  After reading through the Extended Addressability Guide/ref I have a
  question..
  How do I tell if a machine will support 64 bit storage above the bar
  ? I mean like a Assembler macro query ..I want to use 64bit storage
  but I don't know to tell programmatically what the allocation is for
  the
 system.
 
  Regards,
 
  Scott ford
  www.identityforge.com
  from my IPAD
 
  'Infinite wisdom through infinite means'
 



 --
 This is a test of the Emergency Broadcast System. If this had been an
 actual emergency, do you really think we'd stick around to tell you?

 Maranatha! 
 John McKown




--
This is a test of the Emergency Broadcast System. If this had been an actual 
emergency, do you really think we'd stick around to tell you?

Maranatha! 
John McKown


Re: 64 bit question

2013-06-13 Thread Ed Jaffe

On 6/13/2013 9:45 AM, Scott Ford wrote:

After reading through the Extended Addressability Guide/ref I have a question..
How do I tell if a machine will support 64 bit storage above the bar ? I mean 
like a Assembler macro query ..I want to use 64bit storage but I don't know to tell 
programmatically what the allocation is for the system.


 TMCVTOSLV3,CVTV64  64-bit virtual supported?
 JZNo64Bit  Branch if not

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/


Re: 64 bit question

2013-06-13 Thread Scott Ford
Guys,

Your great I will dig through the data areas ...much much appreciated

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


On Jun 13, 2013, at 1:14 PM, Randy Schafer randy.schafer.a...@statefarm.com 
wrote:

 You could also try

 STFLE FUNCTION

 Then check the first word:

 - Bits (0-7)

 0 - N3 INSTRUCTIONS AVAILABLE
 1 - Z/ARCH MODE INSTALLED
 2 - Z/ARCH MODE ACTIVE
 3 - DAT ENHANCEMENT INSTALLED
 4 - IDTE DOES CLEARING (ASCE)
 6 - ASN AND LX REUSE INSTALLED
 7 - STFLE AVAILABLE


 -Original Message-
 From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] 
 On Behalf Of John McKown
 Sent: Thursday, June 13, 2013 12:08 PM
 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
 Subject: Re: 64 bit question

 Why not just try to get memory above the line, using IARST64 REQUEST=GET, and 
 check the return code?

 http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A9B0/4.1

 Or, you might check the CVTV64 bit in the CVTOSLV2 flag field of the CVT (CVT 
 macro), after checking that FLCARCH is non-zero in the PSA (IHAPSA macro).

  USING PSA,0
  CLI FLCARCH,0
  BZ   NO64BIT
  L 1,FLCCVT
  DROP 0
  USING CVT,1
  TM   CVTOSLV2,CVTV64
  BZ   NO64BIT
 ...
  IHAPSA DSECT=YES,LIST=YES
  CVT  DSECT=YES,LIST=YES


 On Thu, Jun 13, 2013 at 11:45 AM, Scott Ford scott_j_f...@yahoo.com wrote:

 All,

 After reading through the Extended Addressability Guide/ref I have a
 question..
 How do I tell if a machine will support 64 bit storage above the bar
 ? I mean like a Assembler macro query ..I want to use 64bit storage
 but I don't know to tell programmatically what the allocation is for the 
 system.

 Regards,

 Scott ford
 www.identityforge.com
 from my IPAD

 'Infinite wisdom through infinite means'



 --
 This is a test of the Emergency Broadcast System. If this had been an actual 
 emergency, do you really think we'd stick around to tell you?

 Maranatha! 
 John McKown


Re: 64 bit question

2013-06-13 Thread John Gilmore
Are we not talking about a rather small, even exiguous, population of
mainframes under z/OS that do not make AMODE(64) virtual storage
available?

Its unmediated, direct use by applications may still be exiguous too,
but its mediated use by DB2 and the like is now substantial.

John Gilmore, Ashland, MA 01721 - USA


Re: 64 bit question

2013-06-13 Thread Tony Harminc
On 13 June 2013 13:19, John McKown john.archie.mck...@gmail.com wrote:
 Hum, I really find bit 7 amusing. What does STFLE set that bit to when
 STFLE is not available. No, wait, what?

If you didn't get this message, please let us know immediately.

Tony H.


Re: 64 bit question

2013-06-13 Thread Scott Ford
John,

As a vendor I won't assume ..I have customers who still think we should write 
our code in 24 bit mode. So don't get me started. I know your right from my 
experience , but I would rather be safe than sorry

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


On Jun 13, 2013, at 1:46 PM, John Gilmore jwgli...@gmail.com wrote:

 Are we not talking about a rather small, even exiguous, population of
 mainframes under z/OS that do not make AMODE(64) virtual storage
 available?

 Its unmediated, direct use by applications may still be exiguous too,
 but its mediated use by DB2 and the like is now substantial.

 John Gilmore, Ashland, MA 01721 - USA


Re: 64 bit question

2013-06-13 Thread Duffy Nightingale, SSPI
Scott,

I find your comment on 24 bit interesting as I had a new client we were in
talks with who wanted us to code in C because assembler programmers are few!
So I called one of our current clients to see if they have the C run modules
etc. and he said Where do I look? and I said Don't bother, I've heard
enough already!.  So, you're right.  Let's not get started!

Duffy

-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Scott Ford
Sent: Thursday, June 13, 2013 10:56 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: 64 bit question

John,

As a vendor I won't assume ..I have customers who still think we should
write our code in 24 bit mode. So don't get me started. I know your right
from my experience , but I would rather be safe than sorry

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


On Jun 13, 2013, at 1:46 PM, John Gilmore jwgli...@gmail.com wrote:

 Are we not talking about a rather small, even exiguous, population of
 mainframes under z/OS that do not make AMODE(64) virtual storage
 available?

 Its unmediated, direct use by applications may still be exiguous too,
 but its mediated use by DB2 and the like is now substantial.

 John Gilmore, Ashland, MA 01721 - USA


Re: 64 bit question

2013-06-13 Thread Tom Marchant
On Thu, 13 Jun 2013 17:14:25 +, Randy Schafer wrote:

STFLE FUNCTION

That's no good.  IIRC, STFLE became available on the z9.  You can check
those bits in the PSA.  MVS issues STFL or STFLE to save the information
at location 200 (X'C8')

If you're running on a z9, the hardware supports 64-bit addressing.  For
that matter, if you are running any release of z/OS higher than 1.5, you
have to be on a z/architecture processor.

--
Tom Marchant


Re: 64 bit question

2013-06-13 Thread Larry lawler
CVTV64   EQU   X'10' 64-bit virtual services are present.
*You should ensure FLCARCH (in IHAPSA) is
*non-zero before using





-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On
Behalf Of Scott Ford
Sent: Thursday, June 13, 2013 9:46 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: 64 bit question

All,

After reading through the Extended Addressability Guide/ref I have a question..
How do I tell if a machine will support 64 bit storage above the bar ? I mean
like a Assembler macro query ..I want to use 64bit storage but I don't know to
tell programmatically what the allocation is for the system.

Regards,

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


Automatic reply: 64 bit question

2013-06-13 Thread Capps, Joey
I am currently out of the office.
I will return Thursday

Ron Root is in charge in my place.
rr...@informatica.com
512 795 6923

Thanks,
Joey


Re: 64 bit question

2013-06-13 Thread Scott Ford
Yeah, I don't want to be using something I assume someone has enabled. Most 
customers do probably..but Murphy's law is always there

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


On Jun 13, 2013, at 12:53 PM, Larry lawler l...@drcics.com wrote:

 CVTV64   EQU   X'10' 64-bit virtual services are present.
 *You should ensure FLCARCH (in IHAPSA) is
 *non-zero before using





 -Original Message-
 From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On
 Behalf Of Scott Ford
 Sent: Thursday, June 13, 2013 9:46 AM
 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
 Subject: 64 bit question

 All,

 After reading through the Extended Addressability Guide/ref I have a 
 question..
 How do I tell if a machine will support 64 bit storage above the bar ? I 
 mean
 like a Assembler macro query ..I want to use 64bit storage but I don't know to
 tell programmatically what the allocation is for the system.

 Regards,

 Scott ford
 www.identityforge.com
 from my IPAD

 'Infinite wisdom through infinite means'