Chapter Contents |
Previous |
Next |
SAS Companion for the OS/390 Environment |
Problems Associated with the OS/390 Operating Environment |
Most error messages indicate which part of the operating environment is detecting the problem. Here are some of the most common message groups, along with the operating environment component or utility that issues them:
Consult the appropriate system manual to determine the source of the problem.
Solving Problems within the SAS System |
The primary source of information for solving problems
that occur within the SAS System is the SAS log. The log lists the SAS source
statements along with notes about each step, warning messages, and error messages.
Errors are flagged in the code, and a numbered error message is printed in
the log. It is often easy to find the incorrect step or statement just by
glancing at the SAS log.
Help | SAS System Help | Using SAS with your operating environment |
The FIND command allows you to search for text strings within the currently displayed help topic. For help on FIND and other commands, select:
Help | SAS System Help | Working in the SAS Workspace | Using Base SAS Software | Command Reference |
The user-defined help library contains help information in the form of one or more itemstores, which utilize 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.
Help for the SAS System is contained in itemstores. SAS automatically allocates libraries for SAS System help at SAS invocation. To invoke SAS so that it recognizes user-defined help, follow these steps:
libname myhelp 'appl.help.data' disp=shr;
See Autoexec Files and LIBNAME for details.
helploc='myhelp.prgahelp'
See SAS Language Reference: Dictionary for details on the HELPLOC= system option.
User-defined help cannot be added to the SAS System help itemstore because the SAS help library is available for read access only for most users.
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 wish 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.
The following table describes the HTML tags supported by the SAS help browser. In short, 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.
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 list, title of item and definition of item |
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 HTML Version 3.2.
For information on loading your help into itemstores,
see ITEMS.
Some problems may be data related; these can be difficult to trace. Notes that appear in the SAS log following the step that reads and manipulates the data might be very helpful. These notes provide information such as the number of variables and observations that were created. You can also use the CONTENTS and PRINT procedures to look at the data definitions as SAS recorded them or to actually look at all or parts of the data in question.
SAS system options can also assist with problem resolution. Refer to the SAS Language Reference: Dictionary for details on the following system options and others that affect problem resolution:
MLOGIC | controls whether SAS traces execution of the macro language processor. |
MPRINT | displays SAS statements that are generated by macro execution. |
SOURCE | controls whether SAS writes source statements to the SAS log. |
SOURCE2 | writes secondary source statements from included files to the SAS log. |
SYMBOLGEN | controls whether the results of resolving macro variable references are written to the SAS log. |
See Messages from the SASCP Command Processor for brief explanations of many of the host-system subgroup error messages that you might encounter during a SAS session.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.