The SAS Output Delivery System and reporting techniques

ID= option on ODS PDF statement

Accepted Solution Solved
Reply
Regular Contributor
Posts: 163
Accepted Solution

ID= option on ODS PDF statement

Hi,

 

Has anyone used this option?  I think I'm following the syntax but apparently not.  What I have is:

 

ods pdf id=1 file="&path.test1.pdf";

ods pdf id=2 file="&path.test2.pdf";

 

 

what I'm getting back is:

136 ods pdf id=1 file="&path.test1.pdf";

                    --

                   79

ERROR 79-322: Expecting a (.

136! ods pdf id=1 file="&path.test1.pdf";

                            ----

                           79

ERROR 79-322: Expecting a ).

137 ods pdf id=2 file="&path.test2.pdf";

                    --

                   79

ERROR 79-322: Expecting a (.

137! ods pdf id=2 file="&path.test2.pdf";

                             ----

                             79

ERROR 79-322: Expecting a ).

 

 

?

 

Thanks!

 

--Ben

 


Accepted Solutions
Solution
‎06-13-2016 02:17 PM
Super Contributor
Posts: 394

Re: ID= option on ODS PDF statement

Try this:

 

ods pdf (id=1) file="pdf1.pdf";
ods pdf (id=2) file="pdf2.pdf";

View solution in original post


All Replies
Solution
‎06-13-2016 02:17 PM
Super Contributor
Posts: 394

Re: ID= option on ODS PDF statement

Try this:

 

ods pdf (id=1) file="pdf1.pdf";
ods pdf (id=2) file="pdf2.pdf";
Regular Contributor
Posts: 163

Re: ID= option on ODS PDF statement

[ Edited ]

Wow.  Sure didn't read that into the syntax requirement.  But it was right there.  Thanks!

 

--Ben

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 287 views
  • 0 likes
  • 2 in conversation