You can edit and save
changes to the code that is generated by directives. There are two
ways to access code:
-
by using the code editor from the Code task
within a directive
Note: Some directives, such as
Transform Data and Cleanse Data, do not include a Code task.
-
by downloading the code from a
directive’s Result task or from the
Run Status directive. After downloading the code, you can work with
it in a third-party text editor on your local machine.
The code editor is intended
to be used only to implement advanced features. In normal use, there
is no need to edit code. The code editor is a good way to see what
will be running, but making changes can be problematic. If you make
changes in the directive interface after you edit code, then your
edits are lost when the code is regenerated. Also, your code edits
are not reflected in the directive interface, which further complicates
updates to edited code.
In addition to the code
editor, SAS Data Loader provides two directives for user-written code.
For more information,
see Run User-Written Programs.