Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Convert a file having lower case data to upper case via JCL?

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

New User


Joined: 30 May 2005
Posts: 1

PostPosted: Mon Jun 20, 2005 3:55 pm    Post subject: Convert a file having lower case data to upper case via JCL?
Reply with quote

Hi Guys,

Is it possible to convert a file having lower case data to upper case?

Just by using JCL command? Would somebody help me.

Thanks,
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


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

PostPosted: Mon Jun 20, 2005 4:09 pm    Post subject: Re: Convert a file having lower case data to upper case via
Reply with quote

You can do that with DFSORT. Here's a Smart DFSORT Trick that discusses how:

http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/srtmst03.html#t05

Hope this helps...

regards,

Priyesh.
Back to top
View user's profile Send private message
leo_sangha

New User


Joined: 11 Aug 2005
Posts: 85
Location: England

PostPosted: Wed Oct 05, 2005 4:04 pm    Post subject: Re: Convert a file having lower case data to upper case via
Reply with quote

marche wrote:
Hi Guys,

Is it possible to convert a file having lower case data to upper case?

Just by using JCL command? Would somebody help me.

Thanks,


hi,
just saw this query in the forum ....
thought this might be helpful to you ...
Yes you can do the same using JCL,

You have to use SORT utility and the control card which looks like this ...

SORT FIELDS=COPY
OUTREC FIELDS=(1:1,4,5:5,11,TRAN=LTOU)

this is for a VB file ... where you are converting 11 lower case char to 11 upper case char ....
1-4 bytes are reserved for the RDW .....

for FB file you have to mention like this ...

SORT FIELDS=COPY
OUTREC FIELDS=(1:1,11,TRAN=LTOU)

let me know if this worked for you ....

thanks
leo_sangha@yahoo.com
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us