gertrunstedt
MIS
Hi,
I wish to use the value of a variable from my program in the TITLE1, but I just dont' seem to be able to get it to work.
It resolves if I use a simple piece of text, but if I try to use variable that will have it's value modified, I just get
WARNING: Apparent symbolic reference PARAM not resolved.
As a simple example, my code is:
%MACRO ONE;
DATA WORK;
SET TREND.ALERTS;
PARAM=SYSPARM();
PROC PRINT;
TITLE1 "REPORT FOR SYSTEM &PARAM";
RUN;
%MEND ONE;
%ONE;
SYSPARM is what the user will pass to the program from JCL (this is on a z/OS system), so they will know which system the report is for.
I'm probably being extremely thick here, but it's driving me mad!
Thanks
I wish to use the value of a variable from my program in the TITLE1, but I just dont' seem to be able to get it to work.
It resolves if I use a simple piece of text, but if I try to use variable that will have it's value modified, I just get
WARNING: Apparent symbolic reference PARAM not resolved.
As a simple example, my code is:
%MACRO ONE;
DATA WORK;
SET TREND.ALERTS;
PARAM=SYSPARM();
PROC PRINT;
TITLE1 "REPORT FOR SYSTEM &PARAM";
RUN;
%MEND ONE;
%ONE;
SYSPARM is what the user will pass to the program from JCL (this is on a z/OS system), so they will know which system the report is for.
I'm probably being extremely thick here, but it's driving me mad!
Thanks