- What are the problems that are left over when you read the CICS Application Programming Reference? This documents clearly explains GETMAIN and FREEMAIN and gives examples.
- What are the business needs or requirements that make you think your program dynamically needs main storage?
- What is the real problem behind your question?
Please clarify some of these questions. Otherwise the answers (if you'll get some at all) can only be speculative.