Hi Bruce, First, create a dictionary that is an I descriptor and just give it a value of 1.
Assume you called it One Then: LIST RMA BY F40 BREAK.ON F40 TOTAL One ID.SUP DET.SUP Should do it! btw, are you a Manage-2000 client? I noticed the F40 convention which is standard for files on M2K. And wouldn't that be the RMAH or RMAD files??? [AD] I'm a consultant that specializes in M2K....[END AD] hth, Allen www.tortillafc.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bruce Ordway Sent: Friday, September 02, 2005 14:55 To: 'u2-users@listserver.u2ug.org' Subject: [U2] TCL beginner Hi, I've got Dataflo running on Unidata 5.2. I know just enough TCL to be dangerous. Anyway I've been struggling this afternoon withg something I thought would be simple. Maybe you can help? I have a file called RMA with a field called Comment (F40). If I do this LIST RMA BY F40 F40 I get something like this: RMA F40 1234 1 2345 1 3456 1 4567 2 5678 2 1345 3 1456 3 Now, what I'd like to see are totals of unique values in F40 i.e. 1 = 3 2 = 2 3 = 2 Is it possible to do with just TCL? Thanks, Bruce Ordway Viking Engineering 763-586-1228 [EMAIL PROTECTED] ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/