View previous topic :: View next topic
|
Author |
Message |
mkarthikeyan
New User
Joined: 07 Aug 2008 Posts: 34 Location: Bangalore
|
|
|
|
The input file has the below layout
AA COM1
AA COM2
AA COM3
BB COM4
BB COM5
CC COM6
Output file
AA COM1 / COM2 / COM3
BB COM4 / COM5
CC COM6
Thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you spend a bit of tiime searching the forum (SEARCH above in the blue bar) as this has been posted multiple times. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Karthikeyan m,
You haven't given enough information for anyone to help you.
You show a maximum of three records with the same key. Is that the actual maximum or can there be more records with the same key (how many maximum)?
Please show a better example of the records in your input file (relevant fields only) and what you expect for output, covering all possible cases. Explain the "rules" for getting from input to output. Give the starting position, length and format of each relevant input and output field. Give the RECFM and LRECL of the input file and expected output file. |
|
Back to top |
|
|
|