Access to Task Attributes in MARC

For each session, MARC stores information about a few selected task attributes. MARC requests some of this information from the user at log-on time and obtains the rest from usercode attributes defined in the USERDATAFILE. MARC assigns these task attribute values to any process initiated by that session (for example, by a MARC RUN command). The task attributes stored by MARC include the following:

BACKUPFAMILY

JOBNUMBER

PRINTDEFAULTS

CHARGE

JOBSUMMARY

SOURCESTATION

CONVENTION

JOBSUMMARYTITLE

STATION

DESTNAME

LANGUAGE

USERCODE

EXCEPTIONTASK

NOJOBSUMMARYIO

 

FAMILY

PRIORITY

 

A task initiated from a MARC session receives a JOBNUMBER value equal to the session number. The JOBNUMBER value for such a task can range anywhere from 100 to 65535, depending on the session number range established by the system command MAX SESSION = <number>.

For a WFL job started from a MARC session, MARC assigns a MIXNUMBER value from the mix number pool and assigns a JOBNUMBER value equal to the MIXNUMBER value. The JOBNUMBER value for such a task can range anywhere from 100 to 65535, depending on the mix number range established by the system command MAX MIX = <number>.

Certain of the session attributes established for MARC dialogue 1 are inherited by any sessions started in other MARC dialogues; these session attributes are USERCODE, ACCESSCODE, CHARGE, FAMILY, and LANGUAGE.

MARC provides commands and menu selections that you can use to set the values of the following attributes: DESTNAME, FAMILY, JOBSUMMARY, JOBSUMMARYTITLE, LANGUAGE, NOJOBSUMMARYIO, and PRINTDEFAULTS. The other attributes in the previous list cannot be accessed by the user.

You can also assign task attributes to specific processes by using task equations. You can enter task equations in MARC in either of the following ways:

  • RUN, FILEEQUATE, and TASKATTR screens

    The RUN screen includes boxes you can fill to indicate that file equations or task attribute assignments are needed. If file equations are needed, the FILEEQUATE screen is displayed. You can enter any number of file equations. Implicitly, these are assignments to the FILECARDS task attribute. If task attribute assignments are needed, the TASKATTR screen is displayed. This screen includes fields for assigning selected task attributes, as well as an empty field you can use to assign one or more additional task attributes of your choice.

  • RUN command

    When you initiate a task by using a RUN command, you can include task equations that assign task attribute values for the task. The following RUN command includes several task equations:

    RUN OBJECT/PROGA;TASKVALUE=1;DISPLAYONLYTOMCS=TRUE;FILE OUT=OUT/FILE;