DB2 :: RE: Join of more than one table
Author: Arun Raj Posted: Tue Feb 14, 2017 7:26 pm (GMT 5.5)Rohit Umarjikar wrote:The sum will remain same as you are getting it from tableb, the only thing that will change is the total populationCan...
View ArticleDB2 :: RE: Join of more than one table
Author: dibyendumandal11111 Subject: Reply to: Join of more than one table Posted: Tue Feb 14, 2017 10:47 pm (GMT 5.5) Dear Rohit, How can you say SUM will be same for both the queries?... Second one...
View ArticleDB2 :: RE: Join of more than one table
Author: Arun Raj Posted: Tue Feb 14, 2017 11:58 pm (GMT 5.5) dibyendumandal11111, Welcome to the forums. If these tables have large amount of data, you might not want to repeat JOINing A,B, and C in...
View ArticleDFSORT/ICETOOL :: RE: Joinkeys with condition
Author: scdinesh Posted: Wed Feb 15, 2017 4:15 am (GMT 5.5) Thanks Arun and Bill for the Response:Code: //COMPAREÂ EXEC PGM=SORTÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â //UNLOADÂ Â DD...
View ArticleDFSORT/ICETOOL :: RE: Joinkeys with condition
Author: Arun Raj Posted: Wed Feb 15, 2017 4:18 am (GMT 5.5) You have an embedded comment line '//*' in your SYSIN card which I think 'helps' DFSORT IGNORE your OUTFILs (explains your empty SORTOF*...
View ArticleDFSORT/ICETOOL :: Convert current to hex value
Author: gopurs Subject: Convert current to hex value Posted: Wed Feb 15, 2017 5:40 am (GMT 5.5) I want to convert the below input file record at position 68 (date field) with current date in the same...
View ArticleDFSORT/ICETOOL :: RE: Joinkeys with condition
Author: Bill Woodger Subject: Reply to: Joinkeys with condition Posted: Wed Feb 15, 2017 7:54 am (GMT 5.5) If you look at the SYSOUT from you step, you'll see your OUTFILS do not even appear. If you...
View ArticleDB2 :: Omegamon for DB2 query
Author: ashek15 Subject: Omegamon for DB2 query Posted: Wed Feb 15, 2017 11:25 am (GMT 5.5) Hi All We use Omegamon for monitoring DB2 activity in our site. Can anyone advise how can we see 'Thread...
View ArticleDFSORT/ICETOOL :: RE: Convert current to hex value
Author: mistah kurtz Posted: Wed Feb 15, 2017 12:33 pm (GMT 5.5) Try thisCode:SORT FIELDS=COPY INREC IFTHEN=(WHEN=(43,02,CH,EQ,C'05',AND,45,04,BI,EQ,X'000C'), OVERLAY=(68:DATE1P)) END
View ArticleDB2 :: RE: DB2 query Using Recursion, Converting Rows to Column
Author: Delip Posted: Wed Feb 15, 2017 12:37 pm (GMT 5.5) Hi, Can't we use Union all like below, (select HR NAME, 'HR' DEPARTMENT FROM TABLE WHERE HR > ' ') UNION (select FINANCE NAME, 'FINANCE'...
View ArticleDB2 :: RE: DB2 query Using Recursion, Converting Rows to Column
Author: Nic Clouston Posted: Wed Feb 15, 2017 1:31 pm (GMT 5.5)Quote:Can't we use Union all like below possibly; but the requirement, for the competition, is to use recursion._________________Regards Nic
View ArticleDFSORT/ICETOOL :: RE: Convert current to hex value
Author: Bill Woodger Subject: Reply to: Convert current to hex value Posted: Wed Feb 15, 2017 2:46 pm (GMT 5.5) And bear in mind that at one second past midnight, somewhere in the world, that may not...
View ArticleDFSORT/ICETOOL :: RE: Convert current to hex value
Author: gopurs Subject: Reply to: Convert current to hex value Posted: Wed Feb 15, 2017 7:42 pm (GMT 5.5) I tired almost the same way as Mr. Mistah mentioned and it worked. overlay=68:X,date1p Not sure...
View ArticleDFSORT/ICETOOL :: RE: Convert current to hex value
Author: enrico-sorichetti Subject: Reply to: Convert current to hex value Posted: Wed Feb 15, 2017 7:50 pm (GMT 5.5) as usually people care only about the lowly technicalities and do to think at the...
View ArticleDFSORT/ICETOOL :: RE: Joinkeys with condition
Author: scdinesh Posted: Wed Feb 15, 2017 9:44 pm (GMT 5.5) Thanks Arun, Bill for the help. It is working now. @Arun - You are right , '//*' in your SYSIN card ignores the OUTFIL statement. I've seen...
View ArticleDFSORT/ICETOOL :: RE: Joinkeys with condition
Author: Arun Raj Posted: Wed Feb 15, 2017 10:33 pm (GMT 5.5)scdinesh wrote:On Code button, as you mentioned earlier I've used that while posting this. but I don't know still if you find any issues Yes,...
View ArticleDB2 :: RE: Join of more than one table
Author: Rohit Umarjikar Posted: Wed Feb 15, 2017 11:24 pm (GMT 5.5) It looks like , I am too much loaded with the work, so please ignore my earlier comment of having "Same Results". But yes you could...
View ArticleDB2 :: RE: Join of more than one table
Author: Arun Raj Posted: Wed Feb 15, 2017 11:28 pm (GMT 5.5) Rohit Umarjikar, Where did 'Sum1' and 'Sum2' come from? Do you realize those are not column names and have to be calculated. Do you think...
View ArticleDFSORT/ICETOOL :: RE: Joinkeys with condition
Author: scdinesh Posted: Wed Feb 15, 2017 11:56 pm (GMT 5.5) Very well explained Arun. Thank you
View ArticleDB2 :: Bind plan as a member to another bind plan
Author: rexx77 Subject: Bind plan as a member to another bind plan Posted: Thu Feb 16, 2017 2:02 am (GMT 5.5) Folks, Application A, B, C and D calls another application's routing module (Common 1 -...
View Article