全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1238 2
2013-03-05
悬赏 10 个论坛币 已解决
各位大大,
请教一下下面代码里 co-l 和ci -u -t-分别是什么意思啊?
      x"co -l &_chksasfile";
      x"ci -u -t-'SocsPro Files' -m""&_chkmsg"" &_chksasfile";
UNIX 环境下源代码,在PC SAS上运行提示
'ci' is not recognized as internal or external command, operable program or batch file.
'co' is not recognized as internal or external command, operable program or batch file.

*******************************************************************************;
* Specification 3                                                             *;
* Socspro_checkout macro to check-in and check-out sas datasets.              *;
* Check-in and check-out of SAS datasets created in data directory using      *;
* XPT and ASCII files as inputs.                                              *;
* Check-in and check-out of final mapped SAS datasets created in data_vai     *;
* directory using source SAS datasets from directory.                         *;
* _lib - Library path.                                                        *;  
* _dsn - SAS dataset file name to be check-in or check out.                   *;
* _type - File Revision Control Process.                                      *;
*         Valid values : IN OUT                                               *;
*         IN - To check in SAS dataset file.                                  *;
*         OUT - To check out SAS dataset file.                                *;
* _chkmsg - Message when check-in files.                                      *;
*******************************************************************************;
Options &_Inoptions;  
  
%macro socspro_checkout(_lib = , _dsn = , _type = , _chkmsg = );
  %let _chksasfile = %str(&_lib./%sysfunc(lowcase(&_dsn.)).sas7bdat);
  %if %str(&_type)=OUT %then %do;
    %if %sysfunc(fileexist(&_chksasfile))= 1 %then %do;
      x"co -l &_chksasfile";
    %end;
  %end;
  %else %if %str(&_type)=IN %then %do;
    %if %sysfunc(fileexist(&_chksasfile))= 1 %then %do;  
      x"ci -u -t-'SocsPro Files' -m""&_chkmsg"" &_chksasfile";
    %end;
  %end;
%mend socspro_checkout;

最佳答案

ahl021 查看完整内容

x"co -l &_chksasfile"; x"ci -u -t-'SocsPro Files' -m""&_chkmsg"" &_chksasfile"; Unix ClearCase version control command checkin ci & checkout co. Details see: https://publib.boulder.ibm.com/infocenter/cchelp/v7r1m0/index.jsp?topic=/com.ibm.rational.clearcase.cc_ref.doc/topics/refintro.htm
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-3-5 11:11:38
      x"co -l &_chksasfile";
      x"ci -u -t-'SocsPro Files' -m""&_chkmsg"" &_chksasfile";

Unix ClearCase version control command checkin ci & checkout co. Details see:
https://publib.boulder.ibm.com/i ... topics/refintro.htm
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-3-8 15:56:24
ahl021 发表于 2013-3-5 11:11
x"co -l &_chksasfile";
      x"ci -u -t-'SocsPro Files' -m""&_chkmsg"" &_chksasfile";
非常感谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群