You can use connections in a batch job or for printing. However, doing this involves special considerations:
If an authentication entry exists for the iSeries user profile under which the job will run, and the profile contains the correct NetWare user name and password, the system can start the necessary connections. No special action is required.
If no authentication entry exists, or there is no password in the authentication entry, you must start a connection manually in one authentication entry. To start this connection manually, you have two options:
STRNTWCNN SERVER(X) AUTUSR(batch-usrprf) AUTJOB(*ANY) PASSWORD(XXX)or
STRNTWCNN SERVER(X) AUTUSR(batch-usrprf) AUTJOB(*ANY) NDSCTX(XXX) NTWUSER(XXX) PASSWORD(XXX)
STRNTWCNN SERVER(X) NTWUSER(XXX) PASSWORD(XXX)
The QNetWare file system requires a connection for the current job (AUTJOB(*)). This means that to access the QNetWare file system from a batch job, you must either: