Problem translating Lower to Upper



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Problem translating Lower to Upper

Postby ottoelflaco » Tue May 17, 2016 8:56 pm

Hello,

Sorry my english
I have a problem with special characters when I use the function to translate lower to upper. The problem is I need translate character of spanish dictionary, and this dictionary has 'ñ' character..


So when I use the function:
SORT FIELDS=COPY            
OUTREC BUILD=(1,20,TRAN=LTOU)


This works for all letters, except 'ñ' to 'Ñ'....

How can I translate ñ too...anybody can guide me? If not posible, could anybody tell me about other function?


Sorry if my english is not ok..
Thank you.
Regards
ottoelflaco
 
Posts: 36
Joined: Fri Sep 21, 2012 2:33 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Problem translating Lower to Upper

Postby BillyBoyo » Wed May 18, 2016 12:41 am

Have a look at ALTSEQ to define the n-tilde to N-tilde and TRAN=ALTSEQ to make the change. You'll need an OVERLAY after your BUILD, so with WHEN=INIT for them, or possibly with OUTREC OVERLAY.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Problem translating Lower to Upper

Postby ottoelflaco » Mon Jun 20, 2016 8:20 pm

I found this:

INREC FINDREP=(INOUT=(C'ñ',C'Ñ'))


Thank Billy
ottoelflaco
 
Posts: 36
Joined: Fri Sep 21, 2012 2:33 pm
Has thanked: 1 time
Been thanked: 0 time


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post