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
 

 

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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 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 Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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