DataFlux Data Management Studio 2.7: User Guide
Use a SAS Code node to write and store SAS code that will be executed on a SAS Workspace Server. You can insert this node into the flow of a process job at a point where SAS processing is needed. For more information about the tabs at upper left of this dialog, click the following links:
You can set the advanced properties for the SAS Code node on the Inputs tab. The advanced properties used by this node include:
There are several ways to supply a password for the SAS Workspace Server that is specified on the Settings tab for the SAS Code node.
If you enter a password in the password field on the Settings tab, then the password will be encoded and stored in the node variable SAS_PASSWORD.
If you want to set the value of SAS_PASSWORD dynamically, you can use a source binding to specify the job node that will update the value of SAS_PASSWORD. Note that you will have to encode the password yourself. For example, you can bind the SAS_PASSWORD input variable to a process job variable or to a node output variable of another node in the same stream.
The general steps are as follows:
%%name_of_my_user_defined_macrovar%%
. Do not enter a macro in the Password field on the Settings tab. Because the value in the field is encrypted, it is not recognized as a macro and it is never resolved. Instead, use the following process.
First, edit the job manually in a text editor and embed the macro in the appropriate place, as shown in the following example:
<val name="SAS_PASSWORD" nullmacro="0" type="STRING">
<row>
<col>%%COM_SASCODEPASSWORD%%</col>
</row>
</val>
Then, encrypt the password. Use the dmsadmin crypt command in UNIX, EncryptPassword.exe in Windows, or PROC PWENCODE in SAS.
Finally, enter the encrypted value in the macro.cfg file.
Documentation Feedback: yourturn@sas.com
|
Doc ID: dfU_CFSASCode.html |