something like 

//STEP2 EXEC PGM=IKJEFT01,TIME=2,REGION=4096K 
//SYSTSPRT DD SYSOUT=* 
//VTOCOUT DD SYSOUT=* 
//MSGPRINT DD SYSOUT=* 
//SYSPRINT DD SYSOUT=* 
//SYSTSIN DD * 
HSEND LIST TTOC OUTDATASET(xxxxxxx.HSM.TTOC.ML2LIST) SELECT(ML2) 
----- Original Message -----

From: "Tommy W Jeseritz" <[email protected]> 
To: [email protected] 
Sent: Monday, August 21, 2017 2:35:33 PM 
Subject: HSM Query command 

How do I write the output of the 'hsend q cds' to a dataset for our metric 
reporting. 

Query does not have the option to do a ODS('output.dsn.name') so was wondering 
for our reporting, we want to automate this in a batch job. 
If anyone has any idea's , please let me know. I have tried sdsf batch but have 
not been successful. 

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


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

Reply via email to