Websydian v6.1 online documentationOnline documentation - Websydian v6.1

FAQ - "Program xxxx in library yyyy ended abnormally. See spool files for details."

Product Websydian Web Developer
Version All
Category iSeries Web
Question I get the message "Program xxxx in library yyyy ended abnormally. See spool files for details." But the spool files is not created.
Answer To force a spool file to be generated when a program fails you must insert the following line in the generated RPG source of the program object that fails:

H     1

There are 5 spaces to the H and 8 spaces between the H and the number.

Then compile the object (do not generate as your changes then will be overwritten). The next time the object fails it should write information to the spool files.