View previous topic :: View next topic
|
Author |
Message |
poturaju
New User
Joined: 12 Apr 2011 Posts: 2 Location: india
|
|
|
|
Hi Friends,
i have requirement like to converting from 'packed decimal to numeric' data types. how to converting from comp-3 to numeric or (numeric to comp-3) .
pls give me solution for this requirements.
Thanks,
Ravi |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
pls give me solution for this requirements. |
why should we?
the jcl and dfsort have quite a few examples on how to do it
all You have to do is just to carry on a bit of research ! |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1314 Location: Vilnius, Lithuania
|
|
|
|
What have you tried yourself? |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Ravi,
Your question is too vague for a detailed answer. How you would do what you want with DFSORT depends on what your input field looks like and what you want the output to look like.
For an overview of the information you're looking for, see the topics "Reformatting: Numeric Editing" and "Reformatting: Numeric Conversion" in my "DFSORT: Beyond Sorting" paper at:
www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000091
For complete details of DFSORT's conversion functions, see "z/OS DFSORT Application Programming Guide" at:
www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000080
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. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
SORTBEYOND was the 'tight' little reference I needed to convince my people to stop putting off SORT.
they are so used to generating a quick cobol program to do some little data manipulating task - that it was downright frustrating.
and to be honest, it is hard to motivate someone to open the REF Manual.
but this was the intro that was needed.
thx for the post. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Dick,
I'm happy to hear "DFSORT: Beyond Sorting' was of use to you. I originally had it published as a shorter article for a Magazine. I later turned it into a longer paper and kept it up to date over the years. Glad I did. |
|
Back to top |
|
|
|