Running a method
From a formatted MAL display you can enter certain commands.
These commands are:
- CANCEL
- Returns control to the previous display without processing the MAL.
- DUMP mal-field
- Determines the type of the specified field and creates an appropriate DUMP command to call the CODB debugging transaction. mal_field can be any field on the formatted MAL display.
- END
- Edits the MAL and then either ATTACHes, EXECutes, or STARTs the method.
Control returns to the previous display.
If you return to the COD0 main menu while a method is running, a LIST START command is automatically issued.
- FLAG mal-field
- Displays a list of the specified field's bit values (that is, their names from the Message Argument Format). Those that are currently set are prefixed by a plus sign (+). mal-field can be any field on the formatted MAL display that has a type of FLG. If the name you enter is neither part of the MAL nor an FLG field, an error message is issued.
- GO
- Edits the MAL and then either ATTACHes, EXECutes, or STARTs the method.
Control remains at the formatted MAL display. You can enter the same or different
data, and issue GO or END again.
You can use the LIST or LIST START command to check the progress of the started or attached method. When you END the LIST display control returns to the formatted MAL display.
- NEXT
- For the results of an ATTACHed method that either ran in multiple MASs or ran multiple times in a CMAS, displays the MAL that ran next.
- PREV
- For the results of an ATTACHed method that either ran in multiple MASs or ran multiple times in a CMAS, displays the MAL that ran previously.
Note:
- If you press Enter without issuing a command, the MAL is edited, but not run.
- For the DUMP and FLAG commands, only fields that appear in the current formatted MAL display can be used as parameters. If you want to name the field of another MAL, you must first display that MAL from the LIST START or LIST TASK screen.