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
 

 

Modify dynamically DFHMDI attribute size of BMS map

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Modify dynamically DFHMDI attribute size of BMS map
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: 3158
Location: Tucson AZ

PostPosted: Thu Jul 12, 2007 2:01 pm    Post subject:
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    Post subject: Re: Modify dynamically DFHMDI attribute size of BMS map
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: 3158
Location: Tucson AZ

PostPosted: Thu Jul 12, 2007 2:50 pm    Post subject:
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    Post subject:
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    Post subject: Re: Modify dynamically DFHMDI attribute size of BMS map
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: 3158
Location: Tucson AZ

PostPosted: Fri Jul 13, 2007 1:31 pm    Post subject: Re: Modify dynamically DFHMDI attribute size of BMS map
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    Post subject: Re: Modify dynamically DFHMDI attribute size of BMS map
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: 3158
Location: Tucson AZ

PostPosted: Fri Jul 13, 2007 1:45 pm    Post subject:
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    Post subject:
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    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 To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 pm
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm
No new posts ALTER of an IDMS AREA with NEW/OLD pa... Awanti IDMS/ADSO 2 Mon Mar 14, 2016 10:01 pm


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