ZOS Reference SAS
-
Upload
melissa-miller -
Category
Documents
-
view
214 -
download
0
description
Transcript of ZOS Reference SAS
Instructor Guide for SAS Programming 1: Essentials
z/OS (OS/390) Reference Sheet for SAS Programming 1: EssentialsFile ReferencesOpen a SAS Programinclude '.workshop.sascode(p104d01)'
Save a SAS Programfile '.workshop.sascode(myprog)'
Access a SAS Data Librarylibname orion '.workshop.sasdata';
Read a Raw Data Fileinfile '.workshop.rawdata(sales)';
Create ODS Reportsods html file='.workshop.reports(myhtml)' rs=none;
Command Line CommandsThere are a number of commands that you might find useful while working in the SAS windowing environment. You can execute these commands from the command line.PROGRAM or PRGopens/activates the Program Editor window
LOGopens/activates the Log window
OUTPUTopens/activates the Output window
EXPLORERopens/activates the Explorer window
ODSRESULTSopens/activates the Results window
HELPopens/activates the Help window
KEYSopens/activates the Keys window
FSEDITopens/activates the FSEDIT window
AUTOSCROLL 0controls how often the Log and Output windows scroll to display output
TOPscrolls to the beginning of the window
BOTTOMscrolls to the last line of the window
BACKWARDscrolls back toward the beginning of the text
FORWARDscrolls forward toward the end of the text
LEFTscrolls to the left of the window
RIGHTscrolls to the right of the window
ZOOMdecreases and increases the size of the window (toggle)
UNDOcancels the effect of the most recently submitted text editing command
SUBMITsubmits the block of statements in your Program Editor window
RECALLreturns to the Program Editor window the most recently submitted code
CLEARclears a window
ENDcloses a window
BYEends a SAS session
Function Keys
F1HelpShift F1Mark
F2ZoomShift F2Smark
F3Submit (or End)Shift F3Unmark
F4RecallShift F4Cut
F5RfindShift F5Paste
F6RchangeShift F6Store
F7BackwardShift F7Prevwind
F8ForwardShift F8Next
F9OutputShift F9Pmenu
F10LeftShift F10Command
F11RightShift F11Keys
F12HomeShift F12Undo
Text Editor Line CommandsThe left-most portion of the Program Editor window includes a numbered field. This field is where you enter line commands. These commands are denoted by one or more letters, and can move, copy, delete, justify, or insert lines.
Some common line commands include
M - moves a line of text C - copies a line of text
D - deletes a line of text
I - inserts a line of text.
When you use some line commands, you also need to specify a location. For example, if you type an M in the numbered field for a line in the Program Editor, then you must specify where you want the line of text to be moved. You can use the A (after) and B (before) line commands to specify a location.
If you type an A in the numbered field for a line, then the line of text that you want to move will be placed after the line marked with an A after you press the ENTER or RETURN key. If you type a B in the numbered field for a line, then the line of text that you want to move will be placed before the line marked with a B after you press the ENTER or RETURN key.
Prepared: JUN2008
Page 1