IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL,DB2 Interview Questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
deepthimadhu

New User


Joined: 03 Mar 2009
Posts: 12
Location: Trivandrum

PostPosted: Mon Dec 07, 2009 10:16 am
Reply with quote

1. What will happen if you give GO BACK in a main program
a. Nothing wrong will happen. The program would give the expected
results. You can either use STOP RUN or GO BACK in the main pgm.

2. What is -806 abend?
a. Load module not found.

3. SELECT dept_name
INTO :ws-dept-name
FROM department
WHERE dept_no > 0;
Will the above query work fine?
a. The query would work fine if a single row is retrieved but would go
wrong if multiple rows are retrieved. A CURSOR should be declared for
retrieving multiple rows.

4. What is EXPLAIN?
a. EXPLAIN command gives explanation about the access paths in DB2
and provides explanation on how data will be accessed and how to
improve the performance of a command.

5. What is BIND in DB2?
a. BIND is used to create executable codes and access paths for the SQL
statements in the DBRM.

6. JUSTIFIED clause in COBOL.
a. JUSTIFIED RIGHT is used to allign data to the rightmost positon of the
receiving field. Default will be left justified.
Back to top
View user's profile Send private message
deepthimadhu

New User


Joined: 03 Mar 2009
Posts: 12
Location: Trivandrum

PostPosted: Mon Dec 07, 2009 10:41 am
Reply with quote

I missed out one question

What is the difference between SPUFI and QMF?

SPUFI
a. Return codes for the queries are obtained.
b. The result is directly stored in a data set.
c. Multiple queries can be executed at the same time.
d. Result appears in a less organised manner.

QMF
a. Return codes for the queries are not obtained.
b. The result is not stored in a data set.
c. Only a single query can be executed at a time.
d. Result appears in an organised manner.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Dec 07, 2009 2:51 pm
Reply with quote

So should we learn from these answers or you've some question(s)? icon_smile.gif
Back to top
View user's profile Send private message
deepthimadhu

New User


Joined: 03 Mar 2009
Posts: 12
Location: Trivandrum

PostPosted: Mon Dec 07, 2009 4:58 pm
Reply with quote

I just posted the questions that I came across in an interview. icon_biggrin.gif

Correct me if any of the answers are incorrect or if anything else needs to be added.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Dec 07, 2009 5:02 pm
Reply with quote

deepthimadhu wrote:
Correct me if any of the answers are incorrect or if anything else needs to be added.
Did you hear back from them, interviewers? icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top