Gerry:

Thanks very much indeed.

It works... and not a scrap of fat on it.

--Bill

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of u2ug
Sent: Thursday, September 29, 2011 2:51 PM
To: U2 Users List
Subject: Re: [U2] Reading Dictionary Items

The same as you would with any other file - off the top :

open 'DICT','filename' to dfp else abortm 'Cant open dict filename'

execute 'SELECT DICT filename WITH TYPE="D"'
loop while readnext id
        writev id on dfp,id,4
repeat



Gerry


-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Brutzman
Sent: Thursday, September 29, 2011 2:44 PM
To: U2 Users List
Subject: [U2] Reading Dictionary Items

I would like read open a (large) dictionary, read the line items, and write 
back the @ID field to Attribute <4> (the column heading) of each.

Syntax help would be appreciated.

--Bill
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to