Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DSPF Windows

245 views
Skip to first unread message

Dan Johnson

unread,
Mar 19, 1996, 3:00:00 AM3/19/96
to

I am trying to write a program that can be called from another program and
pop up a window with a subfile in it. I've gotten every thing to work
except I cant keep the original screen from being redrawn when the second
program is called. Has anyone been able to do this?


100442.3643@compuserve

unread,
Mar 20, 1996, 3:00:00 AM3/20/96
to
da...@industrial.com (Dan Johnson) wrote:

You can firstly try using an OVERLAY Keyword in the original Screen or
another possible solution is using 'Share Open PAth' on the CRTDSPF
cammand.

Regards

Rik!

Nick Harrison

unread,
Mar 20, 1996, 3:00:00 AM3/20/96
to 100442.3643@compuserve
Loomup the ASSUME keyword. If I understand your problem
correctly, it will be what you are after.


Nick Harrison

unread,
Mar 20, 1996, 3:00:00 AM3/20/96
to da...@industrial.com
Look up the ASSUME keyword. If I understand the problem
correctly, it should be what your after.


Dennis Bundy

unread,
Mar 21, 1996, 3:00:00 AM3/21/96
to
In the display file with the window you need to create a dummy
record that has the keywords KEEP and ASSUME. The record must
also have a at least field, a text string will do the job. Hope
this helps.

Dennis Bundy

Matt Sargent

unread,
Mar 22, 1996, 3:00:00 AM3/22/96
to
da...@industrial.com (Dan Johnson) wrote:


>I am trying to write a program that can be called from another program and
>pop up a window with a subfile in it. I've gotten every thing to work
>except I cant keep the original screen from being redrawn when the second
>program is called. Has anyone been able to do this?

You need to add a dummy record format to the display file. It needs to
have the ASSUME keyword specified in it:

A R NULL
A ASSUME
A 1 2' '

You never actually use the record format - it just needs to be there.

_____________________________________________________________________
"But there must be something more to death than surfing all the time"
- Dar Williams


J.M.Hatton

unread,
Mar 23, 1996, 3:00:00 AM3/23/96
to
msar...@onramp.net (Matt Sargent) wrote:

>You need to add a dummy record format to the display file. It needs to
>have the ASSUME keyword specified in it:

> A R NULL
> A ASSUME
> A 1 2' '

>You never actually use the record format - it just needs to be there.

That's the way to do it... but when you call the second program that
open the window... the background screen will reappear with it.
DSPFs are in SHARE(*YES) for just one open.

Have you a solution for that ?

J.M.Hatton


whi...@ibm.net

unread,
Mar 27, 1996, 3:00:00 AM3/27/96
to
In article <4j21cv$h...@unix.pressimage.fr>
jmha...@planete.net (J.M.Hatton) wrote:

You need to overwrite the background of your window subfile with blanks
so that the previously opened display file image is obliterated and will not
confuse things when the subfile is output.


Do this by writing a format with blank constants.

Regards,
R. White

Larry Moon

unread,
Mar 28, 1996, 3:00:00 AM3/28/96
to whi...@ibm.net

It used to be true that you needed to pad all of the blank spaces with
actual blanks, but if you use the window keywords in your DDS you no
longer have to do this. You code it just like a regular screen.

--
Larry Moon lm...@aig.vialink.com
Applied Intelligence Group, Inc. http://www.aig.vialink.com/
Oklahoma City Oklahoma, USA
Providing Systems and Network Solutions for the Retail Supply Chain

0 new messages