楼主: crackman
1542 0

[原创博文] Tips on Writing Macro-Based Programs [推广有奖]

已卖:401份资源

院士

83%

还不是VIP/贵宾

-

威望
6
论坛币
91928 个
通用积分
23.5045
学术水平
424 点
热心指数
505 点
信用等级
256 点
经验
112978 点
帖子
2940
精华
0
在线时间
2532 小时
注册时间
2007-4-26
最后登录
2025-6-25

初级热心勋章 中级热心勋章 初级学术勋章 初级信用勋章

楼主
crackman 发表于 2010-4-5 17:10:19 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
1. If a macro-based program is used to generate SAS code, write and debug the desired SAS program without any macro coding. Make sure the SAS program runs with hard-coded programming constants on a fixed set of data.
2.Generalize the program by removing hard-coded programming constants and substituting macro variable references. Initialize the macro variables with %LET statements and try different values for the macro variables. Use the SYMBOLGEN system option to assist in debugging or confirmation. You may need to adjust the basic program to make it more generalized.
3.Create a macro definition by inserting %MACRO and %MEND statements around your program. Convert %LET statements to macro parameters, if desired. Call the macro using different parameter values. Use the MPRINT and SYMBOLGEN system options for debugging.
二维码

扫码加我 拉你入群

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

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

关键词:programs Program writing Based Macro references statements different generate desired

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-31 19:14