in reply to Execution error

qsh: 001-0050 Syntax error on line 1:

Based on little more than vague recollections of a very breif encounter with some AS/400 stuff long, long ago--and a little logic--is it possible that the annotation 001-0050 indicates that the error was encountered on line 1 at character offset 50?

As your 'first line' appears to be no more than 21 chars long, could it be that line endings are not being recognised? Perhaps you need to redo the transfer using the equivalent of ftp 'ascii mode' or otherwise do something to fix up the line endings?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."