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

Difference between Inspect and Examine in cobol


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dharan

New User


Joined: 04 May 2005
Posts: 3

PostPosted: Mon May 23, 2005 9:49 am
Reply with quote

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

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Mon May 23, 2005 10:54 am
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
docs.hp.com/cgi-bin/doc3k/B3150090013.11820/84
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: 252
Location: India

PostPosted: Mon May 23, 2005 12:12 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
Search our Forums:

Back to Top