FREEMAIN

Top  Previous  Next

This command is used to release main storage previously acquired by a GETMAIN command.

FREEMAIN [ DATA(area) | DATAPOINTER (ptr) ]

Options

DATA(area)

specifies the data area of main storage to be released.

DATAPOINTER(ptr)

specifies the address of the main storage to be released. This option is an alternative to the DATA option, and specifies the pointer reference that was returned by a GETMAIN command using the SET option.