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

Whats the use of GOBACK command


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kanag

New User


Joined: 24 Aug 2006
Posts: 4

PostPosted: Sun Sep 03, 2006 4:32 pm
Reply with quote

Whats the use of GOBACK cmd?
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Sun Sep 03, 2006 5:14 pm
Reply with quote

GOBACK is the statement that ends the program execution.
It is short for "My program has finished its process and want to go back to the environment that started it".
The environment can be MVS, TSO or another program.
Back to top
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 218
Location: India

PostPosted: Mon Sep 04, 2006 10:42 am
Reply with quote

kanag wrote:
Whats the use of GOBACK cmd?


some more info adding to marso

if GOBACK is coded in thescubprogram the control goes to the main program n if it is coded in the mainprogram the control goes to the operating system.

so GOBACK is used to transfer the control back to tye position from where it has received.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Sep 04, 2006 2:01 pm
Reply with quote

Check this topic ..which was discusssed somedays back.

ibmmainframes.com/viewtopic.php?t=12364&highlight=

~Vamsi
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top