GETCM
Load the contents of a common area into a variable
|
|
VSupported on OpenVMS
|
|
xcall GETCM(variable)
Arguments
variable
A variable up to 254 characters long that is loaded with the current contents of the process common area. (a)
Discussion
The GETCM subroutine calls the OpenVMS system service LIB$GET_COMMON with the specified argument, thereby enabling your program to transfer data using a common area.
The GETCM subroutine, in conjunction with the PUTCM subroutine, manipulates data within a common area that is maintained by OpenVMS for each process on the system. Because this common area is unique to each process, Synergy programs can use this area as a private “scratch pad” space for communication between programs that will be chained to later.
See also
- PUTCM routine
- The LIB$GET_COMMON section of your OpenVMS runtime library manual