General thread considerations

To see the advantages and disadvantages of the two types of thread-safety for RPG, see the section on multithreaded applications in Rational Development Studio for i: ILE RPG Programmer's Guide. For a list of system functions that are not allowed or supported in a multithreaded environment, see the Multithreaded Applications document under the Programming topic at the following URL:
http://www.ibm.com/systems/i/infocenter/

You cannot use the following in a thread-safe program:

When using the THREAD keyword, remember the following: