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

How to use a variable name in send map?


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

New User


Joined: 02 Feb 2006
Posts: 2

PostPosted: Thu Feb 02, 2006 3:11 pm
Reply with quote

Can I use a name that is a variable in send map statement in order to obtain a variable map name and to send maps with the same statement ?
Back to top
View user's profile Send private message
mrgnndhmk

New User


Joined: 01 Feb 2006
Posts: 51
Location: India

PostPosted: Fri Feb 03, 2006 9:57 am
Reply with quote

Yes. You can use.

01 WS-MAP-NAME PIC X(08) VALUE 'TESTMAP'

EXEC CICS SEND
MAP(WS-MAP-NAME)
END-EXEC

Here note that, you have to define the map name variable as X(08) and not as X(07) eventhough the map name is of only 7 character length.
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top