Login Next
© 2012 Mainframestechhelp.com
Mainframes Tech Help
Help for all Mainframe technical needs
Its our planet.. Go Green
For any Queries/Suggestions/Issues, Send a mail to Support@mainframestechhelp.com
CICS Tutorial Conti...
EXEC CICS   SEND MAP (map-name)   MAPSET (mapset-name)   [ERASE]  [DATA ONLY]  [MAP ONLY]  END-EXEC.   Other options in SEND MAP are:   ERASE: This option is used to erase the screen before displaying the MAP.   When you first time throw the screen, it should be specified with ERASE.     DATAONLY: Only symbolic map data is sent to the terminal.   MAPONLY: only physical map data is sent to the terminal. FROM cannot be coded.  SEND TEXT:   SEND-TEXT can be sent to the terminal without any predefined BMS maps and called as text building.  Text streams can have header and trailer as a optional entries.  EXEC CICS SEND TEXT  FROM (data-value)  LENGTH (data-value)  [HEADER (data-value)]  [TRAILER (data-value)]  [ERASE] [ACCUM] [PAGING]  END-EXEC.  Supporting Functions: ACCUM: The text stream can consist of multiple paragraphs and the building of message can happen in multiple  stages.   ACCUM option used to send the data once all the paragraphs building completed.   By using this option SEND will accumulate the paragraphs when the SEND TEXT command executed  each time.  Once the paragraphs built and if the text fits in single page then ACCUM command is sufficient to send  the text to screen. If it exceeds more than one page, SEND PAGE needs to be coded to send the accumulated paragraphs to  the screen.  HEADER is placed in the first SEND-TEXT and TRAILER is placed in the SEND PAGE.  PAGING: Once the paragraphs built and if the text fits in single page then ACCUM command is sufficient to send  the text to screen. If it exceeds more than one page, SEND PAGE needs to be coded to send the accumulated paragraphs to  the screen.  The functional command normally mapped for page up and page down are PF7 and PF8 by default. 
If any questions on the above, post your queries on CICS Discussion forum
Previous Next Home Forums Tutorials Interview questions Tools About Us Contact us Login