HSENDCMD HOLD MIGRATION
If you are authorized by the database authority control attribute, you can use the AUTH command to add another user to the list of users with DFSMShsm authorization. If you are an authorized user, you can submit the AUTH command from a TSO terminal. If you submit a command from a TSO terminal, DFSMShsm checks your TSO identification for DFSMShsm authorization.
In systems with RACF®, a component of the Security Server for z/OS®, you can submit the operator, storage administrator, and system programmer commands for processing in batch mode if you are an authorized user. To do this, your TSO identification must be specified on the JOB statement of the MVS™ JCL (USER=userid). RACF scans the userid field and builds the control blocks DFSMShsm uses to confirm the authorization of the person who submitted the command.
//REPRTJOB JOB ...,USER=userid,...
//STEP1 EXEC PGM=IKJEFT01,REGION=512K
//SYSPRINT DD SYSOUT=A
//SYSTSPRT DD SYSOUT=A
//SYSTSIN DD *
HSENDCMD REPORT DAILY FUNCTION
HSENDCMD REPORT VOLUME FUNCTION
/*