iSeries - won't compile C-Functions / NERs?

DBohner-(db)

Legendary Poster
Howdy,

Don't call me a CNC (that's my night job??)

Recently - we had some build issues. Things were going great, then one day - kaputz... Functions stopped compiling.

Is there a short-list of things I should review?

Functions build on Fat Clients, on Windows Logic Servers - just not on the iSeries.

Thoughts, Prayers and hallucinogenics - appreciated!

(db)
 
Dan, look at the svrpkgbuild.log for the build pathcode on the deployment server.
 
In CCUSTOM.LOG:
Fri Dec 15 10:58:58 - Package properties: New Build, Update Package, Do not stop on Error.
Fri Dec 15 10:58:58 - Entering BuildAS400CompileString
Fri Dec 15 10:58:58 - ENBPFRCOL setting does not exist in the txt file.
Fri Dec 15 10:58:58 - Exiting BuildAS400CompileString
Fri Dec 15 10:58:58 - Built AS400 compile string: 'CRTCMOD MODULE(DV900HU07/&1 ) SRCSTMF('/OneWorld/Packages/DV900HU07/source/CCUSTOM/&2 OUTPUT(*PRINT) OPTION(*EXPMAC *NOSHOWINC) OPTIMIZE((40)) LOCALETYPE(*LOCALEUCS2) TERASPACE(*YES *TSIFC) INLINE(*ON) DBGVIEW(*NONE) DEFINE(JDENV_AS400MUTEX PRODUCTION_VERSION JDBDB2400 AS400V3R6 USESPECIALGPA4BB USETABLEHEADERFROMINCLUDEA ) TGTRLS(*CURRENT)'
Fri Dec 15 10:58:58 - Trying to set compile INCLUDE environment variable
Fri Dec 15 10:58:58 - Executing: 'ADDENVVAR ENVVAR(INCLUDE) VALUE('/OneWorld/Packages/DV900HU07/include/:/OneWorld/Packages/DV900H/include/:/E900SYS/include:/E900SYS/include/xml:/E900SYS/includev/:/QIBM/ProdData/ILEC:/QIBM/ProdData/ILEC/include:/QIBM/include:/QIBM/include/sys:/QIBM/include/mih')'
Fri Dec 15 10:58:58 - Set compile INCLUDE environment variable successfully
Fri Dec 15 10:58:58 - Starting BSFN compiles.
Fri Dec 15 10:58:58 - Executing: 'CRTCMOD MODULE(DV900HU07/n55bp01 ) SRCSTMF('/OneWorld/Packages/DV900HU07/source/CCUSTOM/n55bp01.c') OUTPUT(*PRINT) OPTION(*EXPMAC *NOSHOWINC) OPTIMIZE((40)) LOCALETYPE(*LOCALEUCS2) TERASPACE(*YES *TSIFC) INLINE(*ON) DBGVIEW(*NONE) DEFINE(JDENV_AS400MUTEX PRODUCTION_VERSION JDBDB2400 AS400V3R6 USESPECIALGPA4BB USETABLEHEADERFROMINCLUDEA ) TGTRLS(*CURRENT)'
Fri Dec 15 10:59:05 - builddll.c:754 BUILDDLL0015 ERROR: CZM0613 Compile Failed
Fri Dec 15 10:59:05 - Executing: 'CHKOBJ OBJ(DV900HU07/FAILED) OBJTYPE(*FILE)'
Fri Dec 15 10:59:05 - Executing: 'CRTPF DV900HU07/FAILED MBR(*NONE) MAXMBRS(*NOMAX) SIZE(*NOMAX) RCDLEN(198)'
Fri Dec 15 10:59:05 - Executing: 'CPYSPLF FILE(n55bp01) TOFILE(DV900HU07/FAILED) TOMBR(n55bp01) SPLNBR(*LAST)'
Fri Dec 15 10:59:05 - Executing: 'DLTSPLF FILE(n55bp01) SPLNBR(*LAST)'
Fri Dec 15 10:59:05 - builddll.c:841 BUILDDLL0024 ERROR: BSFN source failed to compile.
Fri Dec 15 10:59:05 - Stop on BSFN Error not set. Setting BSFN status to 'D' and exiting out.
Fri Dec 15 10:59:05 - Builddll - Exiting Builddll for BSFN txt file '/OneWorld/Packages/DV900HU07/text/CCUSTOM.txt'

I've looked through all the other logs/txt files in build folder - nothing has reached out and slapped me, yet.

I think I'm looking forward to moving off the iSeries - next year....

(db)
 
Look the spool files for the CRTMOD job by running WRKSPLF. You should see the exact error (line# and cause) in it.
 
Dan,

Check this NER: n55bp01.c -- what dll is it building in? Check the BIN32 folder and make sure the CCUSTOM.dll has been built in a full package.
 
STRPDM DV900HU07/FAILED

There should be members with the compile logs.
 
If all function builds are failing across the board (standard , custom everything ) on the iSeries then I would check if your ILEC compiler license expired or something . You should see messages in the System Operator messages if this is the case.
 
Craig Wins (do you want to join us at Collaborate, this year?)

I had created a select/while loop. In the Fetch, I originally fetched one value, then decided to fetch something different. In the first fetchnext I replaced the value I no-longer wanted to use. In the second fetch, I added the new value - and did not remove the second value. I deleted the event variable (without removing the value from the fetch). The deleted event variable was stuck in the second fetchnext (only affected the iSeries compile - STRANGE).

Ok, new moniker - IMDrStrange?

resolved!

(db)
 
If all function builds are failing across the board (standard , custom everything ) on the iSeries then I would check if your ILEC compiler license expired or something . You should see messages in the System Operator messages if this is the case.

I actually saw this years ago. New AS/400 install and the customer had not fully licensed the compiler, it had been on a trial license or something.
 
Back
Top