GCompiler Sample for using RPG2SQL Integrator with an ILE SQL RPG Program
From Support
The following commands illustrate compiling a SQL ILE/RPG program and binding the program to the RPG2SQL Integrator 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)
