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
 

 

Query to find out junk values in table

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

New User


Joined: 04 May 2011
Posts: 7
Location: INDIA

PostPosted: Sun Jun 12, 2011 1:41 pm    Post subject: Query to find out junk values in table
Reply with quote

Hello All,

Can any one please let me know the query which can give all junk values from all columns of the table.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sun Jun 12, 2011 2:30 pm    Post subject:
Reply with quote

Define "JUNK" values
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jun 12, 2011 5:46 pm    Post subject:
Reply with quote

Hello,

Every byte in a table may contain a value from x'00' thru x'FF'. NONE of these are junk. Some may not be what you expect/want, but they are not junk.

If you post a more descriptive explanation of what you want to accomplish, someone may have a suggestion. Show a sample table definition including good and bad data and what you want your query to accomplish when it runs.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Sun Jun 12, 2011 6:09 pm    Post subject:
Reply with quote

Quote:
the query which can give all junk values from all columns of the table.
This is a VERY poorly worded and thought-out post. For example, one column of the table is phone number. A "junk value" for this column could be "John Smith". Yet, the very next column of the table is emergency contact, for which "John Smith" is perfectly valid yet "(404) 555-1234" would be a "junk value".

One column's "junk value" is another column's valuable data.
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 Sorting of hex values Saurabh_mi DFSORT/ICETOOL 10 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm


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