Configuring Required Files Options

Sometimes programs need files other than those specified on the command line. Typically, these files are expected to have some specific name in the working directory. To pass the files to the system command, you need to create file parameters for them and configure them to have the correct local name. This can be done either from the Required Files tab of the OS Command Component Editor or from the Files tab of the Design Gateway.

For more information about the Files tab, see About Editing File Parameters on the Design Gateway or see the Isight User’s Guide.

  1. Double-click the OS Command component icon .

    The OS Command Component Editor appears.

  2. From the OS Command Component Editor, click the Required Files tab.

    The OS Command Component Editor displays a list of files that need to be accessible when the command is run. Any files parsed by the Data Exchange portion of a Simcode are listed automatically. You can also view the list from the Design Gateway Files tab. The Files tab is not updated until you click OK or Apply on the OS Command Component Editor. For more information about file parameters, see Using File Parameters in the Isight User’s Guide.

    Warning: Deleting a file used to redirect a standard I/O stream can result in a syntax error in the command. Deleting a file parsed by the Data Exchanger deletes all parsing instructions for that file.

  3. Add files needed for execution using one of the following methods, based on the file type:

    • Click the  button to add all existing file parameters from the parent task.

    • Click the button to add an input file parameter.

    • Click the button to add an output file parameter.

    To delete a file, verify that it is highlighted and click the button.

  4. If desired, click the file parameter in the Name column to rename it.

    This is often required as new file parameters created with the Add Input File and Add Output File buttons are named file1, file2, etc.

  5. If desired, change the file parameter mode by selecting a new value in the Mode column.

  6. Click in the Value column, and click the button to configure (or reconfigure) a file parameter.

    For more information about file parameters, see Using File Parameters in the Isight User’s Guide.

  7. Click OK to save your changes and to close the OS Command Component Editor.