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

Choose the best : Search All Question


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

New User


Joined: 03 Nov 2005
Posts: 46
Location: Shanghai, China

PostPosted: Tue Nov 22, 2005 12:04 pm
Reply with quote

Code:
SEARCH ALL AOD-DATE-ENTRIES
AT END
   MOVE 'N' TO AOD-FUTURE-DATE-FOUND
WHEN AOD-YYYYMMDD (AOD) > ORDER-DATE OF ORDER-RECORD
   MOVE 'Y' TO AOD-FUTURE-DATE-FOUND
END-SEARCH.

Question:Which one of the following is an error in the above code?
Choice 1
Index AOD was not set to 1 before the SEARCH ALL command.
Choice 2
The syntax of the last line is END SEARCH.
Choice 3
The WHEN clause must be followed by a PERFORM command.
Choice 4
The AT END clause must be followed by a PERFORM command.
Choice 5
SEARCH ALL tests only an equal condition.
Back to top
View user's profile Send private message
sungang77

New User


Joined: 03 Nov 2005
Posts: 46
Location: Shanghai, China

PostPosted: Tue Nov 22, 2005 12:24 pm
Reply with quote

OK. I've found the answer. SEARCH ALL test must be an equal-to condition. So choice 5 is correct.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Nov 23, 2005 7:58 am
Reply with quote

Wat to go Sungang. Thanx for letting us know how your problem turned out.
Back to top
View user's profile Send private message
sureshchoudey

New User


Joined: 16 Sep 2005
Posts: 12

PostPosted: Wed Nov 23, 2005 7:31 pm
Reply with quote

. SEARCH ALL test must be an equal-to condition.
Back to top
View user's profile Send private message
sureshchoudey

New User


Joined: 16 Sep 2005
Posts: 12

PostPosted: Wed Nov 23, 2005 7:38 pm
Reply with quote

. SEARCH ALL test must be an equal-to condition.
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 Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Question for file manager IBM Tools 7
No new posts first column truncated in search result IBM Tools 13
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
Search our Forums:

Back to Top