Page 1 of 1

Compilation Error

Posted: Thu Apr 06, 2006 10:43 am
by dsnovice
Compiling: Source = 'RT_BP1531/JOB.1647055971.DT.1397645304.TRANS1', Object = 'RT_BP1531.O/JOB.1647055971.DT.1397645304.TRANS1'
****************************************************************************************************************************************************

Compilation Complete.
(BRITPartyMFFileSjob.XFORM_BRAN)

This is the compilation Error. I found a few posts suggesting that the length of the Stage variable is long or the complex routine needs to be broken down.

But, In my job I am not using any kind of concatenation, the job is a straight dump from a sequential file to a 4 different tables. where each column at best is only trimed or there are some constant values like "String". Plus one date conversion and A look up. For some fields I am defaulting @NULL. Any suggestions or help would be great and really appreciated.

Thank you,

a novice

Posted: Thu Apr 06, 2006 10:45 am
by ArndW
I don't see any error message - what do you get when you hit the "more" button on the compilation?

Posted: Thu Apr 06, 2006 11:49 am
by dsnovice
Actually It never let me compile it. How ever when I logged out of the Designer and Logged back in and tried compilinng it. I was able to compile it. I dont get that error.

I belive this error might have got triggered when I initialy tried doing
Trim(Change(Iconv("string","MCP"),"."," ")) but later I removed this routine and saved it a couple of times but the compilation error kept coming with the above message.

Thank you ArndW for replying.

a novice

Posted: Thu Apr 06, 2006 4:29 pm
by ray.wurlod
"Compilation complete" indicates successful compilation.
You have neither errors nor warnings in what you posted.

Put the expression back in, try compiling, and post the output from the compilation.

Posted: Fri Apr 07, 2006 6:48 am
by dsnovice
Ray,

I tried to replicate the error - I was unsuccessful. I guess its one of those blue moon errors. I will definetly put full details of the error if it occours again.

Thank you,

novice

Posted: Fri Nov 28, 2008 10:11 am
by PhilHibbs
I just got this exact same problem, it said "error compiling generated subroutine" but when I click more I just got "compilation complete". Closing and re-starting Desginer fixed the problem thanks to finding this thread with Search!

Posted: Tue Jan 05, 2010 6:27 am
by dsisbank
PhilHibbs wrote:I just got this exact same problem, it said "error compiling generated subroutine" but when I click more I just got "compilation complete". Closing and re-starting Desginer fixed the problem thanks to finding this thread with Search!
I got same error and restarted the designer. It is ok.

Thank you :)