IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to supersript th & nd in Jan 10th to Feb 22nd


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Fri Nov 02, 2007 11:11 am
Reply with quote

Any one of you please let me know how to type like the below mentioned code.

My aim is how to type the th and nd like below.

Jan 10th to Feb 22nd.


Thanks!
Rathna.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Nov 02, 2007 2:50 pm
Reply with quote

are you requesting a way to enable multiple fonts within a tso screen?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Nov 02, 2007 7:43 pm
Reply with quote

Hello,

One way is to define an array with the suffix value you want to append and concatenate the numeral(s) with the suffix (i.e. th, st, nd, rd, th, etc.). You need to be careful of situations like the "11th" vrs the "21st".
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Nov 02, 2007 8:07 pm
Reply with quote

But Dick, then to show 11 with a smaller th pushed up about half a character... I don't think that can be done with a TSO session. Word uses an AutoCorrect feature to superscript ordinals to those positions.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Nov 02, 2007 8:12 pm
Reply with quote

Dick,

Im not sure who removed the two posts.

In that the OP had mentioned his requirement clearly. His requirement is bring 'th'/'st'/'nd' etc.... to the power position. The way one of the 'office' software (can't put the name here) works.

Eg: 11 power 'th' etc....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Nov 02, 2007 9:04 pm
Reply with quote

Hello,

Quote:
I don't think that can be done with a TSO session
Right, it can't. . . This would be partly due to the 3270 not supporting those characters/fonts.

I have seen apps that used the st, th, rd etc in the "output", but they each took 2 characters.

Quote:
Im not sure who removed the two posts.
There have been days when i've noticed my count go backwards as many as 10 or 15. I believe there is sometimes cleanup to remove posts that may not be needed. I know that i have removed some posts that were either completely wrong or the poster made a typo and corrected it in a follow-up so i fixed the original and removed the follow-up.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. Mainframe interview on 10th Oct 2015 ... Mainframe Jobs 0
No new posts Replace A to space in 10th position t... DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. Weekend drive 22nd Aug 09-Pune & ... Mainframe Jobs 0
No new posts Copy only from 10th record to 20th re... DFSORT/ICETOOL 5
No new posts Table has 100 rows. I want to retrive... DB2 12
Search our Forums:

Back to Top