SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Vol 2

FILE SWITCHES

Name:
    FILE SWITCHES (SET)
Type:
    Set Subcommand
Purpose:
    Probe for values pertaining to Dataplot file names, unit numbers, and file status values.
Description:
    Dataplot utilizes a number of files. In some cases, these files are previously created file names (e.g., the Dataplot help files, the file containing the sign-on message). In other cases, these files are dynamically named during a Dataplot session (e.g., the files associated with READ, WRITE, or CALL commands).

    In addition to the file name, there is also a Fortran unit number associated with that file. Fortran unit numbers are typically between 1 and 99 (for Dataplot files, they typically are greater than or equal to 10). Files also have a status value. A status value of OLD is used for files that are expected to already exist (and are not modified by the user during a Dataplot session). This would include the help files, the file containing the sign-on message, and several others. A status value of UNKNOWN is used for files that can be modifed during a Dataplot session and that may not currently exist. An example would be the file associated with the READ command.

    Unit numbers are typically not changed and the file status is determined dynamically. So these would typically only be used by the PROBE command (i.e., not by SET). The SET command can be used to change the name of the plot files (IPL1NA, IPL2NA). The SET command would not typically be used to change the name of the other files listed below.

    These setting are typically of interest to the Dataplot developers for debugging purposes. However, they can be used by any Dataplot user.

    The list of available file name and unit number switches is

      IMESNU - the Fortran unit number for the message file
      IMESST - the current status of the message file
      IMESNA - the name of the message file
           
      INEWNU - the Fortran unit number for the news file
      INEWST - the current status of the news file
      INEWNA - the name of the news file
           
      IMAINU - the Fortran unit number for the mail file
      IMAIST - the current status of the mail file
      IMAINA - the name of the mail file

      Note: the mail file is obsolete and these values are no longer set.

           
      IHELNU - the Fortran unit number for the help file
      IHELST - the current status of the help file
      IHELNA - the name of the help file
           
      IBUGNU - the Fortran unit number for the bugs file
      IBUGST - the current status of the bugs file
      IBUGNA - the name of the bugs file
           
      IQUENU - the Fortran unit number for the query file
      IQUEST - the current status of the query file
      IQUENA - the name of the query file

      Note: the query file is obsolete and these values are no longer set.

           
      ILOGNU - the Fortran unit number for the log file
      ILOGST - the current status of the log file
      ILOGNA - the name of the log file
           
      IREANU - the Fortran unit number for the user read file
      IREAST - the current status of the user read file
      IREANA - the name of the user read file
           
      IWRINU - the Fortran unit number for the user write file
      IWRIST - the current status of the user write file
      IWRINA - the name of the user write file
           
      ICRENU - the Fortran unit number for the create macro file
      ICREST - the current status of the create macro file
      ICRENA - the name of the create macro file
           
      ISAVNU - the Fortran unit number for the save memory file
      ISAVST - the current status of the save memory file
      ISAVNA - the name of the save memory file
           
      ISCRNU - the Fortran unit number for the scratch file
      ISCRST - the current status of the scratch file
      ISCRNA - - the name of the scratch file
           
      IDATNU - the Fortran unit number for the data file
      IDATST - the current status of the data file
      IDATNA - the name of the data file

      Note: the data file is reserved for future use.

           
      IPL1NU - the Fortran unit number for the DEVICE 2 graphics output file
      IPL1ST - the current status of the DEVICE 2 graphics output file
      IPL1NA - the name of the DEVICE 2 graphics output file
           
      IPL2NU - the Fortran unit number for the DEVICE 3 graphics output file
      IPL2ST - the current status of the DEVICE 3 graphics output file
      IPL2NA - the name of the DEVICE 3 graphics output file
Syntax 1:
    PROBE <FILE SWITCH> where <FILE SWITCH> is one of the names listed above.
Syntax 2:
    SET <FILE SWITCH> where <FILE SWITCH> is one of the names listed above.
Examples:
    PROBE IBUGNA
    PROBE IPL1NA
    SET IPL1NA PLOT1.PS
Default:
    The default unit numbers and names are defined by the INITFO routine when Dataplot is compiled.
Synonyms:
    None
Related Commands: Applications:
    Debugging
Implementation Date:
    Pre-1987
Program:
     
    SKIP 25
    READ BERGER1.DAT Y X BAT
    .
    SET IPL1NA BERGER1.PS
    DEVICE 2 POSTSCRIPT
    .
    CHARACTER X
    LINE BLANK
    TITLE BERGER1.DAT
    PLOT Y X
    .
    DEVICE 2 CLOSE
        

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 05/23/2016
Last updated: 05/23/2016

Please email comments on this WWW page to alan.heckert@nist.gov.