How To Build A SRVPGM Using The Command Line
The other day we had an issue with building a full package for one of our EnterpriseOne installations. The issue was related to not having the same tools release active on both the Deployment Server and the Enterprise Server.
However, I found something rather interesting. You can build an individual package DLL or SRVPGM on the System i (AS400, iSeries, i) using the command line.
According to Oracle Support Doc ID 630044.1 you could use the CRTCMOD command. However, this may error because “any object that has a #include for jde.h will not be found”.
The correct steps you must use to compile a DLL or SRVPGM using the command line is below:
- Add the EnterpriseOne system library using the following:
addlible e811sys
- If you wished to build the CFIN SRVPGM, run the following command:
call builddll '/oneworld/packages/<packagename>/text/cfin.txt'
Hopefully, this will help you if you ever need to build a DLL or SVRPGM using the command line.
