What does Ý and ¨mean?

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Post Reply
User avatar
demecarv
Registered Member
Posts: 52
Joined: Sat Sep 12, 2015 2:03 am

What does Ý and ¨mean?

Post by demecarv »

I have found in some jython scripts created by other employe certain special character Ý where I would expected [.
For certain time, I removed it from the jython script and I ignored the reason for such special charactes appering but now I see again during a very simple command:

Code: Select all

$ sh manageprofiles.sh -listProfiles
Ýdefault¨
Kindly, note that the answer startes with Ý and finishes with ¨ (¨ is diferent from ", e.g. ¨ is diferent from double quotes).
Searching on internet, I found many people telling how to remove it but I would like to know why this is appearing. Could be some configuration on my side messing the file whenever I open it or is that possible that someone purposely place it there?
User avatar
Akatsukami
Global Moderator
Global Moderator
Posts: 122
Joined: Tue Oct 20, 2015 3:20 am
Location: Bloomington, IL
Contact:

Re: What does Ý and ¨mean?

Post by Akatsukami »

What code page are you using?
"I come to the conclusion that, men loving according to their own will and fearing according to that of the prince, a wise prince should establish himself on that which is in his own control and not in that of others." -- Niccolò Machiavelli
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: What does Ý and ¨mean?

Post by Robert Sample »

IBM mainframes use two main code pages for EBCDIC -- 037 and 1047. For one of them, and I don't recall right off hand which, the Ý is how the [ bracket is translated and the ¨ is how the ] is translated. You might try changing your edit to HEX ON and see what these characters are (if you can redirect your output to a file). You may wind up doing CHANGE commands to the brackets. X'BA' and X'BB' are the brackets for one and X'AD' and X'BD' are the brackets for the other IIRC.

This is NOT something that anyone is doing to you -- it is a result of the way the different EBCDIC and ASCII code pages work and how the translations are done between them. You don't really want to remove them -- you want them to be brackets, usually. I think I recall finding a way to get the brackets to appear on my terminal, but it has been several years since I dealt with a bracket-oriented language on the mainframe. I may have just done the CHANGE in an EDIT session to fix them.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”