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
 

 

"DSNUTILB" utility for downloading the table into

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
pinkroses

New User


Joined: 07 Nov 2005
Posts: 19

PostPosted: Wed Dec 21, 2005 4:01 pm    Post subject: "DSNUTILB" utility for downloading the table into
Reply with quote

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
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu Dec 22, 2005 3:42 am    Post subject: Re: "DSNUTILB" utility for downloading the table i
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm


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