How To Build A SRVPGM Using The Command Line

Read Time:51 Sec

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:

  1. Add the EnterpriseOne system library using the following:
    [sourcecode]addlible e811sys[/sourcecode]
  2. If you wished to build the CFIN SRVPGM, run the following command:

    [sourcecode]call builddll ‘/oneworld/packages/<packagename&gt;/text/cfin.txt'[/sourcecode]

Hopefully, this will help you if you ever need to build a DLL or SVRPGM using the command line.

Author

Stewart Schatz

Career: Principal CNC Consultant for Syntax Systems Limited specializing Oracle JD Edwards EnterpriseOne and the technology that supports it. Side Hustle: Owner/Operator of E1Tips.com Location: Lancaster, PA USA  What I like to do: Invest in Family, Explore Technology, Lead Teams, Share Knowledge/Experience, Hunt, Hike, etc.

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous post Journaling a Physical File on IBM iSeries Using STRJRNPF
Next post Create A Windows Service / Delete A Windows Service (sc create / sc delete)