VMSCHED rc=24 trying to schedule a request
search cancel

VMSCHED rc=24 trying to schedule a request

book

Article ID: 278269

calendar_today

Updated On:

Products

VM:Schedule

Issue/Introduction

What is the proper syntax for scheduling an EXEC to run each day.

Environment

VM:Schedule 2.0

z/VM

Resolution

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.

 

 

Additional Information

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).