DELETEVAR

Generated from C.65.00 /SYSADMIN/PUB/MYCICAT last modified on Sun Aug 29 15:08:37 2004

Back to Main Index


DELETEVAR


     Deletes one or more MPE/iX variables.

SYNTAX


     DELETEVAR varname [,varname]...[,varname]


NOTE:


This command follows the optional MPE/iX command line syntax.



PARAMETERS


VARNAME             The name of the variable to be deleted.


OPERATION


     Deletes a specific MPE/iX variable, or all variables
     specified by a pattern.  If you specify more than one
     varname, you must separate them with commas.  You cannot
     delete predefined (system, read only) variables.

     You may use wildcard characters, @, #, ?, and [] to specify
     a set or range of values.

     @           Specifies zero or more alphanumeric characters, or
                 the underbar character (_).  Used by itself, it
                 specifies all possible combinations of such
                 characters.  Used with other characters it indicates
                 all the possible names that include the specified
                 characters (@ABC@ = all names that include ABC
                 anywhere in the name).

     #           Specifies one numeric character.  A###@ = all names
                 that begin with A followed by any three digits,
                 followed by any combination of 0 to 251 alphanumeric
                 (or underbar) characters.

     ?           Specifies one alphanumeric character.  A?# specifies
                 all three-character names that begin with A,
                 followed by an alphanumeric, followed by a digit.

     []          Specifies a set or range of characters.  The set may
                 appear anywhere in the name.  This range
                 specification is not case sensitive [A-K] is the
                 same as [a-k]. If you specify a null set such as [k-
                 a] then MPE/iX will report an error.

                 @[abc]@# = All names containing A, B, or C and
                 ending in a single digit.

                 [a-k]@ = All names that begin with any one of the
                 letters a through k.

                 [n-a] = Is not valid and would be flagged as an
                 error.

     This command is available in a session, job, in BREAK, or
     from a program.  Pressing [Break] has no effect on this
     command.


EXAMPLE(S)


     DELETEVAR  firstvariable, secondvariable

     Deletes two specific variables.

     DELETEVAR  ?axval

     Deletes all variables beginning with a single alphabetic
     character and ending with the characters axval.

     DELETEVAR  @

     Deletes all variables created by the user.  Refer to the
     SETVAR command.

     DELETEVAR [P-T]@module

     Deletes a range of variables that begin with the
     letters P, Q, R, S, or T followed by zero or more characters
     that also end with the string module.  Thus variables such
     as PMODULE, QMODULE, RMODULE, SMODULE, TMODULE and
     TIME_MODULE are all deleted by a single command.

     DELETEVAR T@##

     Deletes all variables beginning in T and ending in two
     digits:  TMP11, T25, TMP_237 but not T2.

ADDITIONAL INFORMATION


Commands:   SETJCW, SETVAR, SHOWVAR, SHOWJCW

Manuals :   Using the 900 Series HP 3000: Advanced Skills (32650-60039)

Back to Main Index