VAM0007 Allocate ALREADY INSTALLED VAM Task can not be started after it is CANCELed (S222) or abends
search cancel

VAM0007 Allocate ALREADY INSTALLED VAM Task can not be started after it is CANCELed (S222) or abends

book

Article ID: 42199

calendar_today

Updated On:

Products

Allocate DASD Space and Placement

Issue/Introduction

After VAM is CANCELed by the operator or abends, trying to restart VAM fails and displays message: 
 
VAM0007 Allocate ALREADY INSTALLED
 
It has also been reported that this message is displayed:
CAHC101I Function: TERMINATE        Return Code: x'00000008' Reason Code: x'00000004'

 

Resolution

If the VAM task is no longer running, then enter this command which will remove
all hooks that are still installed which is what is preventing a normal Start:
 
S VAM,PARM=CLEANUP
 
When all the hooks are removed, then these messages are displayed and the task ends:
VAM0046 CA Allocate SHOULD INSTALL NOW 
VAM0368 CLEANUP *** COMPLETED ***      
 
Now you can enter the normal Start command:  S VAM
 

Additional Information

If you had received the CAHC101I message (along with the VAM0007 msg),
then when VAM has been started normally, the CAHC101I message can just be ignored.