Previous Topic: SEGMENT Keyword—Field SegmentsNext Topic: SELDATA Keyword—SDT SELDATA Field


Examples: SEGMENT Keyword

This example includes a field called $ACCTS in a segment named TAXINFO:

TSS ADDTO(FDT) FDTNAME($ACCTS)
               FDTCODE(1E)
               SEGMENT(TAXINFO)
               MAXLEN(12)
               DISPLAY('SALARY ACCT')

This example finds all field names in the TAXINFO segment:

TSS LIST(FDT) SEGMENT(TAXINFO)