HP3000-L Archives

February 2006, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
donna garverick <[log in to unmask]>
Reply To:
Date:
Tue, 7 Feb 2006 14:54:10 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (45 lines)
--- Reggie Monroe <[log in to unmask]> wrote:

> Does anyone know how to suppress the message below coming back from
> vesoft when deleting a profile.
>  
> %SEC DELETE REGGIE,@.@;QUIET;NOVERIFY

you might do something like this:

  file deluser;temp
  if FINFO('*deluser','exists')
    purge deluser,temp
  endif

  run main.pub.vesoft,sec;&
    info="delete @.@(session='!_my_sessname')">*deluser

there's also a ,delete entrypoint with similar syntax....

i don't recommend throwing away the output (>$null) or ignoring what's
in *deluser.  many of my security scripts are similarily structured to
the above example.  i usually parse thru the output to have a sense of
whether or not the command worked (usually a good thing ;-).      - d


Donna Garverick, HP-CSA   Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631              Longs Drug Stores

Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson

>>>MY opinions, not Longs Drug Stores'<<<

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2