MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MAP Copybook

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
kbn
Beginner


Joined: 14 Nov 2005
Posts: 13
Topics: 10

PostPosted: Thu Dec 30, 2010 3:38 am    Post subject: MAP Copybook Reply with quote

I have a map definition like below.

ABCMAP1 DFHMDI SIZE=(024,080),MAPATTS= (COLOR,HILIGHT,VALIDN), X
DSATTS=(COLOR,HILIGHT,VALIDN)
DFHMDF POS=(01,001),ATTRB=(ASKIP,NORM), X
LENGTH=007,INITIAL='ABC0000'
DFHMDF POS=(01,028),ATTRB=(ASKIP,BRT), X
LENGTH=020,INITIAL='XXXX XXXX '
DFHMDF POS=(01,063),ATTRB=(ASKIP,NORM), X
LENGTH=005,INITIAL='DATE:'
DATE1 DFHMDF POS=(01,069),LENGTH=010,ATTRB=(ASKIP,FSET,NORM), X
PICIN='X(10)',PICOUT='X(10)'

If I compile the above map, the copybook will be created with variable DATE1...like below

01 ABCMAP1I.
02 FILLER PIC X(12).
02 DATE1L COMP PIC S9(4).
02 DATE1F PICTURE X.
02 FILLER REDEFINES DATE1F.
03 DATE1A PICTURE X.
02 FILLER PICTURE X(3).
02 DATE1I PIC X(10).


Where do the INITIAL values like 'ABC0000' , 'XXXX XXXX XXXXXXXXXX' are stored?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Dec 30, 2010 4:43 am    Post subject: Reply with quote

in the map.

read about SEND MAP in the CICS manual. The SEND API merges your data defined by the copybook with the MAP (which is stored in a CICS area - details found in manual).

here is a programming guide explanation of 5.3.1.8.1 Physical and symbolic map sets
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Mon Jan 03, 2011 2:26 am    Post subject: Reply with quote

The map that is generated is a phase, just like a program after it has been compiled. Your copybook is just the names for adressing the input or moving values to the output fields.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group