DB2 :: RE: Low values Results from VARCHAR FORMAT
Author: balaji81_k Posted: Thu Oct 20, 2016 3:06 am (GMT 5.5) Enrico, Posting correct output data with HEX ON.Code: 2016.10.19|2016/10/19|....| FFFF4FF4FF4FFFF6FF6FF400004...
View ArticleDB2 :: RE: Comparing Decimal and CHAR columns
Author: Rohit Umarjikar Posted: Thu Oct 20, 2016 3:10 am (GMT 5.5)Learn SQL SyntaxCode:col1=CAST(col2 AS dec(17))_________________Regards, Rohit Umarjikar"Knowledge is knowing that a tomato is a fruit,...
View ArticleDB2 :: RE: Low values Results from VARCHAR FORMAT
Author: balaji81_k Posted: Thu Oct 20, 2016 3:13 am (GMT 5.5) Enrico, Used SUBSTR(DIGITS(10),9,2)) and i am able to print it,_________________dear peoples, i want to join these this group in order to...
View ArticleDB2 :: RE: Comparing Decimal and CHAR columns
Author: rakesh17684 Posted: Thu Oct 20, 2016 7:46 am (GMT 5.5) I get back sqlcode: -420 sqlstate: 22018Code: SQL0420NÂ Invalid character found in a character string argument of the function "DECIMAL"....
View ArticleDB2 :: RE: Comparing Decimal and CHAR columns
Author: Rohit Umarjikar Posted: Thu Oct 20, 2016 12:08 pm (GMT 5.5) Of course you will get the sqlcode -420. Why are you comparing alphanumeric to decimal? This is wrong at first place and still if you...
View ArticleDB2 :: RE: Comparing Decimal and CHAR columns
Author: enrico-sorichetti Subject: Reply to: Comparing Decimal and CHAR columns Posted: Thu Oct 20, 2016 3:09 pm (GMT 5.5) when I see questions/code snippets like this one I wonder about the quality of...
View ArticleDB2 :: RE: Comparing Decimal and CHAR columns
Author: Auryn Posted: Thu Oct 20, 2016 4:11 pm (GMT 5.5) try the other direction, try to convert numeric values in alphanumerics: Use CAST(col1 AS VARCHAR(17)) (i.e. 123 would be converted in '123') or...
View ArticleDB2 :: RE: how to specifiy partition endings when 1st col is nullable?
Author: Auryn Posted: Thu Oct 20, 2016 4:13 pm (GMT 5.5) no solution for this question so far?_________________... using DB2 v11 for z/OS ...
View ArticleDB2 :: Row-Numbers of distinct rows?
Author: Auryn Subject: Row-Numbers of distinct rows? Posted: Thu Oct 20, 2016 4:38 pm (GMT 5.5) Hi there, a new question: Background: We have a table with some more than tree columns but with a pk...
View ArticleDB2 :: RE: Comparing Decimal and CHAR columns
Author: Rohit Umarjikar Posted: Thu Oct 20, 2016 6:11 pm (GMT 5.5) Even if you try other direction, how will you get a match? Because fixing -420 is easy but it's useless to compare apple vs...
View ArticleTSO/ISPF :: RE: How to search a string which is with in single quotes??
Author: Sulabh Agrawal Subject: Reply to: How to search a string which is with in single quotes?? Posted: Thu Oct 20, 2016 6:19 pm (GMT 5.5) Use SEARCHFOR '''YOGI'''. Two single quotes to resolve One...
View ArticleTSO/ISPF :: RE: How to search a string which is with in single quotes??
Author: Akatsukami Posted: Thu Oct 20, 2016 6:26 pm (GMT 5.5) Why do you think (if the word can be used in this context) that Yogi has not solved the problem in eight years?_________________Data is not...
View ArticleCOBOL Programming :: RE: To trim spaces in a pipe delimited dataset
Author: Nish84 Posted: Fri Oct 21, 2016 1:00 am (GMT 5.5) Thank you all for your responses! Sorry for the late reply, I was off sick and had quite a bit of work to catch up on when I got back The...
View ArticleIMS DB/DC :: Doubt in MFS
Author: abdulrafi Subject: Doubt in MFS Posted: Fri Oct 21, 2016 3:09 pm (GMT 5.5) Hi, In my shop, I do have an MFS, but I am unable to find the keys mapped to it. Please find the screen shot below....
View ArticleCOBOL Programming :: RE: To trim spaces in a pipe delimited dataset
Author: Rohit Umarjikar Posted: Sat Oct 22, 2016 1:07 am (GMT 5.5) Great!! thanks._________________Regards, Rohit Umarjikar"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to...
View ArticleDFSORT/ICETOOL :: Efficient sorting
Author: chandracdac Subject: Efficient sorting Posted: Sat Oct 22, 2016 3:23 am (GMT 5.5) What is the best way to SORT tape files. i don't want to use IEBGENR. Also i want to OMIT few records while...
View ArticleDFSORT/ICETOOL :: RE: Efficient sorting
Author: Bill Woodger Subject: Reply to: Efficient sorting Posted: Sat Oct 22, 2016 4:13 am (GMT 5.5) Where did you get the idea IEBGENER could SORT? You use your installed SORT product, either DFSORT...
View ArticleMainframe Jobs :: Mainframe Developer requirement in Kuala Lumpur
Author: capricorn Subject: Mainframe Developer requirement in Kuala Lumpur Posted: Sun Oct 23, 2016 3:49 pm (GMT 5.5) Position: Mainframe Developer - Cards Skills: Mainframe, Cobol, CICS, JCL, Credit...
View ArticleDB2 :: What are the way we can improve CPU performance in DB2 qry
Author: Gunapala CN Subject: What are the way we can improve CPU performance in DB2 qry Posted: Mon Oct 24, 2016 2:16 pm (GMT 5.5) Hi All, i'm doing performance fix for old legacy system code, where...
View ArticleDB2 :: RE: What are the way we can improve CPU performance in DB2 qry
Author: enrico-sorichetti Subject: Reply to: What are the way we can improve CPU performance in DB2 qry Posted: Mon Oct 24, 2016 2:56 pm (GMT 5.5)Quote:What are the way we can improve CPU performance...
View Article