Previous Page | Next Page

Statements under OpenVMS

X Statement: OpenVMS

Issues an operating environment command from within a SAS session.
Valid: anywhere in a SAS program
OpenVMS specifics: operating environment command; OpenVMS subprocesses
See: X Statement in SAS Language Reference: Dictionary



X <'DCL-command'>;

no argument

spawns an OpenVMS subprocess, where you can issue DCL commands on OpenVMS.


specifies a single DCL command. The value for DCL-command must be enclosed in quotation marks.


The X statement issues a DCL command from within a SAS session. SAS executes the X statement immediately.

For complete information about the X statement, see Issuing DCL Commands during a SAS Session.

Previous Page | Next Page | Top of Page