View previous topic :: View next topic
|
Author |
Message |
kanag
New User
Joined: 24 Aug 2006 Posts: 4
|
|
|
|
Whats the use of GOBACK cmd? |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
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 |
|
|
sri_mf
Active User
Joined: 31 Aug 2006 Posts: 218 Location: India
|
|
|
|
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 |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
Back to top |
|
|
|