Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 94
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: 94
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: 8165
Location: East Dubuque, Illinois, USA

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 Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us