View previous topic :: View next topic |
Author |
Message |
philipd Beginner
Joined: 15 Feb 2005 Posts: 1 Topics: 1
|
Posted: Tue Feb 15, 2005 5:28 am Post subject: convert INTEGER column in DB2 to a readable format in file |
|
|
Hi
i am unloading a DB2 table into a flat file whose first column is of INTEGER format.
Could anybody please provide the SORT card to convert this INTEGER field i,e comp 9(9) field into PIC 9 format.
Thanks
-philip |
|
Back to top |
|
 |
sathishgay Beginner
Joined: 03 Feb 2005 Posts: 10 Topics: 2 Location: MUMBAI
|
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Tue Feb 15, 2005 6:48 am Post subject: |
|
|
Hi,
other solution is:
Create a view, which provides the integer column as char.
Unload this view.
regards,
bauer |
|
Back to top |
|
 |
|
|