Debug considerations

There are some things to keep in mind when debugging field procedures.

Since field procedures can run in a secondary thread, it is recommended that debugging should be done using STRSRVJOB or the graphical debugger.

For natively run field procedures, the database manager uses the job default wait time. If the field procedure does not return within that specified time, an error is returned. This default wait time may need to be increased when debugging field procedures. For example, to change the default wait time to 5 minutes: CHGJOB DFTWAIT(300)