Using CALLSUB Statements in Multiple Arm Mode

If you assign a CALLSUB statement to Arm1; all of the commands in the subroutine are assigned to Arm1 when the subroutine is called.

If you assign a CALLSUB statement to Arm2; all of the commands in the subroutine are assigned to Arm2 when the subroutine is called.

If you mark a CALLSUB statement for both arms, PC-DMIS leaves the subroutine markings as they were originally set.

If a subroutine contains a MOVE/SYNC command in it, and you assign the CALLSUB statement to Arm1 or Arm2, at execution time PC-DMIS displays an error indicating that this is invalid and the subroutine is not called.

For information on assigning a command to execute for a specific arm, see the "Assigning a Command to an Arm" topic in the "Using Multiple Arm Mode" chapter.