@FriedEgg Thanks for the assistance. A quick clarifying question:
<INPUT var $ @@;>
I'm not familiar with this convention. When do the "@" symbols represent?
Also, I'm using SAS University Edition. I received the following error when I ran this code.
DATA a2_pershealth_destring_qwb_2;
SET a2_pershealth_replace_nulls;
ARRAY xfr[3] $2 _400803_part1 - _400803_part3;
CALL POKELONG( REPEAT('0',5) , ADDRLONG(xfr[1]) , 6 );
CALL POKELONG( var , PTRLONGADD( ADDRLONG(xfr[1]) , 6 - LENGTHN(_400803) ) , LENGTHN(_400803) );
RUN;
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 55 56 DATA a2_pershealth_destring_qwb_2; 57 SET a2_pershealth_replace_nulls; 58 59 ARRAY xfr[3] $2 _400803_part1-_400803_part3; 60 61 CALL POKELONG( REPEAT('0',5) , ADDRLONG(xfr[1]) , 6 ); ________ ________ 251 68 ERROR: The function POKELONG cannot be invoked when SAS is in the lockdown state. ERROR: The function ADDRLONG cannot be invoked when SAS is in the lockdown state. ERROR 251-185: The subroutine POKELONG is unknown, or cannot be accessed. Check your spelling. Either it was not found in the path(s) of executable images, or there was incorrect or missing subroutine descriptor information. ERROR 68-185: The function ADDRLONG is unknown, or cannot be accessed. 62 63 CALL POKELONG( var , PTRLONGADD( ADDRLONG(xfr[1]) , 6 - LENGTHN(_400803) ) , LENGTHN(_400803) ); ________ ________ 251 68 ERROR: The function POKELONG cannot be invoked when SAS is in the lockdown state. ERROR: The function ADDRLONG cannot be invoked when SAS is in the lockdown state. ERROR 251-185: The subroutine POKELONG is unknown, or cannot be accessed. Check your spelling. Either it was not found in the path(s) of executable images, or there was incorrect or missing subroutine descriptor information. ERROR 68-185: The function ADDRLONG is unknown, or cannot be accessed. 64 RUN;
... View more