CICS-Map Splitting And Text Splitting Logic

Resources on Coding CICS-BMS Advanced mapping:

Recently in our workshop we came an occassion to write complex CICS program. There are two options. One is Map splitting and another one is Text Splitting.

Map Splitting:

We have only one map, and data has to be displayed till end of the file. This is our requirement

Logic is First Move ‘0’ to Line counter

Second, write SEND MAP command with ACCUM and PAGING options. With this data will be logically splitted into multiple pages.

The SEND MAP with ACCUM and PAGING options , need to be repeated till end of the data.

Then we need to issue SEND PAGE command, which actually sends entire maps as a one logical message.

Text Splitting:

Our requirement is we need send text in multiple screens instead of one.

Logic is First Move ‘0’ to Line counter

Second, write SEND TEXT command with ACCUM and PAGING options. With this data will be logically splitted into multiple pages.

The SEND TEX with ACCUM and PAGING options, need to be repeated till end of the data.

Then, we need to issue SEND PAGE command, which actually sends entire Text as a one logical message.

Resources on Coding CICS-BMS Advanced mapping

Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.