Getpars doesn't handle strings. Sadly, neither does the underlying CP service db_query.=20 The most common approach is to use ICC Driver Task to create a listing a parse that. I use my refs toolkit. It contains a tool that will read a set of workfiles and dump them into a set of ASCII files. There is an ASCII file for each block type and a record in each file for each block of that type. This can be imported into a database for analysis. The tool kit also has docWF which can do simply queries against the files created by dumpWF. Regards, =20 Alex Johnson Invensys Systems, Inc. 10900 Equity Drive Houston, TX 77041 713.329.8472 (voice) 713.329.1700 (fax) 713.329.1600 (switchboard) alex.johnson@xxxxxxxxxxxxxxxx -----Original Message----- From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On Behalf Of Pauwels, Dirk Sent: Tuesday, February 13, 2007 10:35 AM To: foxboro@xxxxxxxxxxxxx Subject: [foxboro] omget Is anyone using an omget or getpars script to extract C:B:P? I would like to get a listing of certain blocks with their corresponding IOM_ID and PNT NO. I tried using getpars -fINCfind =20 INCfind: U CP600* t AIN C INCIN* m CMPNM %12.12s m type %10.10s m DESCRP %20.20s m IOM_ID %6s m PNT_NO %1c =20 last 2 param search come up "NA". Is there any other way to obtain this data? Thanks % Rgds Dirk =20 =20 =20 _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html =20 foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave =20 Confidentiality Notice: =0AThe information contained in this electronic m= essage and any attachment(s) to this message are intended for the exclusi= ve use of the recipient(s) and may contain confidential, privileged or pr= oprietary information. If you are not the intended recipient, please noti= fy the sender immediately, delete all copies of this message and any atta= chment(s). Any other use of the E-Mail by you is prohibited.=0A =0AConfidentiality Notice: =0AThe information contained in this electroni= c message and any attachment(s) to this message are intended for the excl= usive use of the recipient(s) and may contain confidential, privileged or= proprietary information. If you are not the intended recipient, please n= otify the sender immediately, delete all copies of this message and any a= ttachment(s). Any other use of the E-Mail by you is prohibited.=0A _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave