Author: Suja.Sai
Subject: GETMAIN/FREEMAIN query
Posted: Tue Jan 31, 2017 12:01 pm (GMT 5.5)
Hi,
If we use Getmain to get the memory space of maximum length of the output response array container (say 100) and then populate the output response array container with only 10 records. Will issuing a freemain, freeup all the remaining 89 records of freespace? Or will it just free-up the space acquired by getmain command?
Please clarify.
Thanks,
Suja
Subject: GETMAIN/FREEMAIN query
Posted: Tue Jan 31, 2017 12:01 pm (GMT 5.5)
Hi,
If we use Getmain to get the memory space of maximum length of the output response array container (say 100) and then populate the output response array container with only 10 records. Will issuing a freemain, freeup all the remaining 89 records of freespace? Or will it just free-up the space acquired by getmain command?
Please clarify.
Thanks,
Suja