Search found 7 matches

by HafeezAkmal
Mon Sep 29, 2014 4:33 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: COBOL VSAM and DB2.
Replies: 3
Views: 2392

Re: COBOL VSAM and DB2.

Thanks Robert and Anuj.
by HafeezAkmal
Mon Sep 29, 2014 4:32 pm
Forum: IBM DB2 and IMS DB/DC
Topic: "N"th maximum Salary and SQL Query.
Replies: 7
Views: 2260

Re: "N"th maximum Salary and SQL Query.

Thanks Anuj and Pandora. I used your query and it's working Anuj!

Thank you! :)

By the way, With ROW-ID, will there be an additional overhead, just thinking...
by HafeezAkmal
Mon Sep 29, 2014 4:30 pm
Forum: IT Certificates.
Topic: Preparation material for ITIL certificates.
Replies: 2
Views: 1982

Preparation material for ITIL certificates.

Hello,

Does someone have any good material on ITIL certificate? It'll be a great if you can share one.

Appreciate your kind help in advance.
by HafeezAkmal
Fri Apr 04, 2014 5:11 pm
Forum: IBM DB2 and IMS DB/DC
Topic: "N"th maximum Salary and SQL Query.
Replies: 7
Views: 2260

Re: "N"th maximum Salary and SQL Query.

Thanks Anuj. Yes, I need the answer for DB2. Please help.

We're at DB2 10. I can not access the mainframe as of now but the error was something that keyword is not recognized.
by HafeezAkmal
Fri Apr 04, 2014 3:14 pm
Forum: IBM DB2 and IMS DB/DC
Topic: "N"th maximum Salary and SQL Query.
Replies: 7
Views: 2260

"N"th maximum Salary and SQL Query.

Hi,

I was just searching for a QUERY which gives me the Nth Max sal of an employee. And found this:

Code: Select all

select max(sal) 
from emp 
where level = 10 
connect by prior sal > sal 
start with sal = (select max(sal) from emp)
I'm confused how this query works? Can somone please help me with this.
by HafeezAkmal
Wed Apr 02, 2014 3:30 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: COBOL VSAM and DB2.
Replies: 3
Views: 2392

COBOL VSAM and DB2.

Hi,

As in case of a COBOL DB2 program we include SQLCA and DCLGEN member etc. in program, which tells about the structure of the table to program however while using VSAM what we do? Can we generate the layout of the VSAM likewise?
by HafeezAkmal
Wed Apr 02, 2014 3:20 pm
Forum: Suggestions & Feedback : About the website.
Topic: How did you find us?
Replies: 294
Views: 500626

Re: How did you find us?

Via Google.

Go to advanced search