IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

MOVE LOW-VALUES TO MAPNAMEO


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Mon May 10, 2010 2:24 pm
Reply with quote

Hi,

Can anybody explain between

MOVE LOW-VALUES TO MAPNAMEO and

ERASE option with SEND MAPSET() MAP() ERASE
Back to top
View user's profile Send private message
TS70363

New User


Joined: 07 Apr 2010
Posts: 94
Location: Bangalore, India

PostPosted: Mon May 10, 2010 3:26 pm
Reply with quote

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
View user's profile Send private message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Mon May 10, 2010 3:38 pm
Reply with quote

As i mentioned difference between 2 ...

MOVE LOW-VALUES TO MAPNMO ????
Back to top
View user's profile Send private message
TS70363

New User


Joined: 07 Apr 2010
Posts: 94
Location: Bangalore, India

PostPosted: Mon May 10, 2010 3:54 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon May 10, 2010 7:38 pm
Reply with quote

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
View user's profile Send private message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Wed May 12, 2010 1:58 pm
Reply with quote

thanks all...and sorry to miss the diffrence word
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu May 13, 2010 4:47 am
Reply with quote

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 icon_smile.gif

One of the biggest challenges we have in the forum is the English language. . .

d
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu May 13, 2010 6:03 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
Search our Forums:

Back to Top