@@ -405,48 +405,48 @@ SRVPGM_OPTION :=
405405WSCST_AUT := $(AUT )
406406
407407# Creation command parameters with variables (the ones listed at the top) for the most common ones.
408- CRTCLMODFLAGS = AUT($(AUT ) ) DBGVIEW($(DBGVIEW ) ) OPTIMIZE($(OPTIMIZE ) ) OPTION($(OPTION ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
409- CRTCMDFLAGS = PGM($(PGM ) ) VLDCKR($(VLDCKR ) ) PMTFILE($(PMTFILE ) ) HLPPNLGRP($(HLPPNLGRP ) ) HLPID($(HLPID ) ) AUT($(AUT ) ) ALLOW($(ALLOW ) ) TEXT('$(TEXT ) ')
408+ CRTCLMODFLAGS = AUT($(AUT ) ) DBGVIEW($(DBGVIEW ) ) OPTIMIZE($(OPTIMIZE ) ) OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
409+ CRTCMDFLAGS = PGM($(PGM ) ) VLDCKR($(VLDCKR ) ) PMTFILE($(PMTFILE ) ) HLPPNLGRP($(HLPPNLGRP ) ) HLPID($(HLPID ) ) AUT($(AUT ) ) ALLOW($(ALLOW ) ) TEXT('$(subst ','', $( TEXT ) ) ')
410410CRTCMODFLAGS = TERASPACE($(TERASPACE ) ) STGMDL($(STGMDL ) ) OUTPUT(*PRINT) OPTION($(OPTION ) ) DBGVIEW($(DBGVIEW ) ) OPTIMIZE($(OPTIMIZE ) ) \
411- SYSIFCOPT($(SYSIFCOPT ) ) AUT($(AUT ) ) TEXT('$(TEXT ) ') TGTCCSID($(TGTCCSID ) ) TGTRLS($(TGTRLS ) ) INLINE($(INLINE ) ) INCDIR($(INCDIR ) ) \
411+ SYSIFCOPT($(SYSIFCOPT ) ) AUT($(AUT ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTCCSID($(TGTCCSID ) ) TGTRLS($(TGTRLS ) ) INLINE($(INLINE ) ) INCDIR($(INCDIR ) ) \
412412 LOCALETYPE($(LOCALETYPE ) ) DEFINE($(DEFINE ) )
413413CRTCPPMODFLAGS = TERASPACE($(TERASPACE ) ) STGMDL($(STGMDL ) ) OUTPUT(*PRINT) OPTION($(OPTION ) ) DBGVIEW($(DBGVIEW ) ) OPTIMIZE($(OPTIMIZE ) ) \
414- SYSIFCOPT($(SYSIFCOPT ) ) AUT($(AUT ) ) TEXT('$(TEXT ) ') TGTCCSID($(TGTCCSID ) ) TGTRLS($(TGTRLS ) ) INLINE($(INLINE ) ) INCDIR($(INCDIR ) ) \
414+ SYSIFCOPT($(SYSIFCOPT ) ) AUT($(AUT ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTCCSID($(TGTCCSID ) ) TGTRLS($(TGTRLS ) ) INLINE($(INLINE ) ) INCDIR($(INCDIR ) ) \
415415 LOCALETYPE($(LOCALETYPE ) ) DEFINE($(DEFINE ) )
416- CRTDSPFFLAGS = ENHDSP($(ENHDSP ) ) RSTDSP($(RSTDSP ) ) DFRWRT($(DFRWRT ) ) AUT($(AUT ) ) OPTION($(OPTION ) ) TEXT('$(TEXT ) ')
417- CRTLFFLAGS = AUT($(AUT ) ) OPTION($(OPTION ) ) TEXT('$(TEXT ) ')
418- CRTMNUFLAGS = AUT($(AUT ) ) OPTION($(OPTION ) ) CURLIB($(CURLIB ) ) PRDLIB($(PRDLIB ) ) TEXT('$(TEXT ) ') TYPE($(TYPE ) )
419- CRTPFFLAGS = AUT($(AUT ) ) DLTPCT($(DLTPCT ) ) OPTION($(OPTION ) ) REUSEDLT($(REUSEDLT ) ) SIZE($(SIZE ) ) TEXT('$(TEXT ) ')
420- CRTPGMFLAGS = ACTGRP($(ACTGRP ) ) USRPRF(*USER) TGTRLS($(TGTRLS ) ) AUT($(AUT ) ) DETAIL($(DETAIL ) ) OPTION($(CRTPGM_OPTION ) ) STGMDL($(STGMDL ) ) TEXT('$(TEXT ) ')
421- CRTPNLGRPFLAGS = AUT($(AUT ) ) OPTION($(OPTION ) ) TEXT('$(TEXT ) ')
422- CRTRPGPGMFLAGS = OPTION($(OPTION ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) )
423- CRTCBLPGMFLAGS = OPTION($(OPTION ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) )
424- CRTPRTFFLAGS = AUT($(AUT ) ) OPTION($(OPTION ) ) PAGESIZE($(PAGESIZE ) ) TEXT('$(TEXT ) ')
425- CRTRPGMODFLAGS = AUT($(AUT ) ) DBGVIEW($(DBGVIEW ) ) OPTIMIZE($(OPTIMIZE ) ) OPTION($(OPTION ) ) OUTPUT(*PRINT) TEXT('$(TEXT ) ') \
416+ CRTDSPFFLAGS = ENHDSP($(ENHDSP ) ) RSTDSP($(RSTDSP ) ) DFRWRT($(DFRWRT ) ) AUT($(AUT ) ) OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ')
417+ CRTLFFLAGS = AUT($(AUT ) ) OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ')
418+ CRTMNUFLAGS = AUT($(AUT ) ) OPTION($(OPTION ) ) CURLIB($(CURLIB ) ) PRDLIB($(PRDLIB ) ) TEXT('$(subst ','', $( TEXT ) ) ') TYPE($(TYPE ) )
419+ CRTPFFLAGS = AUT($(AUT ) ) DLTPCT($(DLTPCT ) ) OPTION($(OPTION ) ) REUSEDLT($(REUSEDLT ) ) SIZE($(SIZE ) ) TEXT('$(subst ','', $( TEXT ) ) ')
420+ CRTPGMFLAGS = ACTGRP($(ACTGRP ) ) USRPRF(*USER) TGTRLS($(TGTRLS ) ) AUT($(AUT ) ) DETAIL($(DETAIL ) ) OPTION($(CRTPGM_OPTION ) ) STGMDL($(STGMDL ) ) TEXT('$(subst ','', $( TEXT ) ) ')
421+ CRTPNLGRPFLAGS = AUT($(AUT ) ) OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ')
422+ CRTRPGPGMFLAGS = OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) )
423+ CRTCBLPGMFLAGS = OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) )
424+ CRTPRTFFLAGS = AUT($(AUT ) ) OPTION($(OPTION ) ) PAGESIZE($(PAGESIZE ) ) TEXT('$(subst ','', $( TEXT ) ) ')
425+ CRTRPGMODFLAGS = AUT($(AUT ) ) DBGVIEW($(DBGVIEW ) ) OPTIMIZE($(OPTIMIZE ) ) OPTION($(OPTION ) ) OUTPUT(*PRINT) TEXT('$(subst ','', $( TEXT ) ) ') \
426426 TGTCCSID($(TGTCCSID ) ) TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) ) DEFINE($(DEFINE ) )
427- CRTCBLMODFLAGS = AUT($(AUT ) ) DBGVIEW($(DBGVIEW ) ) OPTIMIZE($(OPTIMIZE ) ) OPTION($(OPTION ) ) OUTPUT(*PRINT) TEXT('$(TEXT ) ') \
427+ CRTCBLMODFLAGS = AUT($(AUT ) ) DBGVIEW($(DBGVIEW ) ) OPTIMIZE($(OPTIMIZE ) ) OPTION($(OPTION ) ) OUTPUT(*PRINT) TEXT('$(subst ','', $( TEXT ) ) ') \
428428 TGTCCSID($(TGTCCSID ) ) TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
429- CRTQMQRYFLAGS = AUT($(AUT ) ) TEXT('$(TEXT ) ')
430- CRTSQLCIFLAGS = COMMIT($(COMMIT ) ) OBJTYPE($(OBJTYPE ) ) OUTPUT(*PRINT) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) ) DBGVIEW($(DBGVIEW ) ) \
429+ CRTQMQRYFLAGS = AUT($(AUT ) ) TEXT('$(subst ','', $( TEXT ) ) ')
430+ CRTSQLCIFLAGS = COMMIT($(COMMIT ) ) OBJTYPE($(OBJTYPE ) ) OUTPUT(*PRINT) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) ) DBGVIEW($(DBGVIEW ) ) \
431431 COMPILEOPT('INCDIR($(doublequotedINCDIR ) ) OPTION($(OPTION ) ) STGMDL($(STGMDL ) ) SYSIFCOPT($(SYSIFCOPT ) ) \
432432 TGTCCSID($(TGTCCSID ) ) TERASPACE($(TERASPACE ) ) OPTIMIZE($(OPTIMIZE ) ) INLINE($(INLINE ) )') CVTCCSID($(TGTCCSID ) )
433- CRTSQLCPPIFLAGS = COMMIT($(COMMIT ) ) OUTPUT(*PRINT) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) ) DBGVIEW($(DBGVIEW ) ) \
433+ CRTSQLCPPIFLAGS = COMMIT($(COMMIT ) ) OUTPUT(*PRINT) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) ) DBGVIEW($(DBGVIEW ) ) \
434434 CVTCCSID($(TGTCCSID ) ) OPTION($(OPTION ) ) \
435435 COMPILEOPT('STGMDL($(STGMDL ) ) SYSIFCOPT($(SYSIFCOPT ) ) DEFINE($(DEFINE ) ) OPTIMIZE($(OPTIMIZE ) ) INLINE($(INLINE ) ) \
436436 TGTCCSID($(TGTCCSID ) ) TERASPACE($(TERASPACE ) ) INCDIR($(doublequotedINCDIR ) )')
437- CRTSQLRPGIFLAGS = COMMIT($(COMMIT ) ) OBJTYPE($(OBJTYPE ) ) OPTION($(OPTION ) ) OUTPUT(*PRINT) TEXT('$(TEXT ) ') \
437+ CRTSQLRPGIFLAGS = COMMIT($(COMMIT ) ) OBJTYPE($(OBJTYPE ) ) OPTION($(OPTION ) ) OUTPUT(*PRINT) TEXT('$(subst ','', $( TEXT ) ) ') \
438438 TGTRLS($(TGTRLS ) ) DBGVIEW($(DBGVIEW ) ) RPGPPOPT($(RPGPPOPT ) ) \
439439 COMPILEOPT('TGTCCSID($(TGTCCSID ) ) OPTIMIZE($(OPTIMIZE ) ) INCDIR($(doublequotedINCDIR ) )')
440- CRTSQLCBLIFLAGS = COMMIT($(COMMIT ) ) OBJTYPE($(OBJTYPE ) ) OPTION($(OPTION ) ) OUTPUT(*PRINT) TEXT('$(TEXT ) ') \
440+ CRTSQLCBLIFLAGS = COMMIT($(COMMIT ) ) OBJTYPE($(OBJTYPE ) ) OPTION($(OPTION ) ) OUTPUT(*PRINT) TEXT('$(subst ','', $( TEXT ) ) ') \
441441 TGTRLS($(TGTRLS ) ) DBGVIEW($(DBGVIEW ) ) CVTCCSID($(TGTCCSID ) ) \
442442 COMPILEOPT('TGTCCSID($(TGTCCSID ) ) OPTIMIZE($(OPTIMIZE ) ) INCDIR($(doublequotedINCDIR ) )')
443- CRTSRVPGMFLAGS = ACTGRP($(ACTGRP ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) ) AUT($(AUT ) ) DETAIL($(DETAIL ) ) STGMDL($(STGMDL ) ) OPTION($(OPTION ) ) BNDDIR( $( BNDDIR ) )
444- CRTWSCSTFLAGS = AUT($(AUT ) ) TEXT('$(TEXT ) ')
445- CRTBNDRPGFLAGS = TGTCCSID($(TGTCCSID ) ) DBGVIEW($(DBGVIEW ) ) OPTION($(OPTION ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
446- CRTBNDCBLFLAGS = TGTCCSID($(TGTCCSID ) ) DBGVIEW($(DBGVIEW ) ) OPTION($(OPTION ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
447- CRTBNDCFLAGS = TGTCCSID($(TGTCCSID ) ) DBGVIEW($(DBGVIEW ) ) OPTION($(OPTION ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
448- CRTBNDCLFLAGS = AUT($(AUT ) ) DBGVIEW($(DBGVIEW ) ) OPTION($(OPTION ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
449- CRTCLPGMFLAGS = OPTION($(OPTION ) ) TEXT('$(TEXT ) ') TGTRLS($(TGTRLS ) )
443+ CRTSRVPGMFLAGS = ACTGRP($(ACTGRP ) ) TEXT('$(subst ','', $( TEXT )) ') TGTRLS($(TGTRLS ) ) AUT($(AUT ) ) DETAIL($(DETAIL ) ) STGMDL($(STGMDL ) ) OPTION($(OPTION ) )
444+ CRTWSCSTFLAGS = AUT($(AUT ) ) TEXT('$(subst ','', $( TEXT ) ) ')
445+ CRTBNDRPGFLAGS = TGTCCSID($(TGTCCSID ) ) DBGVIEW($(DBGVIEW ) ) OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
446+ CRTBNDCBLFLAGS = TGTCCSID($(TGTCCSID ) ) DBGVIEW($(DBGVIEW ) ) OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
447+ CRTBNDCFLAGS = TGTCCSID($(TGTCCSID ) ) DBGVIEW($(DBGVIEW ) ) OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
448+ CRTBNDCLFLAGS = AUT($(AUT ) ) DBGVIEW($(DBGVIEW ) ) OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) ) INCDIR($(INCDIR ) )
449+ CRTCLPGMFLAGS = OPTION($(OPTION ) ) TEXT('$(subst ','', $( TEXT ) ) ') TGTRLS($(TGTRLS ) )
450450RUNSQLFLAGS = DBGVIEW(*SOURCE) TGTRLS($(TGTRLS ) ) OUTPUT(*PRINT) MARGINS(1024) COMMIT($(COMMIT ) )
451451
452452# Extra command string for adhoc addition of extra parameters to a creation command.
@@ -1058,7 +1058,7 @@ define TABLE_TO_FILE_RECIPE =
10581058 $(eval d = $($@ _d) )
10591059 @$(call echo_cmd,"=== Creating SQL TABLE $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
10601060 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1061- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(TEXT ) '))
1061+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(subst ','', $( TEXT ) ) '))
10621062 @$(PRESETUP ) \
10631063 $(SETCURLIBTOOBJLIB ) \
10641064 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " $(logFile ) "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1071,7 +1071,7 @@ define PFSQL_TO_FILE_RECIPE =
10711071 $(eval d = $($@ _d) )
10721072 @$(call echo_cmd,"=== Creating SQL PFSQL $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
10731073 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1074- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(TEXT ) '))
1074+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(subst ','', $( TEXT ) ) '))
10751075 @$(PRESETUP ) \
10761076 $(SETCURLIBTOOBJLIB ) \
10771077 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " $(logFile ) "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1084,7 +1084,7 @@ define VIEW_TO_FILE_RECIPE =
10841084 $(eval d = $($@ _d) )
10851085 @$(call echo_cmd,"=== Creating SQL VIEW $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
10861086 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1087- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(TEXT ) '))
1087+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(subst ','', $( TEXT ) ) '))
10881088 @$(PRESETUP ) \
10891089 $(SETCURLIBTOOBJLIB ) \
10901090 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " $(logFile ) "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1095,7 +1095,7 @@ define INDEX_TO_FILE_RECIPE =
10951095 $(eval d = $($@ _d) )
10961096 @$(call echo_cmd,"=== Creating SQL INDEX $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
10971097 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1098- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(TEXT ) '))
1098+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(subst ','', $( TEXT ) ) '))
10991099 @$(PRESETUP ) \
11001100 $(SETCURLIBTOOBJLIB ) \
11011101 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " $(logFile ) "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1106,7 +1106,7 @@ define SQLUDT_TO_FILE_RECIPE =
11061106 $(eval d = $($@ _d) )
11071107 @$(call echo_cmd,"=== Creating SQL UDT $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
11081108 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1109- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(TEXT ) '))
1109+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(subst ','', $( TEXT ) ) '))
11101110 @$(PRESETUP ) \
11111111 $(SETCURLIBTOOBJLIB ) \
11121112 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " $(logFile ) "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1117,7 +1117,7 @@ define SQLALIAS_TO_FILE_RECIPE =
11171117 $(eval d = $($@ _d) )
11181118 @$(call echo_cmd,"=== Creating SQL ALIAS $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
11191119 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1120- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(TEXT ) '))
1120+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*FILE) TEXT('$(subst ','', $( TEXT ) ) '))
11211121 @$(PRESETUP ) \
11221122 $(SETCURLIBTOOBJLIB ) \
11231123 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " $(logFile ) "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1140,7 +1140,7 @@ define SQLSEQ_TO_DTAARA_RECIPE =
11401140 $(eval d = $($@ _d) )
11411141 @$(call echo_cmd,"=== Creating SQL SEQUENCE $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
11421142 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1143- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*DTAARA) TEXT('$(TEXT ) '))
1143+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*DTAARA) TEXT('$(subst ','', $( TEXT ) ) '))
11441144 @$(PRESETUP ) \
11451145 $(SETCURLIBTOOBJLIB ) \
11461146 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " $(logFile ) "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1304,7 +1304,7 @@ define SQLPRC_TO_PGM_RECIPE =
13041304 $(PGM_VARIABLES )
13051305 @$(call echo_cmd,"=== Creating SQL PROCEDURE $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
13061306 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1307- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*PGM) TEXT('$(TEXT ) '))
1307+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*PGM) TEXT('$(subst ','', $( TEXT ) ) '))
13081308 @$(PRESETUP ) \
13091309 $(SETCURLIBTOOBJLIB ) \
13101310 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " "$(logFile ) " "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1314,7 +1314,7 @@ define SQLTRG_TO_PGM_RECIPE =
13141314 $(PGM_VARIABLES )
13151315 @$(call echo_cmd,"=== Creating SQL TRIGGER $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
13161316 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1317- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*PGM) TEXT('$(TEXT ) '))
1317+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*PGM) TEXT('$(subst ','', $( TEXT ) ) '))
13181318 @$(PRESETUP ) \
13191319 $(SETCURLIBTOOBJLIB ) \
13201320 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " "$(logFile ) " "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
@@ -1466,7 +1466,7 @@ define SQLUDF_TO_SRVPGM_RECIPE =
14661466 $(eval d = $($@ _d) )
14671467 @$(call echo_cmd,"=== Creating SQL UDF $(OBJLIB ) /$(basename $(notdir $@ ) ) from Sql statement [$(notdir $< ) ]")
14681468 $(eval crtcmd := RUNSQLSTM srcstmf('$< ') $(RUNSQLFLAGS ) )
1469- $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*SRVPGM) TEXT('$(TEXT ) '))
1469+ $(eval mbrtextcmd := CHGOBJD OBJ($(OBJLIB ) /$(basename $(notdir $@ ) ) ) OBJTYPE(*SRVPGM) TEXT('$(subst ','', $( TEXT ) ) '))
14701470 @$(PRESETUP ) \
14711471 $(SETCURLIBTOOBJLIB ) \
14721472 $(SCRIPTSPATH ) /launch "$(JOBLOGFILE ) " "$(crtcmd ) " "$(PRECMD ) " "$(POSTCMD ) " "$(notdir $@ ) " "$< " "$(logFile ) " "" "$(mbrtextcmd ) "> $(logFile ) 2>&1 && $(call logSuccess,$@ ) || $(call logFail,$@ )
0 commit comments