BookmarkSubscribeRSS Feed
narravulap
Fluorite | Level 6

Thanks a lot @Tom  @Ksharp  @Kurt_Bremser  for all your time and explanaiton.

 

I'm encountering an issue with proc document,

i'm trying to print table of contents one of my page name is 300 characters.

i'm doing this way:

 

i have issue with the output of proc document,'

 

i have 300 characters that need to be printed in proc document but it is showing only 244 characters.

 

input:

 

proc document name=work.tables;
 setlabel \EXXXXXX "EXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
 setlabel \EXXXXXX  "EXXXXXX- XXXXXXXXXXXXXXXXXXXXXXXXXX";
 run;

 

Output:

EXXXXXX "EXXXXXXX

EXXXXXX  EXXXXXX- XXXXXXXXXXXXXXXXXXXXXXXXXX

 

the first one not printing fully, only 244 characters are printing, how to increase the length to print more.

 

 

 

is that true that it has having 256 characters limit for printing, if it is then how to overcome it ?

 

your suggestions are greatly helpful for me.

 

4 REPLIES 4
Tom
Super User Tom
Super User

Moved to a new thread

Ksharp
Super User
Sorry. I have no idea about it.
Maybe you should buy a ticket to sas technique support .
support.sas.com
Kathryn_SAS
SAS Employee

The label for the SETLABEL statement is limited to 256 characters. There is not a way to increase this limit.

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 4 replies
  • 575 views
  • 0 likes
  • 5 in conversation