MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

scope termination

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
venkat
Beginner


Joined: 15 Nov 2004
Posts: 20
Topics: 11

PostPosted: Wed Jan 04, 2006 7:30 am    Post subject: scope termination Reply with quote

Hi,
I searched in the forum but i was not able to get scope termination in cobol.i am having a doubt whether scope termination in cobol is exiting a section or exiting a program or exiting a paragraph.

Thanks

Venkat
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Jan 04, 2006 8:10 am    Post subject: Reply with quote

venkat,

Check this link for a detailed explanation of the scope terminators

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR10/6.1.7?DT=20020920180651

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ayashp
Beginner


Joined: 20 Dec 2005
Posts: 9
Topics: 3

PostPosted: Fri Jan 06, 2006 5:03 am    Post subject: Reply with quote

Hi Venkat,

Bye scope terminators what exactly you want? Can u please elaborate.
Otherwise, scope terminators like END-IF will end an IF-ELSE loop and you can also use a full stop (.) in place of END-IF as scope terminator.
Also you can use END-PERFORM to terminate and In-line perform or else and END-EVALUATE to terminate an EVALUATE statement in COBOL.

Hope this helps you...

Cheers,
Ayash
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group