Skip to content

Commit 121ece8

Browse files
committed
Remove CRTSQLRPGI workaround for files tagged in 1208
As documented in developerworks, we just need to set RPGPPOPT(*LVL1) or RPGPPOPT(*LVL2) to get 1208 files to work with CRTSQLRGPI. https://www.ibm.com/developerworks/community/wikis/home#!/wiki/We13116a562db_467e_bcd4_882013aec57a/page/Compile%20RPG%20from%20Unicode%20source%20-%20new%20TGTCCSID%20parameter%20in%207.1%2C%207.2%2C%207.3
1 parent 805533f commit 121ece8

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Jenkinsfile

-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ pipeline {
55
}
66
}
77
stages {
8-
stage('set ccsid workaround') {
9-
steps {
10-
sh 'find src/ -name \\*.rpglesql | xargs setccsid 819'
11-
}
12-
}
138
stage('configure') {
149
steps {
1510
sh 'python3 ./configure'

Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ xmlstoredp.srvpgm: xmlstoredp.module $(COMMON)
9595
touch $@
9696

9797
%.module: src/%.rpglesql
98-
system "CRTSQLRPGI OBJ($(LIBRARY)/$*) SRCSTMF('$<') OBJTYPE(*MODULE) REPLACE(*YES) COMPILEOPT('INCDIR(''src/'') TGTCCSID(37)')" > $*.log 2> $*.msg && rm $*.log $*.msg || touch $*.failed
98+
system "CRTSQLRPGI OBJ($(LIBRARY)/$*) SRCSTMF('$<') OBJTYPE(*MODULE) REPLACE(*YES) RPGPPOPT(*LVL2) COMPILEOPT('INCDIR(''src/'') TGTCCSID(37)')" > $*.log 2> $*.msg && rm $*.log $*.msg || touch $*.failed
9999
test ! -e $*.msg || cat $*.msg
100100
test ! -e $*.log || ./parse.sh $*.log
101101
if [ -e $*.failed ]; then rm $*.failed; exit 1; fi

0 commit comments

Comments
 (0)