View previous topic :: View next topic
|
Author |
Message |
shreejita
New User
Joined: 16 Aug 2009 Posts: 60 Location: chennai
|
|
|
|
Hi,
Can anybody explain between
MOVE LOW-VALUES TO MAPNAMEO and
ERASE option with SEND MAPSET() MAP() ERASE |
|
Back to top |
|
|
TS70363
New User
Joined: 07 Apr 2010 Posts: 94 Location: Bangalore, India
|
|
|
|
Quote: |
ERASE option with SEND MAPSET() MAP() ERASE
|
This syntax will erase the screen(terminal/console) before sending map specified.
So it will send a new map without any overlapping fields.
Try out removing the ERASE option. You will see the difference. |
|
Back to top |
|
|
shreejita
New User
Joined: 16 Aug 2009 Posts: 60 Location: chennai
|
|
|
|
As i mentioned difference between 2 ...
MOVE LOW-VALUES TO MAPNMO ???? |
|
Back to top |
|
|
TS70363
New User
Joined: 07 Apr 2010 Posts: 94 Location: Bangalore, India
|
|
|
|
Quote: |
Hi,
Can anybody explain between
MOVE LOW-VALUES TO MAPNAMEO and
ERASE option with SEND MAPSET() MAP() ERASE |
Where does it mention in your post ---You need a difference.
The basic difference is that low-values will just initialize your symbolic map variables. So when you send the map to the terminal, all the UNPROT fields will appear empty but still the physical map(PROT fields) will be appear.
For ERASE option read my previous post. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Where does it mention in your post ---You need a difference. |
That would be here. . .
Quote: |
Can anybody explain between |
|
|
Back to top |
|
|
shreejita
New User
Joined: 16 Aug 2009 Posts: 60 Location: chennai
|
|
|
|
thanks all...and sorry to miss the diffrence word |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Quote: |
and sorry to miss the diffrence word |
Not to worry - if this was the very worst thing to happen this year, it would be a very good year
One of the biggest challenges we have in the forum is the English language. . .
d |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
There is a link to manuals at the top of the page. If you click on it, find the CICS Programming Guide, you can find
Quote: |
6.3.2 Initializing the output map
Before you start building your output, make sure that the map storage is initialized to nulls, so that data left there by a previous process is not used inadvertently. If you have read input data using this same map, or one that overlays it, you need to ensure that you have processed or saved this data first. The relationship between input and output maps is discussed in "The symbolic input map" in topic 6.5.1.1, and using the same map you used for input is discussed in "Sending mapped output after mapped input" in topic 6.5.10.
You initialize by moving nulls (X'00') into the structure. The symbolic map structures are defined so that you can refer to the whole map area by the name of the map suffixed by the letter O. You can see this in Figure 142 in topic 6.1.2, and, in fact, the statement:
MOVE LOW-VALUES TO QCKMAPO.
would clear the area in which we built the map in the "quick check" example. If you are using the map for both input and output, it may be easier to clear the map one field at a time, as you edit the input (see "Handling input errors" in topic 6.5.9).
When you obtain map storage with a CICS GETMAIN instruction, another way to initialize is to use the INITIMG option. |
|
|
Back to top |
|
|
|