SVC 005

SVC 005 is a Type 1 SVC issued by the FREEMAIN macro. This macro obtains a LOCAL lock and calls program IGC005 in load module IGVVSM24. FREEMAIN frees one or more areas of virtual storage.

Hints

Because SVC execution cannot be interrupted when a sample is taken, FREEMAIN activity will not appear on a report. Instead, sampling occurs at the instruction that follows the SVC in the code. Therefore, if you see a large spike at an area of code where you would not expect to use excessive CPU, and the preceding instruction is FREEMAIN, you can assume that the percentage associated with the code spike reflects the percentage used by FREEMAIN activity.

Reference Sources

IBM z/OS MVS Diagnosis Reference

IBM z/OS MVS Programming Assembler Services Guide

IBM z/OS MVS Programming Assembler Services Reference Vol. 2

IBM z/OS MVS Programming Authorized Assembler Services Guide

IBM z/OS MVS Programming Authorized Assembler Services Reference Vol. 2.