Hi,.I construct a table using a set of Macros.
The macro supports four different TYPE fuctions.
I can have a TYPE=INITIAL, TYPE=ENTRY, TYPE=FINAL, and
TYPE=DSECT.
.
TYPE=INITIAL basically sets up pointers to the first entry, last entry,
and a count of the number of entries.
.
TYPE=ENTRY describes the individual elements in the table, each ENTRY
is identified by a four character Transaction Code.
.
I want to know how best to identify a duplicate Transaction Code during Assembly
of the Table.
.
For Example
SV5000XX TYPE=INITIAL
SV5000XX TYPE=ENTRY,XCODE=ABCD,P1=JOB001,P=JOB002,P3=JOB003
SV5000XX TYPE=ENTRY,XCODE=IJKL,P1=JOB021,P=JOB032,P3=JOB043
SV5000XX TYPE=ENTRY,XCODE=ABCD,P1=JOB0AA,P=JOB0BB,P3=JOB0CC
SV5000XX TYPE=FINAL
.
In the above scenario, I would want to flag entry three as a duplicate
XCODE of ABCD during assembly.
.
I want to know how best to identify a duplicate Transaction Code during Assembly
of the Table.
.
Any suggestions - sample conditional assembly code would be best
.
Paul D'Angelo
*
*
*