BookmarkSubscribeRSS Feed
chandhans00
Fluorite | Level 6

Hi ,

 

I am not able to run below copy command in state transfer tool. If file name is less then 34 character then its properly copying file .

 

SET sas-date-fmt 'MMDDYY10'
SET in-encoding utf-8
SET out-encoding utf-8
SET QUOTE-CHAR-RD None
SET QUOTE-CHAR-WR None

COPY "\\localhost\medrio_data\657e2a8a-f147-4aed-80a1-40dfe682c7f9\jobqueuefiles\21322_DatumChabcdefghijklmnopqrstuvwxyzabcdefghijkl\DatumChabcdefghijklmnopqrstuvwxyzabcdefghijkl.sts" "\\localhost\medrio_data\657e2a8a-f147-4aed-80a1-40dfe682c7f9\jobqueuefiles\21322_DatumChabcdefghijklmnopqrstuvwxyzabcdefghijkl\Medrio.sas7bdat"

QUIT

Please help

 

Thanks,

Chandresh 

4 REPLIES 4
Reeza
Super User

Are you referring to StatTransfer? 

 

If so, you should probably talk to their support not SAS support. 

 

Note that a SAS dataset name must be less than 32 chars and can't start with a number. I know nothing about StatTransfer or the code posted but based on your comments that may be your issue. 

 

All the rules are here. 

http://support.sas.com/documentation/cdl/en/lrcon/68089/HTML/default/viewer.htm#p18cdcs4v5wd2dn1q0x2...

chandhans00
Fluorite | Level 6
Thank you for your Quick Reply.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 4 replies
  • 1362 views
  • 2 likes
  • 3 in conversation