It may be possible in a long, nested If..Then..Else expression - I have not spent any time analyzing your specification. But a routine (possibly with a CASE construct) would, in my opinion, be easier to read and to maintain.
You can pay IBM for their conversion service which, as far as I can tell, involves taking your server jobs and shipping them offshore to be converted by people who apply their brains to the task; analyzing the logic of the server job and implementing the same in a parallel job.
Please get to the operating system prompt on your DataStage server machine and execute the hostname command, posting the result here. I am interested in verifying the machine name used in the fastname property in your configuration file.
There is also the "UniVerse" command ENV (that you might execute using DSExecute subroutine), which will return all environment variables, and you could process that string with FINDSTR to locate the one(s) in which you're interested.
will reveal the correct column names that you may use in a query. They are case sensitive. You can use only the ones whose type is "D" or "I" in a query.
Do you mean generically, or just for the USA when changeover date is mandated by law (except for those states in which it is ignored)? Search the forum for other discussions around this question.
Run your data through a Sort stage to generate a Key Change column (which is 1 if the sort key changes, 0 otherwise). Use this value in a downstream Transformer stage it increment a stage variable (that was initialized to 0) if the key change column is 1.