The APF3812/ADDFILSHR command can be used for sharing objects on the System i. It can e.g. be used for sharing the QDLS as below:
Add NetServer File Share (ADDFILSHR)
Type choices, press Enter.
Share name . . . . . . . . . . . > QDLS________ Name Object . . . . . . . . . . . . . > /QDLS______________________________________ _______ Text 'description' . . . . . . . QDLS_______________________________________ _______ Data authorities . . . . . . . . *RW *R, *RW Maximum users . . . . . . . . . *NOMAX_____ Number, *NOMAX
|
With the APF3812/ADDPRTSHR command you can share a printer on the System i.
Add NetServer Printer share (ADDPRTSHR)
Type choices, press Enter.
Share name . . . . . . . . . . . __________ Name Output queue . . . . . . . . . . __________ Name Library . . . . . . . . . . . *LIBL_____ Name, *LIBL Text 'description' . . . . . . . *OUTQ_____________________________________ _______ Printer driver . . . . . . . . . 'HP LaserJet III'_________________________ _______ Spooled file type . . . . . . . *USERASCII *USERASCII, *AFP, *SCS
The printer driver is default ‘HP LaserJet III’ and describes a printer driver to use when installing this printer on e.g. a PC.
|
The APF3812/CHGNETSVRA command can change the netserver name and domain of the System i.
Related commands: DSPNETSVRA, STRNETSVR, ENDNETSVR and the netserver share commands: ADDFILSHR, ADDPRTSHR and RMVNETSHR.
The APF3812/DSPNETSVRA command displays the netserver name and domain name used for the System i. This can be used when configuring the netserver.
Display NetServer Attributes
Server name . . . . . . : QS4449079
Domain name . . . . . . : WORKGROUP
Text . . . . . . . . . . : Os/400
|
With the command Enable NetServer User (APF3812/ENANETUSR) you can enable a user profile for NetServer use. This should not be mistaken for a normal disabled user profile.
Normally you can enable a user for NetServer use by doing a dummy change (CHGUSRPRF), but with specific OS400 PTFs this does not work, and that is where this command is especially handy. The command has a single parameter, USER, which is the user profile to enable. The cookbook includes details and other alternatives to this command. The cookbook can be downloaded via this link: http://download.interform400.com/shares/public/CookBook.zip
The APF3812/ENDNETSVR command ends the netserver on the System i.
The APF3812/RMVNETSHR command can be used to remove a share of an object, that previously has been added either by use of Operations Navigator or ADDFILSHR or ADDPRTSHR.
The APF3812/STRNETSVR command can be used to start the Netserver on the System i - without the use of Operations Navigator.