Most of the time this is caused by the rendering process of the report XML by the presentation server.
This causes your nicely formatted script which looked like this:
to look like this:
Basically it has become one long string. You might run into trouble because of comment lines starting with // in your code. This turns the rest of the string into a comment. Always encapsulate your comments as /*..comment..*/ .
An other problem might be missing semi-colon “; “. Always close your process steps with one.
Till Next Time