全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
4111 5
2013-10-20
執行Call execute遇到以下問題,哪位大俠知道問題所在啊

575  call execute("%GenerateData("||vint||")");
WARNING: The quoted string currently being processed has become more than 262 characters long.  You
         might have unbalanced quotation marks.
WARNING: The quoted string currently being processed has become more than 262 characters long.  You
         might have unbalanced quotation marks.
WARNING: The quoted string currently being processed has become more than 262 characters long.  You
         might have unbalanced quotation marks.




二维码

扫码加我 拉你入群

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

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

全部回复
2013-10-20 09:33:46
引用的字符串超过262个字符,你没有平衡引号~(纯翻译,你看着改吧)
二维码

扫码加我 拉你入群

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

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

2013-10-20 14:17:01
外面用了双引号,里面就应该用单引号
’||vint||‘
by the way,the dosubl  or run_macro will be more flexible than call execute
when execute proc during data step
http://support.sas.com/resources ... ings12/227-2012.pdf
二维码

扫码加我 拉你入群

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

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

2013-10-20 17:37:36
zhou.wen 发表于 2013-10-20 14:17
外面用了双引号,里面就应该用单引号
’||vint||‘
by the way,the dosubl  or run_macro will be more  ...
第二個雙引號是和第一個連的啊....

好..我看看第二個方法
二维码

扫码加我 拉你入群

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

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

2013-10-21 10:16:49
是不是vint变量的长度比较大,试试 call execute("%GenerateData("||strip(vint)||")");
二维码

扫码加我 拉你入群

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

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

2015-1-13 10:41:41
code前面加 options noquotelenmax;
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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