Chapter Contents |
Previous |
Next |
Language Reference |
where argument is a character matrix or quoted literal containing valid SAS statements.
The PUSH subroutine pushes character arguments containing valid SAS statements (usually SAS/IML statements or global statements) to the input command stream. You can specify up to 15 arguments. Any statements pushed to the input command queue get executed when the module is put in a hold state. This is usually induced by one of the following:
The strings you push do not appear on the log.
CAUTION: Do not push too much code at one time.
Pushing too much code at one time, or getting into infinite loops of pushing, causes problems that may result in exiting the SAS system.
For details, see Chapter 15, "Using SAS/IML Software to Generate IML Statements."
An example using the PUSH subroutine is shown below:
start; code='reset pagesize=25;'; call push(code,'resume;'); pause; /* show that pagesize was set to 25 during */ /* a PAUSE state of a module */ show options; finish; run;
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.