Joined: 20 Jun 2005 Posts: 86 Location: Chennai, India
Here are the situations where it may be needed:
1. You may want to address a variable with huge length (say 20000 bytes); instead of increasing your addressing capability, you may simply move this monster as the last piece; in this case, you may need to pool your literals before this variable, since they would be pooled at the end.
2. Though not conventional, more than one control section may be present within a single source. This situation would require dumping of all literal pools before the beginning of the next CSECT. You would not get any compile errors, but if there is any addressability issue due to the size of any single control section, you may be in a position to compromise the handling of individual CSECT; instead, assigning the literal pool of each CSECT for that CSECT itself helps in localization of addressability issues and hence would enhance immunization.