How to insert a trademark character (™) in iSeries

110 pts.
Tags:
AS/400
IBM iSeries
How to insert a trademark character (™) in iSeries? It is not registered trademark. ® , it is trademark (™) which I need to insert and I'm unable to do. Could you please help?

Software/Hardware used:
AS400

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • CharlieBrowne
    The EBCDIC code page 037 (US English) doesn't contain this symbol, so it can't be stored on the iSeries side. The code page documentation for code pages besides 37 are found on the IBM web site under 'globalization' (if you search)
    41,380 pointsBadges:
    report
  • ToddN2000

    You need to be careful using special characters in an I-series database. Sometimes you can enter them but when you try and access that record via WRKQRY or STRDFU you will get a message that there is bad data and it cannot be displayed. The only way I have been able to fix this is via SQL or a custom program to do the replace using hex values. We had users using cut/paste to add notes from e-mails and we had lots of issues.

     

     

    13,050 pointsBadges:
    report
  • CharlieBrowne
    If you just need this for printouts, have you considered using overlays?
    41,380 pointsBadges:
    report
  • Splat
    According to the EBCDIC table, there is no ™.  If ® would suit your purposes, you could use hex value AF.
    7,455 pointsBadges:
    report
  • bvining
    As the original question didn't specify that EBCDIC had to be used, I'll point out that the trademark symbol (™) is certainly available on the i using an encoding such as Unicode. With Unicode the ™ symbol can be inserted, displayed (using a Unicode enabled emulator), and printed (using *PRTF Unicode support). If wanting to insert the symbol directly from say an ILE RPG program the code point is u'2122'.

    Scanning the IBM Information Center using 'Unicode' is one way of getting started on learning just how pervasive Unicode support on the i is.

    Bruce

    6,550 pointsBadges:
    report
  • amalrajvs
    Kindly any help to copy pate from word document or generate from program or through keyboard mapping to generate trade mark symbol 

    20 pointsBadges:
    report
  • NicyChn

    Thanks for all the replies.

    Copy paste will not work as 00-3f and ff are control characters

    I used the below code to read hex value of tm using the program and converted it to blanks for my requirement.

    DHexToChar        PR                  ExtProc('cvtch')       
    D HTCChar                         *   Value                  
    D HTCHex                          *   Value                  
    D HTCCharSize                   10I 0 Value                  
                                                                 
    DCharToHex        PR                  ExtProc('cvthc')       
    D CTHHex                          *   Value                  
    D CTHChar                         *   Value                  
    D CTHCharSize                   10I 0 Value                  
     D @C_Val          S             25A          
    D @H_Val          S             50A          

    CallP   CharToHex(%addr(@H_Val):%addr(@C_Val):%size(@H_Val));  

    CallP HexToChar(%addr(@C_Val):%addr(@H_Val)       
                                 :%size(@C_Val)*2);

    110 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following