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 EXAMINE and INSPECT?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
richie_techin

New User


Joined: 21 Jan 2006
Posts: 16
Location: india

PostPosted: Mon Jan 30, 2006 8:06 pm    Post subject: difference between EXAMINE and INSPECT?
Reply with quote

hi ,

Can anyone please tell me the difference between INSPECT and EXAMINE..thanx in advance.
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Mon Jan 30, 2006 8:57 pm    Post subject: Re: difference between EXAMINE and INSPECT?
Reply with quote

Hi richie_techin,

I don't have any of my old COBOL manuals so I cannot tell you exactly what the syntax differences are. But examine is no longer supported in the recent versions of COBOL. It was replaced by the INSPECT statement. The functionality of EXAMINE and INSPECT are generally the same.

Dave,
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Tue Jan 31, 2006 4:20 pm    Post subject:
Reply with quote

Hi,

Please see the syntaxes for both the verbs...you will find the differences like

there are only 3 options in EXAMINE where in you cant replace all the characters at a time but in INSPECT you can replaces and you can take the count of all the characters if you want.....and more over there is no count variable in EXAMINE but you can specify the count variable in INSPECT.....

correct me if i am wrong...

pavan
Back to top
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Wed Feb 01, 2006 5:50 pm    Post subject:
Reply with quote

IN COBOL 74 EXAMINE WAS THERE

NOW AS WE ARE USING COBOL 2 , IT HAS REPLACE WITH INSPECT , SO THERE IS NO SUCH DIFFRRENCE BETWEEN EXAMINE AND INSPECT.


PAWAN C.
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 ISMF Difference between volume count ... upendrasri IBM Tools 2 Tue Dec 05, 2017 12:40 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm

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