11.3.7 SHARED Directive (VAX only)

The SHARED directive specifies the common blocks that must be shared between processes running a parallel DO-loop. It takes the following form:

cPAR$ SHARED /[cb]/[,/[cb]/] . . .
c
Is the letter or character that introduces the directive tag (see Section 11.1).
cb
Is the name of a common block. The name cannot exceed 26 characters; it can be blank.

SHARED directives can appear anywhere within declaration statements in the routine.

Common blocks that are declared SHARED cannot also be declared PRIVATE.

For More Information:

For details on how to use the SHARED directive, see Example 11-2.


Previous Page Next Page Table of Contents