Asked • 03/18/19

Insert variables into SAS using JAVA (IOM Bridge). Should i use CORBA stubs and JDBC or is there any other alternative?

This is part of my code snippet WorkspaceConnector connector = null; WorkspaceFactory workspaceFactory = null; String variableListString = null; Properties sasServerProperties = new Properties(); sasServerProperties.put("host", host); sasServerProperties.put("port", port); sasServerProperties.put("userName", userName); sasServerProperties.put("password", password); Properties[] sasServerPropertiesList = { sasServerProperties }; workspaceFactory = new WorkspaceFactory(sasServerPropertiesList, null, logWriter); connector = workspaceFactory.getWorkspaceConnector(0L); IWorkspace sasWorkspace = connector.getWorkspace(); ILanguageService sasLanguage = sasWorkspace.LanguageService(); //send variable list string //continued I need to send the "variableListString" to the SAS server through IOM bridge. Java SAS API doesn't give explicit ways to do it. Using CORBA and JDBC is the best way to do it?? Give me a hint how to do it. Is there any alternative method to do it??

1 Expert Answer

By:

Henry T. answered • 12/04/23

Tutor
New to Wyzant

Experienced Java Tutor: CS Graduate with 5+ Years Professional Ex

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.