Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

MOVE LOW-VALUES TO MAPNAMEO

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: MOVE LOW-VALUES TO MAPNAMEO
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: 93
Location: Bangalore, India

PostPosted: Mon May 10, 2010 3:26 pm    Post subject:
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    Post subject:
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: 93
Location: Bangalore, India

PostPosted: Mon May 10, 2010 3:54 pm    Post subject: Reply to: MOVE LOW-VALUES TO MAPNAMEO
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

Site Director


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

PostPosted: Mon May 10, 2010 7:38 pm    Post subject:
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Thu May 13, 2010 4:47 am    Post subject: Reply to: MOVE LOW-VALUES TO MAPNAMEO
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: 7936
Location: Bellevue, IA

PostPosted: Thu May 13, 2010 6:03 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us