[Info-vax] HELP! Need to create script (or program) to capture OPCOM requests
TonyMcG
tonymcg27 at gmail.com
Tue Mar 5 17:16:26 EST 2019
This sounds similar to something I've done. I was told that we didn't have the budget to afford fancy stuff like ABS for tape management, so I had to write something myself.
I started with Jim Duff's CATCH_OPCOM package (http://www.eight-cubed.com/catch_opcom.zip), then added some extra code to parse the OPCOM messages, looking specifically for the requests from BACKUP to load another tape. I extracted the DeviceName and NodeName, then called LIB$SPAWN (simple but effective) to run a DCL command file to use the appropriate MRU ROBOT command to move the desired tape into the drive.
It may not be elegant, but it works.
More information about the Info-vax
mailing list