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

difference between EXAMINE and INSPECT?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
No new posts Difference between CEE3250C and CEE3204S COBOL Programming 2
Search our Forums:

Back to Top