IBM BookManager READ/MVS V1R3 Installation, Planning and Customization
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Programming Considerations

IBM BookManager READ/MVS V1R3 Installation, Planning and Customization
SC38-2035-00



This exit is called by BookManager READ during its initialization processing with a reason code (parameter 4) of 2. This allows the exit to initialize any control blocks or data sets needed to modify the search request during this session.

This exit is again called by BookManager READ when it is terminating. This time the reason code (parameter 4) is 3. This allows the exit to release any resources it has acquired.

This exit is called twice whenever a user asks for search.

  • The first time (reason 0), the exit returns the modified search request. The exit may set parameters 7, 8, and 9. It then sets parameter 13 to point to a string containing the modified search string. This string is ended by a X'00' and is no longer than 255 characters. For example, if the user entered CPU as the search string and the exit provides the expansion for this acronym, then the exit would set parameter 13 to point to a string containing:
    
    
    
                  CPU; Central Processing Unit|
    

    where | is the hexadecimal character X'00'. The exit would also set parameter 8 to be the semicolon in this case.
    
    
  • The second time (reason 1), the exit frees any resources it obtained in modifying the search request.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2014