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


Reference pattern services coding examples

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

The following examples show how to invoke reference pattern services from each of the supported languages. Following each program example is an example of the JCL needed to compile, link edit, and execute the program example. Use these examples to supplement and reinforce information that is presented in other topics within this information.

Note: Included in the FORTRAN example is the code for a required assembler language program. This program ensures that the reference pattern for the FORTRAN program is aligned on a 4K boundary.
The programs in this topic are similar. They each process two arrays, A and B. The arrays are 200×200 in size, each element consisting of 4 bytes. Processing is as follows:
  • Declare the arrays.
  • Define reference patterns for A and B.
  • Initialize A and B.
  • Remove the definitions of the reference patterns for A and B.
  • Define new reference patterns for A and B.
  • Multiply A and B, generating array C.
  • Remove the definitions of the reference patterns for A and B.
The examples are presented in the following topics:

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014