How To Build A SRVPGM Using The Command Line
Share
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:
[sourcecode]addlible e811sys[/sourcecode] - If you wished to build the CFIN SRVPGM, run the following command:
[sourcecode]call builddll ‘/oneworld/packages/<packagename>/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
More Stories
How to Print a Directory Structure Using PowerShell: Step-by-Step Guide
If you need to print out the directory structure and list the files within, this PowerShell script will help you...
Quick Tip: IBM Navigator for i Default URL
This is a really quick one but I keep forgetting it: http://<SERVERNAME>:2004/ibm/console
Windows God Mode… What!?!
Windows God Mode is a hidden feature in the Windows operating system that allows users to access all of the system’s control panel options and settings in a single place.
How To Test A SQL Server Connection
There is an easy way to test your SQL Server connection when running Windows without any special software. I found...
4 Lines To Export Outlook Rules To Excel/CSV Using PowerShell
I used to use a ton of Outlook Rules to organize the thousands of emails that I receive each day....
Get The Size & Record Count Of All Tables In A SQL Server Database
Use the SQL query below to display the size and record count of all tables in an SQL Server database....
Average Rating