Put the contents of a variable into a common area




VSupported on OpenVMS
xcall PUTCM(variable)



A variable up to 254 characters long. The PUTCM subroutine places the contents of this variable into the process common area. (a)


The PUTCM subroutine calls the OpenVMS system service LIB$PUT_COMMON with the specified argument, thereby enabling your program to transfer data using a common area.

The PUTCM subroutine, in conjunction with the GETCM 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