SAS使用远程连接时如何打开最新文件 [英] SAS how to open most recent file when using Remote connection

查看:143
本文介绍了SAS使用远程连接时如何打开最新文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是此问题的扩展在Base中SAS,如何自动刷新资源管理器?

RawFocus为我提供了一种打开文件的方式,但是它对我不起作用,因为我正在使用rsubmit.更新的代码最初不起作用,但是现在它打开了错误的文件. v3而不是v7.按照这张图片.

RawFocus gives me a way of opening a file but it doesn't work for me as I'm using rsubmit. The updated code initially didn't work, but now it opens the wrong file. v3 rather v7. As per this pic.

我用于热键的代码如下:

The code I've used for the hotkey is as follows;

dm 'keydef F4 "submit ''rsubmit; %nrstr(%sysrput lastDS=&syslast;) endrsubmit;''; vt rwork.%scan(&lastDS,2,.)"'; 

任何问题,请让我知道,
J

Any questions, please let me know,
J

推荐答案

必须拆分成两个键,但是以下内容可能满足您的需求:

Had to split across two keys, but the following may suit your needs:

dm 'keydef F3 "submit ''%nrstr(rsubmit; %sysrput lastds=&syslast; endrsubmit;)''; "';
dm 'keydef F4 "vt r%nrstr(&lastds); "';

按F3刷新,然后按F4打开表格.尽管只有最新的表格在RWORK中,这才有效!确保使用宏可以改善这一点.

Hit F3 to refresh, then F4 to open the table. This will only work though if the latest table is in RWORK! Am sure this could be improved with the use of macro..

这篇关于SAS使用远程连接时如何打开最新文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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