What is the proper syntax for scheduling an EXEC to run each day.
VM:Schedule 2.0
z/VM
If you intend this EXEC to run on the VMSCHED service machine, the EXEC-name and UserID must be included on an AUTHORIZE record in the VMSCHED CONFIG file.
The correct syntax for the SCHEDULE command on the MNT1 ID would be:
VMSCHED SCHEDULE request_name exec_FileName ( Run_Options
Assuming you want the "request_name" to be the same as the EXEC FileName, in this case CHKSHP, and to run it EVERY DAY, the SCHEDULE command would look like this:
VMSCHED SCHEDULE chkshp chkshp ( again daily
If you wanted the "request_name" to be, for example SHIPLIST, the SCHEDULE command would look like this:
VMSCHED SCHEDULE shiplist chkshp ( again daily
From UserID MNT1, you should be able to issue:
VMSCHED QUERY *
and/or
VMSCHED QUERY * ( LONG
to see what requests MNT1 has scheduled to run.
Alternatively, you can use the screens to SCHEDULE/QUERY by entering VMSCHED with no operands and you should get the main menu (you might have to change your expertise level to get all the options).