Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ABME8TMP

ABME8TMP.m

Go to the documentation of this file.
ABME8TMP ; IHS/ASDST/DMJ - 837 TMP Segment 
 ;;2.6;IHS 3P BILLING SYSTEM;;NOV 12, 2009
 ;Transaction Set Header
 ;
START ;START HERE
 K ABMREC("TMP"),ABMR("TMP")
 S ABME("RTYPE")="TMP"
 D LOOP
 K ABME,ABM
 Q
LOOP ;LOOP HERE
 F I=10:10:30 D
 .D @I
 .I $D(^ABMEXLM("AA",+$G(ABMP("INS")),+$G(ABMP("EXP")),ABME("RTYPE"),I)) D @(^(I))
 .I $G(ABMREC("TMP"))'="" S ABMREC("TMP")=ABMREC("TMP")_"*"
 .S ABMREC("TMP")=$G(ABMREC("TMP"))_ABMR("TMP",I)
 Q
10 ;segment
 S ABMR("TMP",10)="TMP"
 Q
20 ;TMP01 - Transaction Set Identifier Code
 S ABMR("TMP",20)=""
 Q
30 ;TMP02 - File Sequence & Serial Number
 S ABMR("TMP",30)=""
 Q