BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jade_SAS
Pyrite | Level 9

Hi All,

 

    I got an error when using TPT in DS2 data step, the coding and error are below:

proc ds2;

data TD.TEST(TPT=YES FASTLOAD=YES TPT_MAX_SESSIONS=4);

method run();

set test.data1;

end;

enddata;

run;

ERROR: Compilation error.

ERROR: Syntax error or access violation TPT

ERROR: Unable to execute CREATE TABLE statement for table TD.TEST.

 

    I checked the same DS2 step works without TPT, see coding below:

proc ds2;

data TD.TEST1;

method run();

set test.data1;

end;

enddata;

run;

 

     What's the correct syntax to apply TPT is DS2 step? Thank you!

 

Jade

1 ACCEPTED SOLUTION

Accepted Solutions
kiranv_
Rhodochrosite | Level 12
looks like TPT is not compatible with proc ds2. Some one from SAS could tell us more about this . I think you can try just fastload = yes dataset option.

View solution in original post

4 REPLIES 4
kiranv_
Rhodochrosite | Level 12

this is very interesting. I have not used  proc DS2. can you do try tpt in libname statemnt as something shown below.

 

libname tera teradata user=testuser pw=testpw TPT=YES;

 

Jade_SAS
Pyrite | Level 9

Thank you for the suggestion! Tried to add TPT in the libname statement, then try the coding again, unfortunately still get the same error

kiranv_
Rhodochrosite | Level 12
looks like TPT is not compatible with proc ds2. Some one from SAS could tell us more about this . I think you can try just fastload = yes dataset option.
Jade_SAS
Pyrite | Level 9

Right, I feel the TPT is not compatible with PROC DS2.

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 connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 799 views
  • 1 like
  • 2 in conversation