View previous topic :: View next topic
|
Author |
Message |
vd120
New User
Joined: 06 Nov 2010 Posts: 24 Location: NYC
|
|
|
|
Hello,
I'm looking for idea how to process record with variable field lengs.
Record example:
abs12 xcd23456 xz1 dfn243ntbr
Fields are different in the size and number of fields can be different as well, so using PARSE doen't looks as a good idea. There is a space charachter in between fields and file has only a couple of records.
Can some one through good idea how to process it in the REXX, by process I mean to separate every field from the record to a veriable (fld.1, fld.2, fld.3 ....)
Thank you. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
If you can not understand how PARSE works, then look at using WORDS and WORD. |
|
Back to top |
|
|
|