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

Few Questions that were not responded by me


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

New User


Joined: 24 May 2010
Posts: 92
Location: Pune

PostPosted: Fri Sep 02, 2011 5:09 pm
Reply with quote

Hi ,

1) How many predicates on join query on 7 tables ?

2) There are two numeric fields one has VALUE as SPACES.If first field is moved to second one what will happen ?

A - It will give compilation error at first field

3) Two files one with 500 records and other with 5000 records which is master file and how to compare them ?


Thanks!
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri Sep 02, 2011 5:15 pm
Reply with quote

Quote:

3) Two files one with 500 records and other with 5000 records which is master file and how to compare them ?


What question is this?

Answer: Anything...

How to compare? based what level of comparison is to be done.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Sep 02, 2011 5:57 pm
Reply with quote

Quote:
2) There are two numeric fields one has VALUE as SPACES.If first field is moved to second one what will happen ?


What sort of numeric?

If you are saying can any NUMERIC have a VALUE clause when defined that says SPACE, then no, you'd get a compile error. Irrelevant to second numeric field, it definition of field one would give the error.

Dumb question again, insufficient information to provide a reasonable answer inside 20 minutes.
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Fri Sep 02, 2011 7:13 pm
Reply with quote

A) you can join without any predicate , but then you get cardinal products.
To avoid this you need at least 6 predicates.
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 Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
No new posts INCLUDE condition questions DFSORT/ICETOOL 1
Search our Forums:

Back to Top