PL/I for Windows comes with a declarations generator (java Dclgen) that produces DECLARE statements you can use in your PL/I applications.
In order to use java Dclgen in the Windows environment, you must have the Java Developer's Toolkit (V1.3 or later) and DB2 installed on your system.
The java Dclgen tool:
The java Dclgen now supports Lightweight Directory Access Protocol (LDAP) directory services when you upgrade to DB2 Universal Database Version 8 or later.
To use the declarations in your program, use the SQL INCLUDE statement.
If you wish to invoke java Dclgen and your table names include DBCS characters, you need to use a terminal that can input and display double-byte characters.