MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

convert the Decimal coloum in a table into readable format

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
suren_343
Beginner


Joined: 09 Sep 2005
Posts: 7
Topics: 4

PostPosted: Tue Jan 03, 2006 1:01 am    Post subject: convert the Decimal coloum in a table into readable format Reply with quote

How to convert the Decimal coloum in a table into readable format while downloading a DB2 Table ?

Column Declaration --> A_NUM DEC (13, 2) 0.00

I have tried editing that column as shown below .
99:81,13,PD,EDIT=(TTTTTTTTTTT.TT)

Doing so I am getting u16 Error while running the job. Can please suggest how to edit this column .
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Tue Jan 03, 2006 5:05 am    Post subject: Reply with quote

suren_343,

Please post your question only once and in only one forum. I have deleted your duplicate post.

Quote:

Column Declaration --> A_NUM DEC (13, 2) 0.00

I have tried editing that column as shown below .
99:81,13,PD,EDIT=(TTTTTTTTTTT.TT)


A column defined as dec(13,2) is equivalent to S9(11)v9(2) comp-3 which is occupies 7 bytes of storage.Check this link for Db2 and their equivalent cobol formats.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAPH11/2.3.3?DT=20010710165542

So change your sort card to the following.
Code:

99:81,7,PD,EDIT=(TTTTTTTTTTT.TT)


Hope this helps....

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
suren_343
Beginner


Joined: 09 Sep 2005
Posts: 7
Topics: 4

PostPosted: Tue Jan 03, 2006 8:09 am    Post subject: Reply with quote

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group