Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Choose the best : Search All Question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Choose the best : Search All Question
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    Post subject:
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    Post subject:
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    Post subject: Re: Choose the best : Search All Question
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    Post subject: Re: Choose the best : Search All Question
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us