[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Unstring "ing" a dynamic length input file
- Subject: [sqr-users] Unstring "ing" a dynamic length input file
- From: Ashok Kuttan <ashokkuttan@yahoo.com>
- Date: Tue, 23 Aug 2005 10:02:01 -0700 (PDT)
- Delivery-date: Tue, 23 Aug 2005 12:03:11 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;b=LYd+A8Jdkeo2vy2ym/OnQpCrp0wTXHwL01b/Uq+oyp5kTfv/b0Tk+BS6zogpxlJkfMo0HsFOOPRdcVyxEev28uAN5o6wCiLp1KWPKoTNjl+SdofesaSZBMoVVdSna5u3kWTJBA7ChzPIQ5brYBljfAroUHHYYVLIchwXJvo9yDE=;
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
I have a file whose length is dynamic. Employee A might have 5 columns, whereas
Employee B might have 10 columns. Hence I cannot use the traditional Unstring
command to place in variables. Since this file is a comma delimited file, I was
thinking of using "find" command to look for commas and then store the
respective values in an array. Can anyone help me with the proper find loop or
any other better solution ?
File layout example (just one line): E,010,4500
Any help will be appreciated.
Thanks
JR
---------------------------------
Start your day with Yahoo! - make it your home page
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users