Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Conversion of Packed Decimal to Numeric or zoned decimal?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Conversion of Packed Decimal to Numeric or zoned decimal?
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    Post subject: Re: Conversion of Packed Decimal to Numeric or zoned decimal
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    Post subject: Reply to: Conversion of Packed Decimal to Numeric or zoned d
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: 2150
Location: At my coffee table

PostPosted: Tue Sep 11, 2007 2:20 pm    Post subject: Re: Reply to: Conversion of Packed Decimal to Numeric or zon
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Joinkeys with decimal scdinesh DFSORT/ICETOOL 3 Fri Feb 10, 2017 4:46 am
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us