Difference between exit program goback and stop run in cobol
In fact I use it sometimes both on PC and on the mainframe. The fun of doing this on te mainframe is that the 'called module' can perform tests without a driver.
Don't know if it is true. RE: Difference Between exit program and goback It's true. It did hence my comment in my previous post I've used that technique as an easy to test a subpgm without having the mainline pgm written. It works if the length of the passed data doesn't exceed the parm length limit. I think it's 99, but not sure. Regards, Jack. Red Flag This Post Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.
The Tek-Tips staff will check this out and take appropriate action. Click Here to join Tek-Tips and talk with other members! Already a Member? Join your peers on the Internet's largest technical computer professional community. It's easy to join and it's free. Register now while it's still free! Exit Program can be coded any way that you want. GoBack will be in the next Standard. The original question was whether or not GoBack and Exit Program were the same in a subprogram and the answer is YES, they are defined to be identical.
The only difference is that GoBack is also equivalent to Stop Run in a main program - so you don't need to know whether you are in a subprogram or a main program when you code it. Oh dear Big Fun for debugging!
It will soon be, so that's not an issue. Depends what you mean with "SOON" Could be lots and lots of maintenance in the future! We even use it for documentation purposes in CICS programs. Simon Cordingley Casegen Systems Ltd www. If byte 1 is X'00' then I bump up the pointer by 2 bytes whichthen points the my data from mvs.
MLA 8 N, David. Name required. Email required. Please note: comment moderation is enabled and may delay your comment. There is no need to resubmit your comment. Notify me of followup comments via e-mail. Written by : david.
0コメント