mfplx pliProgName –sql odbc –optsql "SQLPrecompilerOption [...]"
We recommend that you set the following HCO for SQL Server compiler directive options for PL/I when emulating mainframe settings using SQL:
mfplx TESTPGM.PLI –sql odbc –optsql "QUALIFIER=HCOSQL" -isuffix cblrtssi –nologo
mfplx defplan0.pli -sql odbc -optsql "DBRMLIB" -isuffix -f w –c mfplx defplan1.pli -sql odbc -optsql "DBRMLIB" -isuffix -f w –c mfplx defplan2.pli -sql odbc -optsql "DBRMLIB" -isuffix -f w –c mfplx defplan3.pli -sql odbc -optsql "DBRMLIB" -isuffix -f w -c
ldpli defplan0.obj defplan1.obj defplan2.obj defplan3.obj cblrtssi -out:defplan0.exe
dsn system(hcodemo) @defplan0.hcodsn