IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Convert a file having lower case data to upper case via JCL?


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Mon Jun 20, 2005 4:09 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 8
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top