JAMS Reference Manual
Contents Index JAMS Home Support

JAMS Reference Manual


Previous Contents Index


JAMS_SCHEDULE_GET_JOB

The JAMS_SCHEDULE_GET_JOB routine is used to return the first or next job context from a schedule context.

Format

JAMS_SCHEDULE_GET_JOB context, job-context


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.

job-context


VMS usage: context
type: pointer
access: write only
mechanism: by reference

This argument is a pointer which will be used to return the job context.

Description

This routine is used to return the first, or next, job context from a schedule context. The job context can then be passed to JAMS_GET_DATA to obtain information from the context or, it can be passed to JAMS_SCHEDULE_GET_DEPEND to get a dependency context.

Return Values

JAMS_ENDCTX End of context stream.


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