FCOMMON


The FCOMMON (FCO) service frees common storage (CSA or SQA) that should have been freed by a user or system application.

This service helps you regain common storage that was allocated by an application and not freed when the application finished.

Warning

Use FCOMMON with extreme caution. Storage attributed to a specific address space instance might, in fact, be shared by multiple address spaces. Freeing storage that is still in use will cause the system to fail. Free storage only when you know that it is no longer in use.

Syntax

GUID-0511C281-97F6-4A91-BDA4-C7F0456A6395-low.pngThe parameters are defined as follows:

Parameter

Description

address

address of storage to FREEMAIN, in hexadecimal format

length

length of storage to FREEMAIN, in decimal format

spid

storage subpool identifier: 226, 227, 228, 231, 239, 241, or 245

key

key of storage: 0-15 for subpools 227, 228, 231, and 241

Note

The WHERE service can be used to determine the subpool and key of storage at a given address.

Example

Type

FCOMMON,0C84BC68,95128,228,4

AMTFCAI Reply Y/N to confirm request to FREEMAIN 0C84BC68 for 95,128 bytes
y
AMTFC1I FREEMAIN of requested area was successful
AMT001A SYSPROG

Related topic

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*