Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

[Solved]GO BACK in a main program which does not call any sub-pgm

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

New User


Joined: 04 Mar 2005
Posts: 10

PostPosted: Tue Jul 26, 2005 8:18 pm    Post subject: GO BACK in a main program which does not call any sub-pgm
Reply with quote

Hi all..,
Can anybody tell me wat happens if i code GO BACK in a main program which does not call any sub-program. I know that its equivalent to STOP RUN if coded in a program which calls one or more sub program.., but I want to know wat happens if I code it in a program which does not call any sub program.
Regards..,
Venkat
Back to top
View user's profile Send private message

kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Tue Jul 26, 2005 8:28 pm    Post subject:
Reply with quote

It will go back to OS.
Back to top
View user's profile Send private message
venkateshbagayat

New User


Joined: 04 Mar 2005
Posts: 10

PostPosted: Tue Jul 26, 2005 8:40 pm    Post subject: Re: COBOL Question...
Reply with quote

thanks KK..,
Thanks a lot for your quick reply..,
will be in touch okay..,
bbye
Venkat
Back to top
View user's profile Send private message
harinatha

New User


Joined: 24 Jul 2005
Posts: 28

PostPosted: Tue Jul 26, 2005 10:04 pm    Post subject:
Reply with quote

Hi venkateshbagayat,

As per to the my knowledge, Program(Main program) will go infinite loop.

Please let me know, If I am wrong.


Thanks & Regards
Hari.
Back to top
View user's profile Send private message
shobam

New User


Joined: 18 Jul 2005
Posts: 34
Location: CN

PostPosted: Wed Jul 27, 2005 11:02 am    Post subject:
Reply with quote

Hi Hari..

It wont go in a Loop. Did you try coding it?
Back to top
View user's profile Send private message
harinatha

New User


Joined: 24 Jul 2005
Posts: 28

PostPosted: Thu Jul 28, 2005 7:18 am    Post subject: Re: GO BACK in a main program which does not call any sub-pg
Reply with quote

Hi shobam,

I didn't code it,But i study in some material.

Are u tested...if yes tell me result.

Tanks & Regards
Hari.
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Thu Jul 28, 2005 12:31 pm    Post subject: Re: GO BACK in a main program which does not call any sub-pg
Reply with quote

GO BACK & STOP RUN both do same function when u code it in stand alone COBOL
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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us