Running Existing SAS/IML Programs

You may have SAS/IML programs that you would like to run and extend using IML Studio.

To run an existing SAS/IML program

  1. Transfer the IML program's file to your Windows PC. Be sure to assign the program's file a filename ending with the .sx extension.
  2. Start IML Studio, or activate IML Studio's window if it is already running.
  3. On the File menu, point to Open, and then click File.
    –or–
    Press CTRL+O.
    –or–
    Click the Open File button (Images\Open.gif) on the toolbar.

    IML Studio will display the Open File dialog box.

  4. Use the dialog box controls to navigate to the folder in which you stored your IML program.
  5. In the file list, select your IML program's file.
  6. Click Open.

    IML Studio will display the program in a program window.

  7. On the Program menu, click Check Syntax.
    –or–
    Press SHIFT+F5.
    –or–
    Click the Check Syntax button (Images\CheckSyntax.gif) on the toolbar.

    If the IML program uses any PROC IML features that IML Studio does not support, IML Studio will move the cursor to the location of the problem and display an error message in the Status bar located at the bottom of IML Studio's window. The features of PROC IML that IML Studio does not support are described in Differences from PROC IML. If no problems are found, IML Studio will display a message box informing you of that fact.

  8. On the Program menu, click Run.
    –or–
    Press F5.
    –or–
    Click the Run button (Images\Run.gif) on the toolbar.