BookmarkSubscribeRSS Feed
faisalbasra
Fluorite | Level 6

Hello, 

 

I need to execute a complex SQL query which data process can't handle. I have searched a lot but unfortunately can't find a complete example how I can execute such SQL query in DS2 SAS Process. 

 

I would be very thankful if anyone shares any concrete example. 

 

Thanks

2 REPLIES 2
VamsiM
SAS Employee

Hello,

Here is an example of using a Sql Statement to query a DBMS. 

Hope this helps. 

faisalbasra
Fluorite | Level 6

Thanks very much Vamsi for sharing DS2 code example. 

 

As I'm new to RTDM, would you like to give some more help? I will be really thankful to you. 

 

Here I'm looking for some more help. 

 

  • What steps are required in Fed Server before running this code example? I have setup Libs in SMC, and they are accessible in CI Studio. 
  • Where we define the values used in the following connection statement, 
    proc ds2 nolibs noprompt="driver=remts;server=&server;port=&port;protocol=bridge;uid=&user;pwd=&passwd;conopts=(driver=ds2;conopts=(driver=sql;conopts=(DSN=&DSN)))";

Looking for your kind reply. 

Review SAS CI360 now.png

 

Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.

 

 

 

 

SAS Customer Intelligence 360

Get started with CI 360

Review CI 360 Release Notes

Open a Technical Support case

Suggest software enhancements

Listen to the Reimagine Marketing podcast

Assess your marketing efforts with a free tool

 

Training Resources

SAS Customer Intelligence Learning Subscription (login required)

Access free tutorials

Refer to documentation

Latest hot fixes

Compatibility notice re: SAS 9.4M8 (TS1M8) or later

 

 

How to improve email deliverability

SAS' Peter Ansbacher shows you how to use the dashboard in SAS Customer Intelligence 360 for better results.

Find more tutorials on the SAS Users YouTube channel.

Review SAS CI360 now.png

 

Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.

 

 

 

 

SAS Customer Intelligence 360

Get started with CI 360

Review CI 360 Release Notes

Open a Technical Support case

Suggest software enhancements

Listen to the Reimagine Marketing podcast

Assess your marketing efforts with a free tool

 

Training Resources

SAS Customer Intelligence Learning Subscription (login required)

Access free tutorials

Refer to documentation

Latest hot fixes

Compatibility notice re: SAS 9.4M8 (TS1M8) or later

 

 

Discussion stats
  • 2 replies
  • 2012 views
  • 1 like
  • 2 in conversation