Use the following commands to compile a SQL ILE/RPG program and bind the program to the RPG2SQL service program:
 
  • CRTSQLRPGI OBJ(RJSRPGSQL/TEST100R) SRCFILE(RJSRPGSQL/SOURCE) OBJTYPE(*MODULE) TGTRLS(V5R1M0) CLOSQLCSR(*ENDMOD) DBGVIEW(*SOURCE)
  • CRTPGM PGM(RJSRPGSQL/TEST100R) BNDSRVPGM(RJSRPGSQL/RPGSQL01R) ACTGRP(*NEW) OPTION(*DUPPROC)

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016