Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Why I can not use NEXT Sentence with AT END Clause

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
jobseeker

New User


Joined: 07 Mar 2005
Posts: 23

PostPosted: Sun Mar 20, 2005 12:51 am    Post subject: Why I can not use NEXT Sentence with AT END Clause
Reply with quote

thank you friends for creating a new facility.

i haev received lot of wrong answer for my previous questions. so i make this topic only for moderators.
Back to top
View user's profile Send private message
References
PostPosted: Sun Mar 20, 2005 12:51 am    Post subject: Re: Why I can not use NEXT Sentence with AT END Clause Reply with quote

mcmillan

Site Admin


Joined: 18 May 2003
Posts: 888
Location: India

PostPosted: Mon Mar 21, 2005 12:56 am    Post subject:
Reply with quote

NEXT Sentence unconditionally transfers the control to the next executable sentence.

AT END phrase is used to specify an operation to perform, after reaching the end of the array/file.

But if you are not specifying any AT END condition, the control will be transferred to Next sentence by default.

So there is no meaning of AT END NEXT SENTENCE.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1