JAMS Reference Manual
Contents Index JAMS Home Support

JAMS Reference Manual


Previous Contents Index


JAMS_SCHEDULE_SORT

The JAMS_SCHEDULE_SORT routine is used to sort the Jobs in a schedule context.

Format

JAMS_SCHEDULE_SORT context, sort-code


RETURNS

VMS usage: cond_value
type: longword (unsigned)
access: write only
mechanism: by value

ARGUMENTS

context


VMS usage: context
type: pointer
access: read only
mechanism: by value

This argument is the schedule context which was returned from a call to JAMS_SCHEDULE_INIT.

sort-code


VMS usage: code
type: longword
access: read only
mechanism: by value

This argument is a sort code which specifies how the Jobs should be sorted. Valid values are:
Symbol Sort Order
JAMS_K_SORT_SYSTEM_ID Sorts by System I.D., Setup Name, Job Name and Scheduled Date/Time.
JAMS_K_SORT_JOB_NAME Sorts by Job Name, Setup Name and Scheduled Date/Time.
JAMS_K_SORT_SCHEDULED_DATE Sorts by Scheduled Date/Time, Setup Name, and Job Name.
JAMS_K_SORT_ESTIMATED_DATE Sorts by Estimated Start time, Setup Name and Job Name.

Description

The JAMS_SCHEDULE_SORT routine is used to sort the Jobs in a simulated schedule.


Previous Next Contents Index
JAMS Copyright © 2000, MVP Systems, Inc. All rights reserved.