OBJECTPROPERTIES Subcommand (OUTPUT MODIFY Command)

The OBJECTPROPERTIES subcommand modifies the visible property and outline text of all objects that meet the selection criteria. It also modifies the size of charts and tree diagrams.

VISIBLE Keyword

The VISIBLE keyword determines whether the objects that meet the selection criteria are visible or hidden in the Viewer. (Hidden object can be shown by double-clicking the icon next to the object in the outline pane.)

ASIS
Do not change the visible property of the objects. This option is the default.
YES
Make all objects that meet the selection criteria visible.
NO
Hide all objects that meet the selection criteria.

Example

OUTPUT MODIFY
  /SELECT ALL EXCEPT (TABLES)
  /OBJECTPROPERTIES VISIBLE=NO.

In this example, all output objects except pivot tables are hidden in the Viewer.

OUTLINELABEL Keyword

The OUTLINELABEL keyword modifies the text of outline labels in the outline pane. The keyword is followed by an equals sign and a quoted value. You can also include special variables to insert date, time, and index values.

)DATE
Current date in the form dd-mmm-yyyy.
)ADATE
Current date in the form mm/dd/yyyy.
)SDATE
Current date in the form yyyy/mm/dd.
)EDATE
Current date in the form dd.mm.yyyy.
)TIME
Current 12-hour clock time in the form hh:mm:ss.
)ETIME
Current 24-hour clock time in the form hh:mm:ss.
)INDEX
The index as specified on the INDEXING subcommand.
)LABEL
The current label text. This setting allows you to add other text or special variable values to the existing label.

Example

OUTPUT MODIFY
  /SELECT TABLES
  /INDEXING 
   INDEXTYPE=NUMBER INDEXSTART=1
  /OBJECTPROPERTIES 
   OUTLINELABEL = ")INDEX - )EDATE - )LABEL".

In this example, the outline labels for all pivot tables are modified to insert a sequential index number and the current date, separated by dashes, before the current label.

SIZE Keyword

The SIZE keyword modifies the size of charts, tree diagrams, and objects that are created by other applications and pasted into the Viewer document. The keyword is followed by an equals sign, a keyword that specifies measurement unit, and width and height values that are enclosed in parentheses.

  • Valid keywords for measurement unit are PERCENT, CENTIMETERS, INCHES, and POINTS..
  • The keyword PROPORTIONAL can be used instead of a width or height value. This keyword maintains the aspect ratio of the original image.

Example

OUTPUT MODIFY
  /SELECT CHARTS
  /OBJECTPROPERTIES 
   SIZE=PERCENT(50,PROPORTIONAL).

In this example, the width of all charts is set to 50% of the original width. The keyword PROPORTIONAL sets the height to 50%, which preserves the original aspect ratio.