|
|
| Author |
Message |
pinkroses
New User
Joined: 07 Nov 2005 Posts: 19
|
|
|
|
hi all
i used "dsnutilb" utility for downloading the table into a file. For all the fields which are not specified as not-null in the table is downloaded with the low-value before it. when we encounter this for first time we used an outrec in sort to remove those fields. but this time the not-null fields in the table are large so if any one could suggest me a better idea to remove the null values generated in the file while downloading itself.
expecting ur replies. thanks
for eg.
the fields in the table are
emp.no x(8) not null
emp.salary x(10)
emp.name x(5)
emp.desgination x(3) not null.
the downloaded file will be
12345678.1234567890.ramjiapm
please note the dot values are low-values which is present before the fields which is not specified as not-null
Regards,
Devi |
|
| Back to top |
|
 |
References
|
Posted: Wed Dec 21, 2005 4:01 pm Post subject: Re: "DSNUTILB" utility for downloading the table into |
 |
|
|
 |
DavidatK
Senior Member
Joined: 22 Nov 2005 Posts: 715 Location: Troy, Michigan USA
|
|
|
|
pinkroses,
Beware removing those characters. The x'00' indicates that the column is not a null, containing valid information. An x'6F' indicates that the column is null.
If you remove the null indicators, how will you know if an "INTEGER" with a zero value is really zero or if it's null. and null "DECIMAL" columns will give you an 0C7 if you try and use it.
Hope this helps, If I missed, please come back. |
|
| Back to top |
|
 |
|
|