GDDM-GKS V1R1 Programming Guide and Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


APL

GDDM-GKS V1R1 Programming Guide and Reference
SC33-0334-00



GDDM supports VS APL and APL2. The appropriate Terminal User's Guide for the subsystem being used under VS APL and the APL2 Programming: System Services Reference manual (see "Books from related libraries" in topic PREFACE.3) describe AP 126 (the GDDM auxiliary processor).

The APL code that corresponds to the name of a GDDM-GKS function call is given with the description of that function, in "GDDM-GKS functions" in topic 5.0. Also, all the APL codes are listed in Appendix G, "GDDM-GKS APL codes" in topic G.0. The APL codes for GDDM Base and GDDM-PGF calls are listed in the GDDM Base Application Programming Reference and GDDM-PGF Programming Reference books, respectively.

The GDDM auxiliary processor, AP 126, manages requests from an APL program. To use it you must follow this procedure:

  1. Offer to share a variable with AP 126 to be used as the control variable; the control variable name must begin with CTL.
    
    
  2. Check the degree of coupling returned and set access control.
    
    
  3. Offer to share another variable with AP 126 to be used as the data variable; the data variable name must be the same as the control variable name except that the data variable name must begin with DAT.
    
    
  4. Check the degree of coupling returned and set access control.
    
    
  5. Use a specification statement to assign to the data variable any character data needed for the next request.
    
    
  6. Assign to the control variable the request code for the next request together with any required parameters.
    
    
  7. Ensure that the request completed successfully by referencing the control variable; 0 0 is returned if the request was successful.
    
    
  8. Retrieve any character data returned by the request from the data variable.
    
    

An example of using AP 126 for GDDM calls in general is given in the GDDM Base Application Programming Guide.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012