NetBase for MPE Reference Guide

Chapter 5
5-44
Parameters
Parameter Description
comarea
An array of various information used to control the posting of shadow
information. Some fields are reserved and must not be modified. The format is:
Bytes Contents
0..1 Action Flag. Set by the user exit procedure to determine the action taken
by the posting process. The valid values are:
0 Successful call. Do not open shadow file.
2 Successful call. Open shadow file for normal posting.
3 Disable subsequent user exit calls. File will be posted
normally.
-1 Set discard flag for file.
-2 Set SYNC LOST flag. Reason goes in STATUS field below.
-3 Set QUEUE status. All records will be sent to a post queue.
2..3 Status. Additional information used by the post program if an action
such as SYNC LOST is set. Used to display informative messages.
Note: The above fields are set to 0 when the procedure is entered.
4..5 Node number. Original node number of this file.
6..7 Local node number. Node number of this node.
8..11 File number. Set by the user if action 0 is taken and action 2 will be
used in subsequent calls of POSTUSEREXIT.
12 File type. Must be F for MPE file, K for KSAM file and I for IMAGE
database. Set by the user only if the file number is also set to a non-
zero value.
13 Unused