Quantcast
Channel: IBM Mainframe Computers Forums
Browsing all 8500 articles
Browse latest View live
↧

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 Article


Image may be NSFW.
Clik here to view.

DB2 :: 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 Article


DB2 :: 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 Article

DB2 :: 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 Article

Image may be NSFW.
Clik here to view.

DB2 :: 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 Article


Image may be NSFW.
Clik here to view.

DB2 :: 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 Article

DB2 :: 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 Article

DB2 :: 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 Article


DB2 :: 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 Article


Image may be NSFW.
Clik here to view.

DB2 :: 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 Article

Image may be NSFW.
Clik here to view.

TSO/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 Article

TSO/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 Article

Image may be NSFW.
Clik here to view.

COBOL 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 Article


IMS 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 Article

Image may be NSFW.
Clik here to view.

COBOL 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 Article


DFSORT/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 Article

DFSORT/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 Article


Mainframe 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 Article

DB2 :: 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 Article

Image may be NSFW.
Clik here to view.

DB2 :: 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
Browsing all 8500 articles
Browse latest View live