APIs by Example: APIs and CL Command Interfaces

IBM provides some APIs that let specific system functions be performed from within a program, as opposed to, for example, from the iSeries Navigator GUI. And sometimes IBM provides new APIs through a PTF, so that the API becomes immediately available for current or previous releases.

Today’s API by Example covers an API that falls into both categories: Change IPv4 Interface (QTOCC4IF). This API, part of the V5R4 base install and available to V5R2 and V5R3 through a couple of PTFs, lets you change selected parameters for an IPv4 network interface.

The V5R2/V5R3 versions of this API support only a subset of what’s available in the V5R4 API. This fact is revealed by comparing the documentation in the V5R4 Information Center with the documentation in APAR 19172.

Download the save file containing the source code.

Read the entire article

One thought on “APIs by Example: APIs and CL Command Interfaces

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s