For a Directory Update C/C++ sample program, you can go to the Programmer's Toolkit - Directory Update Web page.
Go to Programmer's Toolkit – Directory Update Web page. Select dirupdat.exe for a description of the sample, and to download the samples.
The sample program demonstrates creating, configuring, and deleting Directory Update entries.
See the iSeries™ Access for Windows® User's Guide for more information.