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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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