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

Modify dynamically DFHMDI attribute size of BMS map


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

New User


Joined: 11 Jul 2007
Posts: 4
Location: france

PostPosted: Thu Jul 12, 2007 1:55 pm
Reply with quote

Hi !

I would like to modify in my COBOL program the DFHMDI size attribute of my BMS map before sending him.

Is it possible icon_question.gif

Thanks
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jul 12, 2007 2:01 pm
Reply with quote

That value is imbedded in the csect, normally unavailable for alteration.
What is your need to change it?
Back to top
View user's profile Send private message
lemonface

New User


Joined: 11 Jul 2007
Posts: 4
Location: france

PostPosted: Thu Jul 12, 2007 2:41 pm
Reply with quote

I've many mapset with same content where the only difference is their size.
I would like use one mapset and dynamically modify his size.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jul 12, 2007 2:50 pm
Reply with quote

Why are the sizes different?
One would think that the map size is determined by the screen size, wouldn't one?
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Fri Jul 13, 2007 1:58 am
Reply with quote

WIth the DFHMDI statement you can specify expected target physical screen size,

has nothing to do with size of Map copybook in your cobol program.

what exactly are you trying to accomplish ?
Back to top
View user's profile Send private message
lemonface

New User


Joined: 11 Jul 2007
Posts: 4
Location: france

PostPosted: Fri Jul 13, 2007 1:22 pm
Reply with quote

I would like to simulate small windows like confirmation windows but i would like to modify the map size according to the context.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Jul 13, 2007 1:31 pm
Reply with quote

lemonface wrote:
I would like to simulate small windows like confirmation windows but i would like to modify the map size according to the context.
That should be do-able, but not the way you think....
If you do not want to have to add maps to a mapset for each different sized popup window, you can create them on the fly and customize each as needed...
Back to top
View user's profile Send private message
lemonface

New User


Joined: 11 Jul 2007
Posts: 4
Location: france

PostPosted: Fri Jul 13, 2007 1:39 pm
Reply with quote

Ok i'll try this way.

Thx for your help.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Jul 13, 2007 1:45 pm
Reply with quote

A hint?

Create a small map, accounting for every byte in the square area it occupies. Then either hex view the csect in the loadlib or CECI/CEDF send it and examine the sent data to get the primary valuse for the SBAs and SFs and such......
I think there is a functional characteristics manual for 3270s that contains all the values for the screen commands.
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Fri Jul 13, 2007 7:45 pm
Reply with quote

You can not create BMS maps on the fly, If intent on using BMS , it is possible to show Popup windows, but you would have to construct another
bms mapset/map of a fixed image.

The only REAL way to create on the fly popup screens would be to construct 3270native mode datastreams in your program and use
'exec cics send text noerase' commands.

If you are not experienced with 3270 native mode datastreasm, I could
code you an API that would create popup on the fly and send to screen
for you. you code
EXEC CICS LINK PROGRAM ('ELHPOPUP')
COMMAREA (WS-CONTEXT-DATA)
END-EXEC.

Send me a private email post, and we can discuss in detail.
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 Dynamically pass table name to a sele... DB2 2
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts Dataset size increase on adding 1 byt... DFSORT/ICETOOL 8
Search our Forums:

Back to Top