Modify your startup program to auto start Zend Server after IPL or reboot
#Find where your startup program is. (Program called after an IPL (Reboot)) | |
DSPSYSVAL SYSVAL(QSTRUPPGM) | |
#Create a source file | |
CRTSRCPF FILE(MYLIB/MYFILE) | |
#Put the startup Program in that file | |
RTVCLSRC PGM(SOMELIB/THESTARTUPPGM) SRCFILE(MYLIB/MYFILE) SRCMBR(MYPROGM) | |
STRPDM | |
#Option 3 work with members | |
LIB: MYLIB | |
FILE: MYFILE | |
#Option 2 Edit | |
#Add this to your source file | |
STRTCPSVR SERVER(*HTTP) HTTPSVR(ZENDSVR) | |
#Creat the CL Program | |
CRTCLPGM PGM(MYLIB/MYFILE) SRCFILE(MYLIB/MYFILE) | |
#Point the system value of the startup program to the new program | |
CHGSYSVAL SYSVAL(QSTRUPPGM) VALUE('MYLIB/MYFILE') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment