Write and run SAS programs in your web browser

How to convert SCL methods to work in SAS/Studio

Accepted Solution Solved
Reply
Super User
Super User
Posts: 6,383
Accepted Solution

How to convert SCL methods to work in SAS/Studio

Does anyone have any tips on how to make the migration from SAS Display Manager to SAS/Studio for someone that has a lot of methods developed in SCL code?  Here is a note I got from a friend. 

I reuse some classes I developed over years, but generally I just do my analyses using SAS/AF as a vehicle.

 

Is there any tricks to make it easier to transition to SAS/Studio for such users?  

Perhaps ways to convert SCL methods into DS2 code?

 


Accepted Solutions
Solution
‎08-18-2016 09:39 AM
Esteemed Advisor
Posts: 5,202

Re: How to convert SCL methods to work in SAS/Studio

As @ballardw and @SASKiwi already pointed out, reuse of this is probably out of the question. The only way I can see calls to these methods are through PROC DISPLAY, and integrate that into SAS Studio...nah.

 

Not aware of any migration tricks. Of course you can use the existing SCL as inspiration/requirements for implementation (rewrite) in other SAS components. But which, depends on what those methods do. Macro, SAS Studio tasks, snippets...

Data never sleeps

View solution in original post


All Replies
Grand Advisor
Posts: 10,251

Re: How to convert SCL methods to work in SAS/Studio

Do you have the code involved for those methods? If not then this will be pointless project.

 

Any data manipulation should be possible but tranferring widgets such as drop down lists or push buttons likely is not going to be easy if at all possible.

Respected Advisor
Posts: 3,069

Re: How to convert SCL methods to work in SAS/Studio

Only non-screen based methods are likely to work. You can only start an SCL method in SAS code as there is no command line in SAS Studio. SCL catalogs would need to be stored in a folder accessible to the SAS App server.

 

You would still need SAS Display Manager on a PC for maintaining the SCL.  

Solution
‎08-18-2016 09:39 AM
Esteemed Advisor
Posts: 5,202

Re: How to convert SCL methods to work in SAS/Studio

As @ballardw and @SASKiwi already pointed out, reuse of this is probably out of the question. The only way I can see calls to these methods are through PROC DISPLAY, and integrate that into SAS Studio...nah.

 

Not aware of any migration tricks. Of course you can use the existing SCL as inspiration/requirements for implementation (rewrite) in other SAS components. But which, depends on what those methods do. Macro, SAS Studio tasks, snippets...

Data never sleeps
Super User
Super User
Posts: 6,383

Re: How to convert SCL methods to work in SAS/Studio

Thanks all.  It looks like the solution is to rebuild the methods using newer tools.

It would be interesting if anyone has any success stories of making the transition from using SCL to newer SAS tools.

Respected Advisor
Posts: 3,069

Re: How to convert SCL methods to work in SAS/Studio

It's worth mentioning that a lot of SCL functions are useful in the DATA step and macro, especially those related to dealing with SAS datasets or external files.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 256 views
  • 1 like
  • 4 in conversation