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
 

 

Map and Mapset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
passion_sujesh

New User


Joined: 14 Mar 2008
Posts: 74
Location: India,Chennai

PostPosted: Tue Oct 19, 2010 12:25 am    Post subject: Map and Mapset
Reply with quote

Hi,

I have have an doubt in map and mapset definition.
I have an requirement in which i have to code a program (new program) to use the same map and mapset (existing in prod). Do i need to have another entry in the PPT for this map and mapset.
Example:

Existing prog:
Prog - xxxx, mapset - xxxs, map - xxxm, transaction - xxxt

New prog:
Prog - yyyy, mapset - xxxs, map - xxxm, tran - yyyt

New prog has additional features.

When i exicuted the tran - xxxt (old prog) it ran fine. Now when i executed the tran - yyyt (new pgm) i am getting an map fail error.

Please let me know if i need an seperate PPT (for map and mapset) entry for the new program?

Thanks in advance,
Sujesh.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7999
Location: Bellevue, IA

PostPosted: Tue Oct 19, 2010 12:35 am    Post subject:
Reply with quote

As long as the mapset and map names are the same, you can only have one of each defined in the region. If you are getting a MAPFAIL condition, as opposed to (for example) an APCT abend then the mapset and map are being found successfully. Since "map fail error" is not clearly definitive as to the problem, the best recommendation is to run the program through CEDF (or other debugger such as Abend Aid/CICS if you have it) to verify what happens with the map.
Back to top
View user's profile Send private message
passion_sujesh

New User


Joined: 14 Mar 2008
Posts: 74
Location: India,Chennai

PostPosted: Tue Oct 19, 2010 1:23 am    Post subject: Reply to: Map and Mapset
Reply with quote

Hi Roberrt,

Thanks for the reply.

I tried using intertest and also CEDF, i am getting the error while trying to receive the map. Can one map and mapset be used for more than one program?

Thanks,
Sujesh.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Oct 19, 2010 1:31 am    Post subject: Reply to: Map and Mapset
Reply with quote

Look in the old program and check whether there's at least one map-field attribute-byte being set to FSET (or data has been entered).

Review IBM copybook DFHBMSCA for these definitions, such as (for example), DFHBUNF (UNPROT,NUM,FSET).

Are there any fields in the MAP itself that are defined with the FSET Attribute?

A MAPFAIL can occur when there's no map data to receive....

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

Global Moderator


Joined: 06 Jun 2008
Posts: 7999
Location: Bellevue, IA

PostPosted: Tue Oct 19, 2010 4:26 am    Post subject:
Reply with quote

As Bill said, MAPFAIL on a RECEIVE MAP is not necessarily an error -- depending upon the map, it may be normal to get MAPFAIL and to ignore it. You really have to look at the map details to know whether or not the MAPFAIL indicates a problem. This has nothing to do with using the map in multiple programs, and everything with the way the map works.
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 loading a Modified Mapset Susanta CICS 2 Tue Mar 14, 2017 5:43 pm
No new posts Regarding New Mapset.. samimaktar CICS 9 Wed Sep 21, 2011 1:08 pm
No new posts Include Map to Mapset Manigandan Aravindhan CICS 1 Tue Jul 27, 2010 4:26 pm
No new posts OCCURS in CICS MAP & MAPSET mohanraj841 CICS 3 Fri Jul 03, 2009 1:10 pm
No new posts How many maps can be in a mapset jamshirqureshi1 CICS 3 Mon Aug 11, 2008 4:22 pm


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