specifies a key value for AES (Advanced Encryption Standard) encryption.
Note: | You cannot change the key value on an AES-encrypted data set without re-creating the data set. |
%let mykey=abcdefghi12; encryptkey=&mykey encryptkey=key_value encryptkey=key_value1
encryptkey='key_value' encryptkey='1234*#mykey'
encryptkey="key_value" encryptkey="1234*#mykey" %let mykey=Abcdefghi12; encryptkey="&mykey"
When the ENCRYPTKEY= key value uses DBCS characters, the 64-byte limit applies to the character string after it has been transcoded to UTF-8 encoding. You can use the following DATA step to calculate the length in bytes of a key value in DBCS:
data _null_;
key=length(unicodec('key-value','UTF8'));
put 'key length=' key;
run;