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
 

 

Packed to Normal Decimal in Eztrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
rohitpb

New User


Joined: 04 Jan 2006
Posts: 5

PostPosted: Tue Jan 17, 2006 6:51 pm    Post subject: Packed to Normal Decimal in Eztrieve
Reply with quote

Hi,
I have a file with a field having 8 P 2. This file is to FTPd on a server and so need to convert this packed decimal to normal format.
Hence i moved this field to another field having 15 N 2.
But I get a Data Exception error. Cant we move Packed Decimal to Zoned Decimal format? If not, how should I proceed?

Thanks in advance.

Rohit.
Back to top
View user's profile Send private message

prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Wed Jan 18, 2006 1:14 am    Post subject: Re: Packed to Normal Decimal in Eztrieve
Reply with quote

Hi,
" Move " will not be satisfying your requirement.
Try this one,
Ex:
var1 8 p 2
var2 15 n 2

var2 EQ var1

This will work for you.
Hope this helps.
Back to top
View user's profile Send private message
rohitpb

New User


Joined: 04 Jan 2006
Posts: 5

PostPosted: Wed Jan 18, 2006 10:17 am    Post subject: Re: Packed to Normal Decimal in Eztrieve
Reply with quote

Thanks for the reply..
I already solved it by using
field2 = field1 i.e. assignment operator.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
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 Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts Convert Decimal to hexadecimal Steve Ironmonger DFSORT/ICETOOL 5 Fri May 27, 2016 4:19 pm


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