Prompt: !,DGL1,!,"FOR EACH SEGMENT BLOCKS SHOULD BALANCE AS FOLLOWS: ",?55,"Sum of BLOCKS 02-15 plus 22-25 plus 30-33 plus 38-40 = BLOCK 01."
Line Location: END+1
Function Call: WRITE
Prompt: !?55,"Sum of BLOCKS 11-15 = Sum of BLOCKS 16-19.",!?55,"Sum of BLOCKS 11-15 = Sum of BLOCKS 20-21.",!?55,"Sum of BLOCKS 22-25 = Sum of BLOCKS 26-29.",!?55,"Sum of BLOCKS 30-33 = Sum of BLOCKS 34-37."
Line Location: END+2
Function Call: WRITE
Prompt: !?55,"With the exception of Segment 420, BLOCKS 39-40 should always be ZERO.",!
Line Location: END+3
Function Call: WRITE
Prompt: !!,"***","Not able to generate AMIS - Data segments are out of balance for:",!
Line Location: END+4
Function Call: WRITE
Prompt: X_$S($O(DGUB(X)):",",1:"")
Line Location: END+5
Function Call: WRITE
Prompt: !,DGL1
Line Location: END+6
Function Call: WRITE
Prompt: !,"Totals last generated on '",Y,"' by '",$S($D(^VA(200,+$P(DGEN,"^",4),0)):$P(^(0),"^",1),1:"UNKNOWN USER"),"'.",?(127-$L(DGWHEN)-1),DGWHEN,!