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
 

 

To Conver Lower case to Upper Case

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
ramankapoor

New User


Joined: 27 Feb 2006
Posts: 23
Location: delhi

PostPosted: Thu Mar 16, 2006 1:05 pm    Post subject: To Conver Lower case to Upper Case
Reply with quote

To Conver Lower case to Upper Case we use the sort Card Like below :

SORT FIELDS=(COPY)
OUTREC FIELDS=(1,45,46,3,TRAN=LTOU)

Can u Pls what we are defining in the Control card statment like
(1,45,46,3,TRAN=LTOU)
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu Mar 16, 2006 7:18 pm    Post subject: Re: To Conver Lower case to Upper Case
Reply with quote

ramankapoor,

You will probably have better luck with this question in the DFSORT forum.
icon_razz.gif

Dave
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 287
Location: Basel, Switzerland

PostPosted: Thu Mar 16, 2006 7:56 pm    Post subject:
Reply with quote

hy ramankapoor,

wait for Frank, he will help you...

martin9
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Mar 16, 2006 9:03 pm    Post subject: Re: To Conver Lower case to Upper Case
Reply with quote

Hi Raman,

Quote:
SORT FIELDS=(COPY)
OUTREC FIELDS=(1,45,46,3,TRAN=LTOU)

I am not sure, what is the LRCEL of your file. But this SORT Card says not to interfere with first 45 chars & to change next 3 chars to Upper Cases.

I hope it clears... But lets wait for Frank Openion...

Regards,
Priyesh.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 287
Location: Basel, Switzerland

PostPosted: Thu Mar 16, 2006 9:36 pm    Post subject:
Reply with quote

hy folks,

yeah for dfsort/icetool stuff, frank is best...
i'm always impressed about his solutions,
thanks frank...

martin9
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Mar 16, 2006 9:39 pm    Post subject:
Reply with quote

Quote:
OUTREC FIELDS=(1,45,46,3,TRAN=LTOU)


1,45 says to copy positions 1-45 in the input record to positions 1-45 in the output record with no changes.

46,3,TRAN=LTOU says to copy positions 46-48 in the input record to positions 46-48 in the output record and to convert any lower case input characters to upper case output characters.

The output records will be 48 bytes long.

If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts Summing on Mixed Case Literals Roy Ware SYNCSORT 3 Tue Jan 03, 2017 10:18 pm
No new posts Case insenstive in INCLUDE Condtion smileseenu DFSORT/ICETOOL 2 Mon Feb 15, 2016 8:42 pm
No new posts How steps execute in Job in case of a... richiewalia JCL & VSAM 4 Tue Jan 12, 2016 12:34 pm
No new posts Translate UPPER CASE to lower case steve-myers PL/I & Assembler 0 Mon Oct 19, 2015 9:33 am


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