View previous topic :: View next topic |
Author |
Message |
rkr78 Beginner
Joined: 16 Mar 2005 Posts: 1 Topics: 1
|
Posted: Mon Mar 21, 2005 1:09 am Post subject: Sort based on value in the Sort field |
|
|
Hi,
I have a requirement to sort a file on Domain name of Email Address.
The email address starts in position 50 and ends in position 100. Length of the file is 100 bytes.
The domain name can start in any position between 50 and 100.
ABC@<domain Name>
PQRST@<domain Name>
Based on the occurence of @, the domain name has to be detected.
Thanks |
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Mon Mar 21, 2005 5:09 am Post subject: |
|
|
Write some PL1 / Cobol code ....
Using EXEC Sort, it looks impossible ! |
|
Back to top |
|
 |
mithun466 Beginner

Joined: 14 Apr 2004 Posts: 3 Topics: 0
|
Posted: Mon Mar 21, 2005 8:25 pm Post subject: |
|
|
rkr78,
Please explain your requirements with sample inputs/outputs.
Thanks,
Mithun |
|
Back to top |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Tue Mar 22, 2005 4:37 am Post subject: |
|
|
I have not used it but probably you use USER EXIT. |
|
Back to top |
|
 |
|
|