Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

HEX Values for Super script s and t

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
shan007

New User


Joined: 28 Jun 2009
Posts: 3
Location: bangalore

PostPosted: Mon Jan 24, 2011 12:08 am    Post subject: HEX Values for Super script s and t
Reply with quote

What is the HEX value for the superscript s & t.

Thanks for your help in advance.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jan 24, 2011 12:40 am    Post subject:
Reply with quote

Hello,

You need to post more detail.

What does "superscript s & t" mean to you?

Keep in mind that what you want to know is completely clear to you, but may not be clear to others who whould help if they understood the question.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Jan 24, 2011 12:40 am    Post subject: Reply to: HEX Values for Super script s and t
Reply with quote

Please define a "Superscript" as it relates to Mainframe COBOL.

Do you mean "Subscript" use for a table?

If so, then review the source code for the definitions of variables "S" and "T" and post them.

If they truly are subscripts, the most optimum definition will be unsigned binary fullwords, PIC 9(09) COMP.

Bill
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jan 24, 2011 12:51 am    Post subject:
Reply with quote

When you say "HEX value", you are being extremely unclear. Do you mean the EBCDIC hex value used on the mainframe, the ASCII hex value used on a PC, or do you mean the hex value on some other code page yet to be determined? The code page determines the character set which determines what the hex values are for each character -- and EBCDIC, for example, has more than one code page so characters on one EBCDIC code page do not map exactly to characters on another EBCDIC code page.
Back to top
View user's profile Send private message
shan007

New User


Joined: 28 Jun 2009
Posts: 3
Location: bangalore

PostPosted: Mon Jan 24, 2011 12:52 am    Post subject: Reply to: HEX Values for Super script s and t
Reply with quote

Thanks so much for you reply.

I want to print in the output statement "st" as in 31 St dec or 1st jan. I need to pass hex value for the superscript s,t. In order to print the superscript st in the output statement.

Plz let me know if you need more info.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10275
Location: italy

PostPosted: Mon Jan 24, 2011 1:08 am    Post subject: Reply to: HEX Values for Super script s and t
Reply with quote

You need to look at Your <printer> manuals!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jan 24, 2011 1:57 am    Post subject:
Reply with quote

Depending upon the printer, it may -- or may not -- be possible to do what you are wanting. As enrico says, look at the printer manual.
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Mon Jan 24, 2011 4:17 am    Post subject:
Reply with quote

Also, consider the possibly that you will need the codes for the letters "d", "h", "n" and "r" as well - since "st" would not be not be the appropriate superscript for dates ending in:

0 (superscript should be "th"),
2 (superscript could be either "th" (for 12th) or "nd" (for 2nd or 22nd)),
3 (superscript could be either "th" (for 13th) or "rd" (for 3rd or 23rd)), or
4-9 (superscript should be "th").
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Mon Jan 24, 2011 5:18 am    Post subject:
Reply with quote

I assume you with 'superscript' mean printing the ordinal letters in a smaller font elevated from the surrounding font image.

In standard EBCDIC nor ASCII, there are no values representing separate superscript characters.

You can only accomplish this by changing the font or character set for the desired characters to print, so you have to look that up depending on what printer types you need to support.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts BI,TO=ZD Changing Values Tyler Dunbar DFSORT/ICETOOL 1 Tue Jul 25, 2017 12:12 am
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us