BookmarkSubscribeRSS Feed
bmsampath
Obsidian | Level 7

Hi ,

 

I am writing a pdf page with leftmargin = 2cm. As per my requirement, I need to write some text in the margin area. Is it possible?

 

I was using ODS REGION X= -0.53in to write this text in SAS9.2. It was working fine.

In SAS9.4, This code is writing the text in x=0cm instead of -0.53in. I know that only nonnegative values are allowed in x option as per sas online doc.

 Please suggest alternate solution to fix this issue in SAS9.4.

  

Thanks,

Sampath

3 REPLIES 3
bmsampath
Obsidian | Level 7

Hi ,

 

I am writing a pdf page with leftmargin = 2cm. As per my requirement, I need to write some text in the margin area. Is it possible?

 

I was using ODS REGION X= -0.53cm to write this text in SAS9.2. It was working fine.

In SAS9.4, This code is writing the text in x=0cm instead of -0.53cm. I know that only nonnegative values are allowed in x option as per sas online doc.

 

Please suggest alternate solution to fix this issue in SAS9.4.

 

 

Thanks,

Sampath

data_null__
Jade | Level 19

@bmsampath wrote:

Hi ,

 

I am writing a pdf page with leftmargin = 2cm. As per my requirement, I need to write some text in the margin area. Is it possible?

 

I was using ODS REGION X= -0.53cm to write this text in SAS9.2. It was working fine.

In SAS9.4, This code is writing the text in x=0cm instead of -0.53cm. I know that only nonnegative values are allowed in x option as per sas online doc.

 

Please suggest alternate solution to fix this issue in SAS9.4.

 

 

Thanks,

Sampath


Was ODS LAYOUT production in 9.2?  If not you can expect you will have to make changes.

Cynthia_sas
SAS Super FREQ
Hi:
You only need to post your question 1 time. However, without code, all you code, including PDF statements and ODS LAYOUT/REGION statements, nobody can test whether you have a code issue or a version difference. However, generally, if you have code that was working in one version of SAS but is not working in another version of SAS it could be either that the syntax changed between versions or you have found a defect.

Either way, it would probably be better to open a track with Tech Support since you are observing version differences in the same code.

cynthia

SAS Innovate 2025: Call for Content

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 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1053 views
  • 0 likes
  • 3 in conversation