John,
I had to do this the last place I worked. The basic thing you need to do to
distinguish whether you are in MPEX or not is to do:
SETJCW INSIDEMPEX=0
Put that inside your UDC command. It's okay because when you test for it,
IF INSIDEMPEX=1
MPEX automagically resolves it right. Type HELP INSIDE in MPEX for more
info.
If you want, I can also send you my PUUDC file which logs PURGE, PURGELINK,
COPY, DSCOPY, and RENAME; whether inside MPEX or not.
Patrick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Patrick Santucci
HPe3000 Systems Administrator
Cornerstone Brands, Inc.
> -----Original Message-----
> From: John Pollard [SMTP:[log in to unmask]]
> Sent: Monday, July 16, 2001 3:43 pm
> To: [log in to unmask]
> Subject: [HP3000-L] MPEX doesn't seem to like "intercepted" MPE/iX
> commands
>
> I was attempting to purge a bunch of files which I knew contained some
> Image data bases and some KSAM files, etc.; so I tried to use MPEX. I
> immediately noticed something different when it did not present me with a
> list of the files it expected to purge, but instead gave me something like
> this:
> 12 files matched
> Continue PURGE ? (YES/NO)
>
> Having never used the MPE/iX PURGE command to purge a fileset, I did
> not recognize this at first - I just answered "yes". After MPEX chugged a
> bit, I received another message saying that only some of the files were
> purged, but no indications which ones or why only some were purged.
>
> When I finally realized that MPEX was just trying to do an MPE/iX purge, I
> tried to figure out why. It turns out that some weeks ago, I had
> implemented a UDC to intercept PURGE commands and to log them - and MPEX
> just does not seem to like that. If I disable my PURGE UDC, MPEX works
> just as it always did, re-enabling the UDC causes MPEX to turn the PURGE
> command over to MPE/iX, which can not handle the priviledged files.
>
> Does anyone know if there is a way around this? I would prefer to keep
> logging the PURGE commands if possible. I could not find anything in the
> archives nor in my old MPEX manual.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|