|
-----Original Message-----Confidentiality Notice: The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On
Behalf Of Mark Murphy/STAR BASE Consulting Inc.
Sent: Friday, March 06, 2015 2:16 PM
To: Midrange Systems Technical Discussion
Subject: RE: [Bulk] How does ASSUME keyword work with DSPSIZ?
How is this materially different from what I said I am doing?
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----Winchester Terry <terry.winchester@xxxxxxxxxxxxxxx> wrote: -----
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
From: Winchester Terry <terry.winchester@xxxxxxxxxxxxxxx>
Date: 03/06/2015 02:11PM
Subject: RE: [Bulk] How does ASSUME keyword work with DSPSIZ?
Mark,
I don't typically use those heywords either...instead I make sure
that all of my display files has a simple dummy record like this:
*---------------------------------------------------------------*
* Dummy record to allow the DEFER(*NO) option to work correctly *
* and prevent any overwrites to a screen underneath. *
*---------------------------------------------------------------*
R DUMMY
ASSUME
24 79' '
You don't even need to write this record...simply have it inside
of your display file when you compile it.
Terry
-----Original Message-----Confidentiality Notice: The preceding e-mail message
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On
Behalf Of Mark S Waterbury
Sent: Friday, March 06, 2015 2:06 PM
To: Midrange Systems Technical Discussion
Subject: Re: [Bulk] How does ASSUME keyword work with DSPSIZ?
Hi, Mark:
First, you WRITE a "dummy" record format that has a blank
line, say at
line 24, with LOCK BLINK OVERLAY ASSUME
Then you EXFMT the record format that shows the "window" with
OVERLAY,
PROTECT PUTOVR and CLRL(*NO) ...
A;so, be sure to specify RSTDSP(*YES) on the CRTDSPF command.
If you are still "stuck", contact me "off-list" and perhaps I
can send
you a small example?
HTH,
Mark S. Waterbury
> On 3/6/2015 1:35 PM, Mark Murphy/STAR BASE Consulting Inc. wrote:
I have never used ASSUME or KEEP before, or not that I canrecall. So I am having some difficulties.
want to use as a common dialog. I want to be able to call the
I have a display file that contains a window format that I
program from other display programs, and have the common
dialog display on top of the current screen without the
display being blanked first. It seems to me that ASSUME would
fit the bill. The documentation says:
within the display file so that the IBM i
Specify the ASSUME keyword for at least one record format
is opened. In addition, specify the OVERLAYoperating system does not erase the display when the file
operating system from deleting the display whenkeyword with the ASSUME keyword to prevent the IBM i
opening the file.your program sends the first output operation after
andcorrectly, your program must specify the record
For the IBM i operating system to process the data
perform any I/O operations to it. The terminology of thatHere is my assume record format.format name containing this keyword.
A R ASSUME
A ASSUME
A OVERLAY
A 1 3' '
I am including it in the program, but I do not actually
second quote is a bit ambiguous as I am specifying it in the
program on the INCLUDE keyword, but not in an I/O operation.
Do I need to do an input or output to that record?
is the DSPSIZ keyword since this common dialog should work
Another thing that would be throwing a wrench in the works
with both *DS3 and *DS4 displays. I know that the screen is
cleared when the display mode changes, but the ASSUME keyword
should prevent that because:
display size of the file with the KEEP keyword.
A file with the ASSUME keyword will be opened to the
Coincidently, the file currently on the screen displaysonly in *DS4 mode, and that file (different from the one
contain the common dialog) has a record with the KEEP keyword
on it, though once again I am not outputting the KEPFM
record. Do I need to?
-
A R KEPFM
A KEEP
A OVERLAY
A ERASE(HDRCTL1
A )I want to display a window from display file B (has ASSUME
So displayfile A (has KEEP record in it) is on the screen,
record in it). Display file A has DSPSIZ(*DS4), display file
B has DSPSIZ(*DS3 *DS4). I am hoping for the window in
display file B to overlay the screen from display file A in
*DS4 mode, but instead when I display the window, the screen
is cleared, and the window displays in *DS3 mode. Obviously I
am missing something. Any ideas what that might be?
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
(including any attachments) contains information that may be
confidential, protected by applicable legal privileges, or
constitute non-public information. It is intended to be
conveyed only to the designated recipient(s). If you are not
an intended recipient of this message, please notify the
sender by replying to this message and then delete it from
your system. Use, dissemination, distribution or reproduction
of this message by unintended recipients is not authorized
and may be unlawful.
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.