| 
 
pget [-abort] toolname parameter [ parameter2 ... ] 
         `pget' gets the value of the specified parameter(s) from the given
         parameter file.  All redirections and shell evaluations are performed.
      
 
            Return the value of the infile parameter
         
 
            Returns the value of the infile and opt parameters, one per line.
         
 
pget dmlist infile.p_value
            Will return the actual string stored in the parameter file for
            the value field of the parameter.  Redirections and shell evaluations
            are NOT performed.
         
 
The '-abort' option causes pget to exit with an error when a parameter
file specifies an inappropriate value.  For example, if blah.par
contained
 
boo,i,h,notaninteger,,,"bad value"
the above command would exit with an error, rather than prompting for
a valid value (as it would if '-abort' were not given).  This can be
useful in scripts, where prompting for a valid value could cause a
script to hang indefinitely.
 
         Parameter file from which to retrieve data
      
 
            Name (plus optional path) of parameter file to get values from
         
 
         Name of parameter
      
 
            Name of parameter to retrieve.  Optionally can use the
            various parameter attributes listed below to return those values.       
         
 
               Parameter Attributes
            
| p_value | The value of the parameter.  If the
                  parameter is a redirected, this returns the redirection string rather
                  than what the redirection evaluates too. |  
| p_min | Minimum value allowed |  
| p_max | Maximum value allowed |  
| p_prompt | The parameter prompt |  
         Abort flag
      
 
If the parameter file contains an invalid value for the requested
parameter, exit with an error (instead of prompting for a valid value).
 
concept
parameter
modules
paramio
paramio
paccess,
paramclose,
paramopen,
pget,
pgets,
plist_names,
pquery,
pset,
punlearn
tools
dmhistory,
dmkeypar,
dmmakepar,
dmreadpar,
paccess,
pdump,
pline,
plist,
pquery,
pset,
punlearn
 |