Start the ODS Graphics Designer

You can start the ODS Graphics Designer from the SAS menu or by using a macro.
  1. Start a SAS session.
  2. Do either of the following:
    • In the SAS windowing environment, select Toolsthen selectODS Graphics Designer.
    • Submit either of the following macro statements:
      %sgdesign;
      %sgdesign()
The designer appears in a separate window. When the designer starts, the following events occur:
  • A new internal SAS session is launched, and the designer connects to this session. The designer obtains pertinent information about all libraries, data sets, and formats that have been defined at the time of invocation. The designer can then access these items in the new SAS session.
  • The SAS session creates sample data sets that the designer uses to create its sample graphs. The sample graphs appear in the Graph Gallery.
The designer macro has optional parameters:
portNum = integer
Default = 5310. This parameter indicates the port that the designer uses to communicate with the SAS server. If another application is using port 5310, you can specify a different port for the designer.
dataSets = Y | N
Default = N. Some of the plots that are supplied with the designer depend on data sets that the designer creates in the WORK library. If you inadvertently delete some of these data sets, you can re-create them by setting this parameter to Y the next time you start the designer.
For example, to change the server port number to 5320 and re-create the data sets, you can submit the following statement:
%sgdesign( portnum=5320 , datasets=Y)
The parameters can be used in any order.