Zowe:Operating Zowe

Starting and stopping Zowe

You can start and stop the main server using z/OS start and stop commands
or you can start it from Unix Services using the zwe start –config … command.

I find the zwe command slow, as it has to spawn a process, to issue the command.

You will need authority to issue the commands whether you use sdsf or the zwe commands.

Using the start and stop commands

S ZWESLSTC

and stop it using

P ZWESLSTC

Using the Unix Services command zwe start –config …

zwe start --config /path/to/my/zowe.yaml

This issues a command on the console like

S ZWESLSTC,HAINST=S0W1,JOBNAME=ZWE1SV           

Where ZWESLSTC is the name of the started task procedure. This runs as job name ZWE1SV, the value in the zowe.job.name zowe.yaml file. The output from the job has name ZWE1SV in the spool.

You can stop it using the P… operator command or use

zwe start --config /path/to/my/zowe.yaml

Displaying active components

You can display the active components using

f ZWE1SLSTC,APPL=DISPLAY

This gives output like

ZWEL0011I     name =          gateway, PID = 33620200         
ZWEL0011I name = zaas, PID = 83952054
ZWEL0011I name = api-catalog, PID = 16843191
ZWEL0011I name = discovery, PID = 65976
ZWEL0011I name = caching-service, PID = 65977
ZWEL0011I name = app-server, PID = -1
ZWEL0011I name = zss, PID = 65979

Where a PID of -1 indicates the service is not running.

Starting and stopping components

You can stop and start components using

F ZWE1SV,APPL=STOP(app-server)
F ZWE1SV,APPL=START(app-server)

The output is like

F ZWE1SLSTC,APPL=STOP(APP-SERVER)                       
IEE342I MODIFY REJECTED-TASK BUSY
IEE342I MODIFY REJECTED-TASK BUSY
IEE342I MODIFY REJECTED-TASK BUSY
IEE342I MODIFY REJECTED-TASK BUSY
IEE342I MODIFY REJECTED-TASK BUSY
IEE342I MODIFY REJECTED-TASK BUSY
IEE342I MODIFY REJECTED-TASK BUSY
IEE342I MODIFY REJECTED-TASK BUSY
IEE342I MODIFY REJECTED-TASK BUSY
+ZWEL0002I component app-server stopped
+ZWEL0002I component app-server stopped

Where

  • ZWE1SLSTC is the started task, or jobname.
  • the IEE342I messages are because some BPXAS tasks are started with the same jobname, and they do not respond to the Modify broadcast.

If you configure your Zowe started task procedure to be 7 characters or less, the additional BPXAS jobs created will be called like ZWE1SLST1, ZWE1SLST2, ZWE1SLST3… and you will not get the IEE342I MODIFY REJECTED-TASK BUSY messages

Leave a comment