1) You examples *do not* show any HSEND prefix to the commands.  Obviously this 
is the reason for the RC12 (command not found).
2) Is SYS1.CMDLIB available via LNKLST or JCL,  to the batch job in question? 
SYS1.CMDLIB is the location for the HSEND command.
3) Check access to STGADMIN.ARC.**    

DFHSM commands are divided into 2 classes (administrator and enduser) and 
controlled via profiles in the RACF Facility Class 
(STGADMIN.ARC.** and STGADMIN.ARC.ENDUSER.**, respectively).

I do not recall, but it would seem that DELVOL is an administrator command. 
Check the fine manuals for details.

HTH,

<snip>
I have bit of weird scenario...I have a REXX exec which read HSEND LIST and 
build JCL "IKJEFT01" to Markfull volumes using the HSEND DELVOL .... while I 
submit the Program it successfully submit the IKJEFT01 and HSEND ....However if 
similar is done by some other users (who are in same RACF group) though 
Dynamically submitted JCL show HSEND DELVOL XXX MIGRATION(MARKFULL) they though 
show HSEND missing and job finish with RC=12 ..

READY                                           
DELVOL  XXXXX MIGRATION(MARKFULL)             
COMMAND DELVOL NOT FOUND                        
READY                                           
DELVOL  XXXXX  BACKUP(MARKFULL)                
COMMAND DELVOL NOT FOUND                        
READY                                           
DELVOL  XXXXX  BACKUP(MARKFULL)                
COMMAND DELVOL NOT FOUND                        
READY                                           
END        

Can't find the reason why IKJEFT01 though have 

HSEND DELVOL XXX MIGRATION(MARKFULL) Being subbmitted why HSEND is missing 
...anybody got a clue?
</snip>                                     

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to