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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 901 views
  • 0 likes
  • 3 in conversation