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

Conversion of Packed Decimal to Numeric or zoned decimal?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vaibhav_kwatra

New User


Joined: 05 Sep 2007
Posts: 3
Location: India

PostPosted: Tue Sep 11, 2007 7:40 am
Reply with quote

Hi All,

I want to convert packed decimal to numeric or zoned decimal. I know two methods for doing that.

1) Simply using the move statement in the cobol prog
2) Using the EDIT mask in the JCL

I just wanted to know, do we have any tool or utility through which we can do the same. I need to convert 10-15 different files in the differernt JCL, So I want some generic method, instead of writing the small prog for each file.

Thanks in advance.

--Vaibhav
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Sep 11, 2007 7:54 am
Reply with quote

vaibhav_kwatra wrote:
2) Using the EDIT mask in the JCL

I just wanted to know, do we have any tool or utility through which we can do the same.


1. You CAN NOT do it "Using EDIT mask in the JCL", there is no such thing!

2. You can do it using EDIT mask in the SORT utility! SORT is a utility or tool.
Back to top
View user's profile Send private message
vaibhav_kwatra

New User


Joined: 05 Sep 2007
Posts: 3
Location: India

PostPosted: Tue Sep 11, 2007 9:29 am
Reply with quote

you are right, we can use the edit mask in sort utility..but other than that do we have any such method ?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Sep 11, 2007 2:20 pm
Reply with quote

vaibhav_kwatra wrote:
you are right, we can use the edit mask in sort utility..but other than that do we have any such method ?
Nothing generic.....
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
Search our Forums:

Back to Top