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 Unable to copy data from spool in a d... srikant314 JCL & VSAM 2 Fri Jul 28, 2017 9:10 pm
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm


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