z/OS MVS Programming: Callable Services for High-Level Languages
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Defining a view of a data object

z/OS MVS Programming: Callable Services for High-Level Languages
SA23-1377-02

To view all or part of a data object, you must provide window services with information about the object and how you want to view it. You must provide window services with the following information:
  • The object identifier
  • Where the window is in your address space
  • Window disposition — that is, whether window services is to initialize the window the first time you reference data in the window
  • Whether you intend to reference blocks of data sequentially or randomly
  • The blocks of data that you want to view
  • Whether you want to extend the size of the object

To define a view of a data object, call CSRVIEW or CSREVW. Whether you use CSRVIEW or CSREVW depends on how you plan to reference the data. Defining the expected reference pattern describes the differences between the two services. Specify BEGIN on CSRVIEW or CSREVW as the type of operation. For descriptions of the CALL syntax and return codes from CSRVIEW or CSREVW, see CSRVIEW — View an object or CSREVW — View an object and sequentially access it.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014