New CL Command to Add NetServer Shares

Though it is relatively painless to add a NetServer shared resource through iSeries Navigator, sometimes you have the requirement to add and remove shares programmatically. The CL command presented in this issue provides the functionality to add a NetServer share via a CL command that you can run from a command line, include in a CL program, or place on your job scheduler.

In future issues, I will present the command to remove a NetServer share, and a command to work with NetServer shares. Why should iSeries Navigator have all the fun?

Download the save file containing the source code.

Read the entire article

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 )

Facebook photo

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

Connecting to %s