i5/OS™ PASE provides a number of APIs for accessing ILE code and other i5/OS functions. Which ones you use depends on how much preparation and structure building you want to do yourself as opposed to how much you want the compiler to do for you.