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 Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts Search a Load Module sreekanth1984 TSO/ISPF 8 Tue Jun 07, 2016 8:45 pm
No new posts SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm
No new posts DFSort Question krrp DFSORT/ICETOOL 9 Mon Mar 07, 2016 7:11 pm


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