Compile your Built-In Function on IBM i

To compile and link it into a service program:

     -->  Edit the .C file via a standard source editor 
   |     copy the .C and .ISB files to 
   |         <base path for LANSA system>/x_lansa/source
   |    (base path for LANSA system is often <program library name>)
   |    (Use lowercase filenames, e.g. u_bif445.c)
   |    
   | 
   |    From a command entry screen with the LANSA program library
   |    in the library list:
   |       CALL DCXP8731 (U_BIFnnn x)
   |          (where x is Y if the service program is to be debug capable)
   | 
   | 
    ---  If errors detected

   If no errors, test by executing an RDML function
   that uses your built-in function.

   Backup your .c and .ISB files and your U_BIFnnn service program.
   (U_BIFnnn service program is created in the LANSA program library).

Tips & Techniques

          /* Windows code */
         #ifdef X_OPERATING_SYSTEM_WIN
         …
         #endif
         /* Standard code */
         …
         /* Linux code */
         #ifdef X_OPERATING_SYSTEM_Linux
         …
         #endif