Displaying the SAS Code for a Job

Problem

You want to display the SAS code for a job. (To edit the SAS code for a job, see About User-Written Code.)

Solution

You can display the SAS code for a job on the Code tab of the Job Editor window or on the Code tab of a job properties window. In either case, SAS Data Integration Studio must be able to connect to a SAS Application Server with a SAS Workspace Server component in order to generate the SAS code for a job. See Connecting to a SAS Metadata Server.

Tasks

View SAS Code in the Code Tab of a Job Editor Window

You can view the code for a job that is currently displayed in the Job Editor window. To do this, click the Code tab. The job is submitted to the default SAS Application Server and to any server that is specified in the metadata for a transformation within the job. The code for the job is displayed on the Code tab.

View SAS Code on the Code Tab in the Job Properties Window

Perform the following steps to view the code for a job that is not displayed in the Job Editor window:
  1. Expand the Jobs folder in the Inventory tree on the SAS Data Integration Studio desktop.
  2. Right-click the job that you want to view, and then select Properties from the pop-up menu.
  3. Click the Code tab in the properties window to review the code.
  4. Click OK to close the properties window.
Last updated: January 16, 2018