z/OS DFSMS Using Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Requesting Access to a Data Set

z/OS DFSMS Using Data Sets
SC23-6855-00

After your program is opened and a request parameter list is built, use the action request macros GET, PUT, ERASE, POINT, CHECK, and ENDREQ. Each request macro uses a request parameter list that defines the action to be taken. For example, when a GET macro points to a request parameter list that specifies synchronous, sequential retrieval, the next record in sequence is retrieved. When an ENDREQ macro points to a request parameter list, any current request (for example, a PUT) for that request parameter list finishes, and the resources held by the request parameter list are released.

The action request macros lets you do the following tasks:
  • Insert new records
  • Retrieve existing records
  • Point to existing records
  • Update existing records
  • Delete existing records
  • Write buffers
  • Retain buffers
  • Perform multistring processing
  • Perform concurrent requests
  • Access records using a path
  • Check for completion of asynchronous requests
  • End request processing

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014