View previous topic :: View next topic
|
Author |
Message |
lemonface
New User
Joined: 11 Jul 2007 Posts: 4 Location: france
|
|
|
|
Hi !
I would like to modify in my COBOL program the DFHMDI size attribute of my BMS map before sending him.
Is it possible
Thanks |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
That value is imbedded in the csect, normally unavailable for alteration.
What is your need to change it? |
|
Back to top |
|
|
lemonface
New User
Joined: 11 Jul 2007 Posts: 4 Location: france
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Why are the sizes different?
One would think that the map size is determined by the screen size, wouldn't one? |
|
Back to top |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
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 |
|
|
lemonface
New User
Joined: 11 Jul 2007 Posts: 4 Location: france
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
lemonface
New User
Joined: 11 Jul 2007 Posts: 4 Location: france
|
|
|
|
Ok i'll try this way.
Thx for your help. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
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 |
|
|
|