Hi,
I have taken export of the same Job from two different locations (servers).
When I ran compare utility on these export files, I found a few messages in one of the files like-
Link_Name.Col_name = (NullSetVar0 == 1) ? set_null() : Link_Name.Col_name;
There were other columns as well for which same message was displayed. These columns are used in a transformer.
However, on checking the code manually, there was no difference in the code of the two Jobs.
Reuest you to please share any information you have on the above scenario.
Regards,
Mandar
Difference in Job Export (.dsx file)
Moderators: chulett, rschirm, roy
Yes, that right...its present on on file and not on other. As requested the code from the file is as -
if ((trim_leading_trailing(StageVar0_SVar1) == InterVar0_29)) {
NullSetVar0 = 1;
} else {
Link_Name.Col_Name = trim_leading_trailing(StageVar0_SVar1);
} Link_Name.Col_Name = (NullSetVar0 == 1) ? set_null() : Link_Name.Col_Name;
NullSetVar0 = 0;
The code in blue is present on both files, but as mentioned there is an extra line in one file.
if ((trim_leading_trailing(StageVar0_SVar1) == InterVar0_29)) {
NullSetVar0 = 1;
} else {
Link_Name.Col_Name = trim_leading_trailing(StageVar0_SVar1);
} Link_Name.Col_Name = (NullSetVar0 == 1) ? set_null() : Link_Name.Col_Name;
NullSetVar0 = 0;
The code in blue is present on both files, but as mentioned there is an extra line in one file.