Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Get correct date and time when current time is over 12 hrs
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
balaji81_k

Active User


Joined: 29 Jun 2005
Posts: 118

PostPosted: Wed Oct 19, 2016 9:20 pm    Post subject:
Reply with quote

Hi Rahul,

Sorry it is missing in the post , actual query has the case statement .
I break each field and even tried to cast the col2 as CHAR(2) but couldn't able to avoid the low value in the output file icon_cry.gif
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2002
Location: UK

PostPosted: Wed Oct 19, 2016 9:25 pm    Post subject:
Reply with quote

Why not cut and paste the real query - then people will be working with reality instead of something that is, basically, a figment of the imagination.

And, how do you know it is a low-value? All you have presented is a plain-text impression - not the 'hex on' view. Without that we do not know if it is a real period, a low value or some other unprintable value.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Wed Oct 19, 2016 9:57 pm    Post subject: Reply to: Get correct date and time when current time is over 12 hrs
Reply with quote

time to lock the topic, it is going nowhere
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1886
Location: NY,USA

PostPosted: Wed Oct 19, 2016 11:01 pm    Post subject:
Reply with quote

I think, we should lock this topic and let the TS open a new one with right and complete query instead of piece meal.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Wed Oct 19, 2016 11:32 pm    Post subject:
Reply with quote

done
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts Merging records, but not all the time prino DFSORT/ICETOOL 17 Sat Feb 17, 2018 4:20 pm
No new posts Need to identify top 10 costly or tim... ashek15 DB2 4 Wed Feb 14, 2018 3:20 am
No new posts Logic to skip Maximum time-stamp and ... vickey_dw DB2 2 Thu Feb 01, 2018 11:15 pm
No new posts Query to skip Max time-stamp and fetc... vickey_dw DB2 8 Sun Jan 28, 2018 1:09 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us