what I have learnt is that if we do not give GETMAIN command and extra memory is needed.
The program tries to get that extra memory. If it doesn't gets it will try again later.
But if we give GETMAIN command and the extra memory is not available then we get an error NOSTG.
Our program will abend if we do not HANDLE this abend.
So I am wondering why do we bother to give GETMAIN when it works bettter without it??