on 07-26-2007 10:21 AM
Hi,
input is a file contains a set of records. i have to group the records based on a field and the field contains string value. let it be 'name' field. if file contains reords with name john and smith then ,records with name 'john' should be grouped and with name 'smith' should be grouped like that.
any suggestions plz
Hi,
Defina an input and output structure like.
MT_X
---<JOHN>
-
key
-
detail1
-
detail2
---<SMITHA>
-
key
-
detail1
-
detail2
---<XXXXXX>
---<YYYYY>
FCC Configuration:
Document Name : MT_X
Recordset Structure: JOHN,,SMITHA,,XXXXX,,YYYYY,
Key Field Name : key
parameters:
JOHN.filedSeparator = ' '
JOHN.fieldNames = key,datail1,detail2
JOHN.keyFieldValue = 'JOHN'
JOHN.endSeparator = 'nl'
Repeat the same for all the fields.
Now all the records with name JOHN will come under the same structure in the input file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
U can use the user defined functions to solve the problem.
regards
yugapreetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.