Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 -> COBOL Programming
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    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

subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
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: 252
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to display offset thru cobol prog... tvinodkumar7 CICS 2 Sun Apr 22, 2018 8:42 pm
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts COBOL MVS options BiswajitDG COBOL Programming 8 Fri Apr 06, 2018 12:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us