Learning SAS? Welcome to the exclusive online community for all SAS learners.

University Edition: Lockdown State

Reply
Super Contributor
Posts: 298

University Edition: Lockdown State

[ Edited ]

There was a discussion in which Dorfman explained the following code:

data _null_ ;
   retain c b a . ;
   array   v   a b c ;
   addra    = input (addrlong (a), pib4.) ;
   addrb    = input (addrlong (b), pib4.) ;
   addrc    = input (addrlong (c), pib4.) ;
   put (addra addrb addrc) (:);
run ;

I wanted to run it on SAS UE(under Windows 10). It resulted in the following error:

ERROR: The function ADDRLONG cannot be invoked when SAS is in the lockdown state.

 

Is there a way to reset the lockdown state to run this code?

Super User
Posts: 19,858

Re: University Edition: Lockdown State

You may want to contact SAS Tech Support directly regarding this issue. 

Super User
Posts: 7,854

Re: University Edition: Lockdown State

According to the 9.4 documentation for the ADDRLONG function, this is intended and works as designed. Some SAS functions and abilities are simply not available in UE, which is in a permanent lockdown state.

What were you intending to do, anyway?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super Contributor
Posts: 298

Re: University Edition: Lockdown State

Posted in reply to KurtBremser

KurtBremser:

 

I was hoping there would be some options setting to enable to work with APP functions. I wish SAS provides these functions just for learning purposes.

 

Thanks for your reply.

Super User
Posts: 19,858

Re: University Edition: Lockdown State

Used SAS for 10+ years and never used those functions. 

Also, unless you're an admin many companies with a SAS server have it locked down, beyond what's implemented in SAS UE. 

 

So although it's not ideal you aren't going to miss out on anything. 

Super Contributor
Posts: 298

Re: University Edition: Lockdown State

Reeza:

 

Thank you. It is just a curiosity to work with Arrays. I can do without it.

Super User
Posts: 7,854

Re: University Edition: Lockdown State

The addrlong function has nothing to do with SAS arrays. SAS arrays work perfectly well in UE.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 6 replies
  • 304 views
  • 2 likes
  • 3 in conversation