Chapter Contents |
Previous |
Next |
BUILD |
Category: | Utility |
Syntax | |
Details | |
Examples | |
Example 1: Opening an Entry | |
Example 2: Compiling a FRAME Entry | |
Example 3: Specifying RESOURCE and PMENU Entries | |
Example 4: Specifying a Secondary PMENU Entry | |
See Also |
Syntax |
CALL BUILD(entry<,open-mode<,resource><,pmenu>>); |
If a catalog is specified instead of a catalog entry, the Explorer window is brought up and the three optional parameters are ignored.
Type: Character
'EDIT'
|'E'
'BROWSE'
|'B'
'COMPILE <NOMSG>'
|'C
<NOMSG>'
NOMSG
option prevents NOTE messages from being sent to the SAS
log when batch files are being run (or to the LOG
window for all other files) when the program is compiled, but it does not
suppress compiler error or warning messages.
Type: Character
Type: Character
Type: Character
Details |
You can use the BUILD routine to
If a catalog entry is specified in the first parameter instead of an entry, none of the optional parameters are honored.
Note: When a program uses the BUILD routine, SAS/AF
software must be licensed at sites where the application is executed.
Examples |
Open a PROGRAM entry named NAME in edit mode in the catalog MYLIB.MYCAT:
call build('mylib.mycat.name');
Compile the source code for the entry A.FRAME in the WORK.TEST catalog without opening a DISPLAY window for the entry and without displaying any NOTES:
call build('work.test.a.frame','compile nomsg');
Edit a FRAME using a particular RESOURCE and PMENU:
call build('lib.cat.name.frame','e', 'lib.cat.build.resource','lib.cat.build.pmenu');
Edit a FRAME entry using a custom PMENU for both the DISPLAY and SOURCE windows. The DISPLAY window uses MYPMENU1.PMENU, and the SOURCE window uses MYPMENU2.PMENU.
call build('lib.cat.a.frame','e','', 'mypmenu1 mypmenu2');
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.