When SAS Data Integration
Studio generates code for a job, it checks for the following conditions,
among others:
-
No column mappings are defined
for a transformation.
-
The number of source columns is
not equal to the number of target columns in a transformation.
Previous releases of
SAS Data Integration Studio did not check for these two conditions.
In most cases, if no
column mappings are defined for a transformation, code generation
fails with an error. This rule does not apply to the User Written Code
transformation and the Mining Results transformation. It also does
not apply to any transformation for which code is not generated (the
transformation is turned off or it retrieves user-written code). If
you need a transformation that does not define mappings, use a User Written Code
transformation or specify user-written code on the
Process tab
for a transformation.
If the number of source
columns is not equal to the number of target columns in a transformation,
a warning message is displayed in the SAS log for the job. You can
take action, if appropriate.
Perform the following
steps to temporarily turn off the new validations until the job can
be fixed:
-
Exit SAS Data Integration
Studio. (You must close SAS Data Integration Studio before attempting
to edit the file in the next step.)
-
Locate the file named
wadef.txt.
-
Edit this file in a
simple text editor. Append the following line to the end of the file:
913Behavior=Y
-
Restart SAS Data Integration
Studio. Most of the enhanced code generation error detections are
now disabled.
After you have corrected
the job to take advantage of the updated error checking, you can remove
the line that turns off the error detection. Remember to close SAS
Data Integration Studio before attempting to remove the line from
the wadef.txt file.
Note: Turning off the enhanced
error checking should be a temporary change only.
You should modify existing
jobs to take advantage of the enhanced error detection at your earliest
opportunity. Future releases of SAS Data Integration Studio might
not enable you to turn off error detection for generated code.