|
View previous topic :: View next topic
|
| Author |
Message |
ramankapoor
New User
Joined: 27 Feb 2006 Posts: 23 Location: delhi
|
|
|
|
To Conver Lower case to Upper Case we use the sort Card Like below :
SORT FIELDS=(COPY)
OUTREC FIELDS=(1,45,46,3,TRAN=LTOU)
Can u Pls what we are defining in the Control card statment like
(1,45,46,3,TRAN=LTOU) |
|
| Back to top |
|
 |
DavidatK
Active Member

Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
ramankapoor,
You will probably have better luck with this question in the DFSORT forum.
Dave |
|
| Back to top |
|
 |
martin9
Active User

Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy ramankapoor,
wait for Frank, he will help you...
martin9 |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Hi Raman,
| Quote: |
SORT FIELDS=(COPY)
OUTREC FIELDS=(1,45,46,3,TRAN=LTOU) |
I am not sure, what is the LRCEL of your file. But this SORT Card says not to interfere with first 45 chars & to change next 3 chars to Upper Cases.
I hope it clears... But lets wait for Frank Openion...
Regards,
Priyesh. |
|
| Back to top |
|
 |
martin9
Active User

Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy folks,
yeah for dfsort/icetool stuff, frank is best...
i'm always impressed about his solutions,
thanks frank...
martin9 |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
| Quote: |
| OUTREC FIELDS=(1,45,46,3,TRAN=LTOU) |
1,45 says to copy positions 1-45 in the input record to positions 1-45 in the output record with no changes.
46,3,TRAN=LTOU says to copy positions 46-48 in the input record to positions 46-48 in the output record and to convert any lower case input characters to upper case output characters.
The output records will be 48 bytes long.
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
Use [URL] BBCode for External Links |
|
| Back to top |
|
 |
|
|