Posts Tagged ‘ xcmd ’

List the contents of your ZIP and gz files using SAS

October 16, 2016
By
List the contents of your ZIP and gz files using SAS

SAS programmers often resort to using the X command to list the contents of file directories and to process the contents of ZIP files (or gz files on UNIX). In centralized SAS environments, the X command is unavailable to most programmers. NOXCMD is the default setting for these environments (disallowing

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on List the contents of your ZIP and gz files using SAS

The case for XCMD privileges in SAS Enterprise Guide

August 31, 2012
By

One of the often-cited side effects of moving from "Base SAS" (SAS on your PC, or Display Manager) to SAS Enterprise Guide is the loss of "X" command privileges -- that is, the ability for your SAS programs to invoke other programs via the operating system shell. We call this
Read more »

Tags: , , ,
Posted in SAS | Comments Off on The case for XCMD privileges in SAS Enterprise Guide

Query the Windows registry within your SAS program

May 22, 2012
By

On the SAS-L mailing list, a participant posed this question (paraphrased): How can I tell which date format my Windows session is using: European format (with day first) versus USA format (with month first)? I'm reading in output from a Windows file listing, and need to know how to interpret
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off on Query the Windows registry within your SAS program

XCMD and SAS 9.3: working together again

September 1, 2011
By

It's been a well-known limitation for a long time.  When you connect to a SAS session using SAS Enterprise Guide, shell commands (including X command, SYSTASK, and FILENAME PIPE) are off-limits because the default SAS invocation disables them.  It does this by including -NOXCMD as a command-line option. This makes
Read more »

Tags: , , , ,
Posted in SAS | Comments Off on XCMD and SAS 9.3: working together again

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors





Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.