Community
cancel
Showing results for 
Search instead for 
Did you mean: 
chauvjo
Beginner
88 Views

CALL EXIT vs STOP

I am working with a legacy code which contains the line "CALL EXIT" to quit the program when an error is encountered.  Can someone explain the difference between "CALL EXIT" and STOP?

Thanks....

0 Kudos
1 Reply
Steven_L_Intel1
Employee
88 Views

STOP is standard, CALL EXIT is an extension. STOP lets you display a text message where EXIT doesn't. Both let you set an exit status value. Otherwise they are pretty much the same.