Port 5555, which is the standard Build Forge agent port, might be preassigned to other agents on System i servers. In this case, change the Build Forge agent port to an unassigned port before starting the agent. To do this, edit the bfagent.conf file directly. For details, see Changing the agent port.
If you completed step 7 in the installation instructions, Installing the agent on System i platforms, the agent starts as the BFAGENT user when System i starts.
bfagent -s
When you issue the bfagent command and start the agent manually, the agent starts as the user who starts the agent.
The agent runs as an i5/OS Portable Application Solution Environment (PASE) program. PASE is included in i5/OS and enables AIX binaries and commands to be run. PASE is typically installed by default.
To determine whether the PASE program is installed, run DSPSFWRSC at a command line.
If the PASE program is not installed, load it from the installation CD.
Most tasks necessary for building applications on i5/OS are accessible from the PASE environment. It is important to keep this fact in mind when planning and defining automation of processes targeted for the iSeries platform.
system -biOE "<native commands>"
Although you cannot set library lists for just a step, a set of steps, or a project, you can set them in the startup command script for the BFAGENT user. See the example startup script in Installing the agent on System i platforms. Setting library lists in the startup command script sets library lists for all projects and steps that are run in the example as the BFAGENT user. The user who runs the projects and steps must have access to the required libraries.
To set library lists, add a job description for the agent that lists the required libraries. The following example job description includes libraries FLGHT400 and FLGHT400M.
10 UTLIB
20 QGPL
30 QTEMP
40 FLGHT400
50 FLGHT400M
The agent specifies this job description
in its startup routine. For example, if the job description is BFAJOBD,
the line in the system startup routine would be as follows:ADDAJE SBSD(BFAGENT/BFAGENT) JOB(BFAGENT) JOBD(BFAGENT/BFAJOBD)
This
solution affects all commands (from any step and project) that are
run on the System i server associated with this agent.