Thanks in advance for any help.
>I'm in the process of trying to automate file migration using DFHSM via
>REXX. Does anyone know of a way to trap output from
>'HQUERY DS(HLQ1.HLQ2)' and 'HSEND Q W' HSM commands?
>Obviously I've tried using OUTTRAP with no success.
Replies to HSM commands often are displayed via cross-memory TPUTs from
the HSM address space, so you can't trap them. Have you tried Session
Manager?
Gilbert Saint-flour
Automated Migration Services
http://members.home.net/gsf/
Don Isenstadt
Parker Hannifin Corporation
Cleveland, Ohio 44124-4141
Tel: 216-896-2192
M/S-EGDC01
If you have access to a console automation product, you might try
issuing the HSM commands as operator commands and capturing the
console responses. Perhaps GETMSG et al. can help. I haven't
tried this, so I don't know.
- seb
It works quite well.
The only little glitch comes when the userid which issues the command
doesn't have the correct HSM authority. There's no way the dataset gets
created and the loop just keeps running.
Hope this helps
Phil
Stephen E. Bacher wrote in message
<2000101217...@support9.draper.com>...
I didn't even know about the WAIT subparameter on the HSM call....
Thanks very much!
<yri...@attglobal.net> wrote in message news:1103_971828723@titine...