X-Original-To: pgsql-php@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id F384E47634A for ; Tue, 29 Apr 2003 11:55:26 -0400 (EDT) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by postgresql.org (Postfix) with ESMTP id 13FFE476372 for ; Tue, 29 Apr 2003 11:54:08 -0400 (EDT) Received: from marcottesamiam ([68.102.181.163]) by lakemtao08.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20030429155411.BEXR7627.lakemtao08.cox.net@marcottesamiam> for ; Tue, 29 Apr 2003 11:54:11 -0400 Message-ID: <001801c30e67$9478a220$a3b56644@marcottesamiam> Reply-To: From: To: References: <20030428070607.47828.qmail@web40608.mail.yahoo.com> Subject: New New :(( - Trying to figure out a couple things - Please help Date: Tue, 29 Apr 2003 09:54:12 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Status: No, hits=-4.2 required=5.0 tests=NO_DNS_FOR_FROM,NO_REAL_NAME,REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/1 X-Sequence-Number: 2006 Hi Sam Marcotte here I am real new at this - Old Mainframer and I know what I want to do but just not finding the correct functions. I want to figure out how to put info out of a file (it is xml). I need to find a way to look thru the file and find lines that look lik Computers I want to pull out just Computers (remove and write to another file (I can do the writes) Then Computers - ddddddd dddddd dddddd ddddd multi lies from start of desc to end - and take the off - and write each record till I find the end I know we are talking about 2 or 3 loops my main problem is find given data in the middle of a line of txt. Thanks for any help