Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Difference between inspect and examine in cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
dharan

New User


Joined: 04 May 2005
Posts: 3

PostPosted: Mon May 23, 2005 9:49 am    Post subject: Difference between inspect and examine in cobol
Reply with quote

what's the difference between inspect and examine in cobol?
Back to top
View user's profile Send private message
References
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 367
Location: Earth

PostPosted: Mon May 23, 2005 10:54 am    Post subject: Re: inspect & examine
Reply with quote

Hi,
EXAMINE & INSPECT are used for same purpose. INSPECT is used now, which has replaced EXAMINE.
The EXAMINE statement is an HP extension to the ANSI COBOL standard. Ithas been replaced by the INSPECT statement, covered later in this
chapter. Although HP COBOL II includes the EXAMINE statement for
compatibility with COBOL'68, it is advisable that you use the INSPECT
statement for coding new programs.

For more details refer the following links
http://docs.hp.com/cgi-bin/doc3k/B3150090013.11820/84
http://www.interex.org/advocacy/mcgs/sigcobol/surv97cb.html
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 259
Location: India

PostPosted: Mon May 23, 2005 12:12 pm    Post subject:
Reply with quote

before cobol -II, EXAMINE were used, but the same is replaced by INSPECT in cocobol-II.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1