Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us