Chapter Contents |
Previous |
Next |
Language Reference |
where operands are character matrices or quoted literals containing valid SAS statements.
The EXECUTE subroutine pushes character arguments to the input command stream, executes them, and then returns to the calling module. You can specify up to 15 arguments. The subroutine should be called from a module rather than from the immediate environment (because it uses the resume mechanism that works only from modules). The strings you push do not appear on the log.
Below are examples of valid EXECUTE subroutines:
call execute("x={1 2 3, 4 5 6};"); call execute(" x 'ls';"); call execute(" dm 'log; color source red';"); call execute(concat(" title '",string,"';"));For more details on the EXECUTE subroutine, see Chapter 15, "Using SAS/IML Software to Generate IML Statements."
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.