有没有办法在不启用 XCMD 的情况下从 SAS 脚本中压缩 a? [英] Is there a way to zip a from from within a SAS script without enabling XCMD?

查看:35
本文介绍了有没有办法在不启用 XCMD 的情况下从 SAS 脚本中压缩 a?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 SAS 服务器的用户,他希望能够通过将文件zip"编程到同一个脚本中来压缩"他们从 SAS 脚本输出的文件.

I have a user of a SAS server that wants to be able to "zip" a file they are outputting from a SAS script, by programming the file "zip" into the same script.

我对启用 XCMD 以允许在运行 SAS 的 Linux 服务器上本地完成此操作犹豫不决.有没有人知道不启用 XCMD 的替代方法?

I'm hesitant to enable XCMD to allow this to be done natively on the Linux server on which SAS runs. Does anyone know of an alternative way of doing this without enabling XCMD?

推荐答案

我没有安装 UNIX,因此无法使用 -NOXCMD 进行测试.

I don't have a UNIX install so I cannot test this with -NOXCMD.

在Unix下,你可以使用SAS写一个pipe 就像您对任何其他 Unix 进程一样.

In Unix, you can use SAS to write through a pipe like you would any other Unix process.

这篇关于有没有办法在不启用 XCMD 的情况下从 SAS 脚本中压缩 a?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆