![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I would like to run a command procedure on all nodes on a cluster and get back the exit status as each is run. SYSMAN is kind of OK but a real kludge to pass parameters to and batch jobs aren't easy to get the completion status of either. Here's my transmogorphing of DECnet and DCL (altough I'm not running DECnet anymore, only IP) $ CTX = "" $ LOOP: $ CSID = F$CSID(CTX) $ IF (CSID.EQS."") THEN GOTO ELOOP $ NODNAM = F$GETSYI("NODENAME",,CSID) $ @NODNAM::SYS$MANAGER:ROUTINE.COM "P1" $ IF $STATUS THEN GOSUB HANDLEIT $ GOTO LOOP I would appreciate an email reply if you can since I don't know when you would post your next ask the wizard column (PS: Support hasn't been able to give me a good answer on this one so I'm checking with the wizard) The Answer is : Among the easiest approaches is the use of DCL DECnet task-to-task communications. Please see the FAQ for details.
|