IBM Z and LinuxONE Languages

Languages

Languages

Broad range of supported development languages and tools allows to transform software delivery practices.

 View Only
Expand all | Collapse all

The documentation for Metal C ARMODE talks about using ARMODE to access a dataspace. Does Metal C support access another address space using ARMODE?

  • 1.  The documentation for Metal C ARMODE talks about using ARMODE to access a dataspace. Does Metal C support access another address space using ARMODE?

    Posted Thu May 21, 2020 02:36 AM
    Edited by FANG LU Thu May 21, 2020 10:33 PM
    Disclaimer: This post is migrated from IBM Developer Answers that is no longer in use. Its original author is pkenneyrocketsoftware, posted on on Aug 2 2018.

    I would like to use Metal C and AR MODE to move data from one address space to another. The documentation all talks about using AR MODE to access a dataspace. Can 
    attribute((armode)) also be used to access another address space that is not a dataspace?

    -------------------------------------------------------------------
    Question asked by pkenneyrocketsoftware on Aug 2 2018
    -------------------------------------------------------------------


  • 2.  RE: The documentation for Metal C ARMODE talks about using ARMODE to access a dataspace. Does Metal C support access another address space using ARMODE?

    Posted Thu May 21, 2020 02:37 AM
    Edited by FANG LU Thu May 21, 2020 03:10 AM
    attribute((armode)) can only be used to access the dataspaces that are provided as part of the AR facility. It cannot be used to access things like common storage areas or sub-pools. What in particular are you trying to access? 

    Hopefully the previous answer helped. If it didn't, please let us know what in particular you are trying to access.


    ----------------------------------------------------
    Answered by Nicole Trudeau on Oct 30, 2018
    ----------------------------------------------------