MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

converting lowercase to uppercase using synctool

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
viji
Beginner


Joined: 03 Dec 2002
Posts: 17
Topics: 11

PostPosted: Mon Jan 27, 2003 2:26 pm    Post subject: converting lowercase to uppercase using synctool Reply with quote

Hi,
How to convert my data in lowercase to uppercase using synctool.
In Dfsort we have the option TRAN=LTOU. what about in synctool????
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 11187
Topics: 71
Location: San Jose

PostPosted: Mon Jan 27, 2003 2:51 pm    Post subject: Reply with quote

Viji,

Unfortunately there is no function in syncsort which converts the lowercase to uppercase and vice-versa. But if you have file-aid at your shop then the following JCl will give you the desired results.

Code:

//STEP0100 EXEC PGM=FILEAID
//*                                             
//SYSLIST  DD SYSOUT=*                         
//SYSPRINT DD SYSOUT=*                         
//SYSUDUMP DD SYSOUT=*                         
//DD01     DD DSN=INPUT.FILE,               
//            DISP=SHR                         
//DD01O    DD DSN=OUTPUT.FILE,               
//            DISP=(NEW,CATLG,DELETE),         
//            UNIT=SYSDA,                       
//            SPACE=(CYL,(X,Y),RLSE),       
//            DCB=(RECFM=FB,LRECL=ZZZ,BLKSIZE=0)
//SYSIN    DD *                                 
$$DD01 COPY REPLALL=(01,00,X'81',C'A'),     
            REPLALL=(01,00,X'82',C'B'),     
            REPLALL=(01,00,X'83',C'C'),     
            REPLALL=(01,00,X'84',C'D'),     
            REPLALL=(01,00,X'85',C'E'),     
            REPLALL=(01,00,X'86',C'F'),     
            REPLALL=(01,00,X'87',C'G'),     
            REPLALL=(01,00,X'88',C'H'),     
            REPLALL=(01,00,X'89',C'I'),     
            REPLALL=(01,00,X'91',C'J'),     
            REPLALL=(01,00,X'92',C'K'),     
            REPLALL=(01,00,X'93',C'L'),     
            REPLALL=(01,00,X'94',C'M'),     
            REPLALL=(01,00,X'95',C'N'),     
            REPLALL=(01,00,X'96',C'O'),     
            REPLALL=(01,00,X'97',C'P'),     
            REPLALL=(01,00,X'98',C'Q'),     
            REPLALL=(01,00,X'99',C'R'),     
            REPLALL=(01,00,X'A2',C'S'),     
            REPLALL=(01,00,X'A3',C'T'),     
            REPLALL=(01,00,X'A4',C'U'),     
            REPLALL=(01,00,X'A5',C'V'),     
            REPLALL=(01,00,X'A6',C'W'),     
            REPLALL=(01,00,X'A7',C'X'),     
            REPLALL=(01,00,X'A8',C'Y'),     
            REPLALL=(01,00,X'A9',C'Z'),OUT=0
/*                                         


Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group