>>... all challenges for DFSORT; some not algorithmically solvable.

Paul,
'
Can you send me a sample of data with all the challenging scenarios and I 
will *try* to see if I can solve it. For a fully tested solution it would 
be only on Monday.

Thanks,
Kolusu

IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> wrote on 
07/16/2017 07:28:19 AM:

> From: Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Date: 07/16/2017 07:28 AM
> Subject: Re: Sort Question
> Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU>
> 
> On Sat, 15 Jul 2017 14:18:41 -0500, Edward Gould wrote:
> 
> >One of my users asked me this question and I am not quite clear on 
> how to respond.
> >Given an email address aaa...@bbb.com <mailto:aaa...@bbb.com> (example)
> >
> >He just wants to sort on the field before the @ and then for a 
> secondary sort the bbb field. Both fields are variable in length 
> (not sure what the max is).
> >Any suggestions on how to do this? I have tried RTFM but maybe I am
> not looking at the question correctly .
> >
> (From RFC 822:
>      addr-spec   =  local-part "@" domain        ; global address )
> 
> The domain is specified (Internet standard) to be case-insensitive.
> 
> The interpretation of the local-part is left entirely up to the server,
> which may treat it as case-sensitive or insensitive.
> 
> If the local-part contains special characters, it must be surrounded by
> quotation marks.  If there are no special characters, the quotation
> marks are optional.
> 
> Mappings may make domains equivalent.  For example, my domain
> may be written as "AIM.com" or "AOL.Com"
> 
> Some servers (not all) accept userID"+"subaccount as a local-part,
> delivering mail to userID and allowing rules in userID's MUA to
> sort messages into folders.
> 
> And a comment may be profided as a "phrase" in "mailbox"
> 
>      mailbox     =  addr-spec                    ; simple address
>                  /  phrase route-addr            ; name & addr-spec
> 
>      route-addr  =  "<" [route] addr-spec ">"
> 
> ... all challenges for DFSORT; some not algorithmically solvable.
> 
> -- gil
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to