[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] Unstring "ing" a dynamic length input file
- Subject: Re: [sqr-users] Unstring "ing" a dynamic length input file
- From: "George Jansen" <GJANSEN@aflcio.org>
- Date: Wed, 24 Aug 2005 07:41:53 -0400
- Delivery-date: Wed, 24 Aug 2005 06:43:44 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Do you have to use SQR? Scripting languages such as Perl, Python, Ruby, Tcl,
all handle this nicely with a "split" command.
>>> ashokkuttan@yahoo.com 08/23/05 1:02 PM >>>
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
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users