Problem solve Get help with specific problems with your technologies, process and projects.

Why am I getting MCH1205 during execution?

I'm getting MCH1205 during execution of a program that uses a PRTF with TIME EDTWRD(' . . ') . It was running fine on V5R3.
We are not yet on V5R3, so I cannot test this. However, you should first be sure that it is the TIME operation that is causing the problem, using debug and allowing the display of Input/Output debug lines (i.e. NOT specifying OPTION (*NODEBUGIO) in the H-spec). Then you will see the actual line in the print file that the error is occurring on.

Also, I seem to remember having similar problems a while ago on V5R2 -- try using EDTWRD('0 . . '), where the zero is followed by two blanks, dot, two blanks, dot, two blanks. If that does not work, then try EDTWRD('0 . . ').


The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Dig Deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.