GETMAIN SHARED command
Storage acquired using the SHARED option of the GETMAIN or GETMAIN64 command is not released when the acquiring task ends. This enables one task to leave data in storage for use by another task.
The storage is not released until a FREEMAIN or FREEMAIN64 command is issued, either by the acquiring task or by another task.