SAS Institute. The Power to Know

SAS(R) 9.2 Companion for z/OS

space
Previous Page | Next Page

Initializing and Configuring SAS Software

Using Itemstore Help Files


Accessing SAS Itemstore Help Files

Note:   SAS supports itemstore help files for SAS 9.2. However, support for itemstore help files will be removed in a future release of SAS. Updated help files for SAS 9.2 are available only in HTML. If you use your itemstore help files for SAS 9.2, please remember that the itemstore help files that are provided by SAS have not been updated. We strongly recommend that you convert your itemstore help files to HTML when you install SAS 9.2, and use your HTML help files with the updated SAS help files that are in HTML. See Converting Itemstore Help to HTML Help and %ISHCONV Macro: z/OS for information about converting your itemstore files to HTML.  [cautionend]

Help is available through the SAS online Help facility. To obtain host-specific help, execute the PMENU command as necessary to display SAS menus, then select Help [arrow] SAS System Help [arrow] Main TOC [arrow] Using SAS Software in z/OS. Then select topics of interest at increasing levels of detail.

Issue the KEYS command to determine the function keys used to page up, down, left, and right through help pages, and to move backward and forward between help topics.


Using User-Defined Itemstore Help Files

Your site might provide user-defined help that provides site-specific information via the standard SAS help browser. To access user-defined help via the SAS help browser, you need to allocate a user-defined help library at SAS invocation.

The user-defined help library contains help information in the form of one or more itemstores, which use a file format that allows SAS to treat the itemstore as a file system within a file. Each itemstore can contain directories, subdirectories, and individual help topics. For information on loading user-defined help into itemstores, refer to ITEMS Procedure: z/OS.

Help for SAS software is contained in itemstores. SAS automatically allocates libraries for SAS software help at SAS invocation. To invoke SAS so that it recognizes user-defined help, follow these steps:

  1. In an autoexec file, allocate the SAS library that contains the user-defined itemstores using the LIBNAME statement. For example, if the libref is to be MYHELP and the itemstore is named APPL.HELP.DATA, the LIBNAME statement in the SAS invocation would be

    libname myhelp 'appl.help.data' disp=shr;

    See Autoexec Files and LIBNAME Statement: z/OS for details.

  2. Concatenate your itemstores to the SAS help itemstore named by the HELPLOC= system option at SAS invocation. For example, if the libref for your user-defined help was MYHELP, and if the itemstore in the libref was named PRGAHELP, then the HELPLOC= specification in the SAS invocation would be as follows:

    helploc='myhelp.prgahelp'

    See HELPLOC= System Option: z/OS for details on the HELPLOC= system option.

User-defined help cannot be added to the SAS help itemstore because most users have read-only access to the SAS help library.

After SAS has been invoked so that it can recognize user-defined help, you can access that help with the standard SAS help browser by issuing the HELP command and specifying the appropriate universal resource locator (URL). For example, if the help topic that you want to display is named DIRAHLP1.HTM, and if that help topic is contained in an itemstore directory named PRGADIRA, the HELP command would be as follows:

help helploc://prgadira/dirahlp1.htm

See the next section for information on developing user-defined help for the SAS help browser.


Creating User-Defined Itemstore Help Files

You can create help for your site or for your SAS programs that can be displayed in the standard SAS help browser. To ensure that your user-defined help will be displayed as it is written, use only the subset of tags from HTML that are supported on the SAS help browser. Help information in tags that are not supported by the SAS help browser might be ignored by the SAS help browser.

The following table describes the HTML tags supported by the SAS help browser. The TABLE tag is the only frequently used tag that is not supported at this time. To add tables to your help, use the PRE tag and format the text manually using blank spaces, vertical bars, dashes, and underscores as needed.

HTML Tags Supported by the SAS Help Browser
Tag Type Tag Names Description
heading H1, H2, H3, H4, H5, H6 for hierarchical section headings
paragraph P for text in the body of a help file
list UL, OL, DIR, MENU for unordered (bullet) lists, ordered (numbered) lists, directory (unordered, no bullets) lists, and menu (unordered) lists
definition list DL, DT, DD for definition lists, titles of items, and definitions of items
preformatted text PRE, XMP, LISTING for tables, which must be manually formatted with blank spaces
font specification I, B, U for italic, bold, and underlined text
phrase EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE for emphasis, strong emphasis, definitions, code examples, code samples, keyboard key names, variables, citations
link A, LINK for anchors and the links that reference those anchors
document TITLE, BASE, HEAD, HTML for titles in the browser, base URLs, heading sections at the top of a page

For information on the options available for these tags, see any reference for the version of HTML supported by your browser.

For information on loading your help into itemstores, see ITEMS Procedure: z/OS.

space
Previous Page | Next Page | Top of Page