Creating the Auto-start Job Entry for the STRTCP Command
Procedure
- End the subsystem using the following command: ENDSBS SBS(QSYSWRK).
- To create the autostart job entry for STRTCP, enter the following command to create a STRTCP job description: CRTJOBD JOBD(QGPL/STRTCP) JOBQ(QSYS/QSYSNOMAX) TEXT('Autostart Job Start TCP/IP Command JOBD') USER(QPGMR) RQSDTA('QSYS/STRTCP')
- After the job description is created, to attach it the QSYSWRK subsystem, enter the following command: ADDAJE SBSD(QSYSWRK) JOB(STRTCP) JOBD(QGPL/STRTCP)
-
To verify the autostart job entry was successfully applied within the QSYSWRK subsystem, enter the following command:
DSPSBSD SBSD(QSYSWRK)
The subsystem description is displayed.
- To display auto-start job entries, select option 3 and press Enter.
- Verify that the entry exists and is correct. Then restart the subsystem using the following command: STRSBS SBSD(QSYSWRK)
Copyright © Cloud Software Group, Inc. All rights reserved.