Hello Andre, make sure the ODS Report Writing Interface (RWI) code (the part you showed) is part of the SAME data step that created the hiter object HICOD.
Once you leave that Data Step containing
declare hiter hicod("cod");
the object is lost forever. The error mssage suggests that declaration statement was not seen. You must have started another Data Step to run the RWI.
RWI uses the hiter object from the previous hash processing Data Step to access data.
Please let me know if that was the case. Also, the 9.3 version should not matter. Actually the code should work even in 9.2 except that you might get a lousy PDF. But absolutely no errors!
Ok Joe, i have corrected my mistake and was able to see the result.
Andre
Andre, in fact I barely scratched the surface. You would be amazed what RWI can do!
See the paper written by SAS Institute's Dan O'Connor (the father of RWI):
http://support.sas.com/rnd/base/datastep/dsobject/Power_to_show_paper.pdf
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.