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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am

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