Error on Sys Vrbl in Transformer derivation

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
jherr22
Premium Member
Premium Member
Posts: 56
Joined: Mon Jan 29, 2007 3:24 pm
Location: Denver
Contact:

Error on Sys Vrbl in Transformer derivation

Post by jherr22 »

I used Administrator to create a vrbl:
RUN_DATE with value of "2008-06-06"
In the job transformer, in a field defined as: VarChar 10
In the field, I used the derivation editor to select: Job Parameter.
$RUN_DATE is in the list, which I then select.
So, I end up with $RUN_DATE in the derivation field.
When I compile the job I get an error.
I select the "More" button, and I see:



... Error when ...: Unexpedted tokens: ;[line 12, character 7].
... Error when ...: Invalid Local variable declaration: ;[line 12, character 7].
... Error when ...: Unexpected tokens: ;[line 57, character 37].
... Error when ...: Expected an operand; [line 57, character 35].
... Error when ...: Expected semi-colon; [line 57, character 37].

Lines 10-13 say:
0010: global {
0011: //Job Parameter declaration
0012: string $RUN_DATE
0013: }

Line 57 says:
0057: LINK32.DATE_FIELD = $RUN_DATE

Can you help?
Thanks
-- john
Post Reply