Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

JOB

Draft MDC Standard

8.2.18 Job

J[OB] postcond SP L jobargument

    jobargument::=


[ jobenv ] entryref [ : jobparameters ]
[ jobenv ] labelref actuallist [ : jobparameters ]
@ expratom V L jobargument



    jobenv::= VB environment VB
    jobparameters::=

processparameters [ timeout ]
timeout


    processparameters::=

expr
( [ [ expr ] : ] ... expr )


For each jobargument, the Job command attempts to initiate another M[UMPS] process. If the actuallist is present in a jobargument, the formalline designated by labelref must contain a formallist in which the number of names is greater than or equal to the number of exprs in the actuallist.

The Job command initiates this process at the line specified by the entryref or labelref. There is no linkage between the started process and the process that initiated it. It is erroneous for a jobargument to contain a call-by-reference actual (ecode = "M40"). If the actuallist is not present, the process will have no variables initially defined. (See 7.1.2.3 Process-Stack, and 8.1.7 Parameter passing).

The processparameters can be used in an implementation-specific fashion to indicate operational parameters.

If a timeout is present, the condition reported by $Test is the success of initiating the process. If no timeout is present, the value of $Test is not changed, and process execution is suspended until the process named in the jobargument is successfully initiated. The meaning of success in either context is defined by the implementation.

If jobenv is explicitly specified, the Job command attempts to initiate this process in the environment specified by jobenv. Reference to a non-existent jobenv causes an error condition with an ecode = "M26". If jobenv is not explicitly specified, then the value of ^$Job( $Job, "Job" ) is used.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 14-Nov-2023, 21:37:03.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)