Retrieves source code from a stored compiled DATA step program or a DATA step view.
| Valid in: | DATA step |
|---|---|
| Category: | Action |
| Type: | Executable |
| Restrictions: | This statement is not supported in a DATA step that runs in CAS. |
| Use DESCRIBE only with stored compiled DATA step programs and DATA step views. | |
| Requirement: | You must specify the PGM= option or the VIEW= option in the DATA statement. |
Table of Contents
Use the DESCRIBE statement to retrieve program source code from a stored compiled DATA step program or a DATA step view. SAS writes the source statements to the SAS log.
Use the DESCRIBE statement without the EXECUTE statement to retrieve source code from a stored compiled DATA step program or a DATA step view. Use the DESCRIBE statement with the EXECUTE statement to retrieve source code and execute a stored compiled DATA step program. For information about how to use these statements with the DATA statement, see DATA Statement.