The HSM's command may be directed to a file:

         HLIST  LEVEL(ABC)  OUTDATASET(hsm.list.dsname)

The DISP= appears to always be "mod", so multiple jobs could use the same 
file.  There might be file contention situations, undesired out-of-orderness, 
etc.


On Mon, 4 Jun 2007 11:41:12 -0400, O'Brien, David W. (NIH/CIT) [C] 
<[EMAIL PROTECTED]> wrote:

>Danial,
> 
>  Instead of executing HSM commands, submit them as input to IKJEFT01. 
sample below
> 
>//MIGDB2 JOB (ZZXZ,112,L,99),'HSM BATCH MIGRATE',              
>//  USER=,NOTIFY=,MSGCLASS=                        
>//*                                                            
>//*************************************************************
>//**  BATCH TSO                                                
>//**                                                           
>//*************************************************************
>//*                                                            
>//STEP1   EXEC PGM=IKJEFT01,                                   
>//             REGION=4000K                                    
>//*                                                            
>//SYSTSPRT  DD SYSOUT=*                                        
>//SYSUDUMP  DD SYSOUT=*                                        
>//*                                                            
>//SYSTSIN   DD *                                               
>HRECALL 'DSNDCAT1.DSNDBC.$THU.TESTRTBL.I0001.A001' NOWAIT      
>HRECALL 'DSNDCAT1.DSNDBC.ACMDB.TSACTCOD.I0001.A001' NOWAIT    
> 
>   
>
>________________________________
>
>From: Daniel McLaughlin [mailto:[EMAIL PROTECTED]
>Sent: Mon 6/4/2007 11:33 AM
>To: [email protected]
>Subject: SYSTERM to DSN
>
>
>
>Co-worker running a bunch of commands and jobs that send the output back
>to his screen. He'd rather have it in a file for editing and manipulation. 
>These
>are things like various HSM commands. We're going crazy with this. Would
>some kind soul put us out of our misery by revealing the mystery sequence?
>
>Muchly appreciated...
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to