I think you are using my code that I supplied to you a couple of days ago; I forgot to remove a PRINT statement that I had put in while checking it. I am assuming that the code is working, otherwise you would certainly have posted that.
DataStage logs a warning whenever there is unexpected output, on the basis that, if there is unexpected output, you ought to be alerted to take a look at it.
Obviously a PRINT statement will generate output that DataStage does not expect.
The algorithm is not rocket science. If the output file from an active stage phantom process contains exactly two lines (starting, finishing), it contains expected output, and does not generate a warning.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.