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

Does anyone know how to build a Windows Client application by Delphi with SAS Integration Technologies, or know of a related technical guide or website?

 

I got "SAS9.4 Integration Technologies: Windows Client Developer's Guide", but it is mostly about VB, .NET, and the only mention of Delphi is in the language list.

 

What I want to do is
I want to access and extract SAS datasets from applications I create by Delphi, and execute sas code to process them.

1 ACCEPTED SOLUTION

Accepted Solutions
4 REPLIES 4
AlanC
Barite | Level 11

First of all, horrible, horrible to be coding in Delphi. Switch to WPF at a minimum or, better yet, Blazor. 

 

SAS datasets are ODBC compliant so use ODBC.

 

On SAS code submission, use the LanguageService object in IntTech. If you post code I can try and help you but I use C#. Anders created Delphi and created C# so same mentality. If you can switch, I urge you to make the change. C# is the change you need and Blazor is best bet IMO.

https://github.com/savian-net
japelin
Rhodochrosite | Level 12

Thank you for pointing this out.

 

What do you mean by horrible?
That I'm trying to access SAS from Delphi? Or Delphi itself?

I would appreciate your frank opinion.

 

Also, I will consider the ODBC, including the configuration.

Indeed, I think it would be ideal to switch to C#, but it is difficult due to common resource issues.

 

ChrisHemedinger
Community Manager

I don't have Delphi examples but you might be able to put something together using these C# and PowerShell samples:

 

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
japelin
Rhodochrosite | Level 12

Thank you for introducing the sample even if it is in another language.
It is very helpful.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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