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
Diamond | Level 26
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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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