× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Tim,
Here is one I did a while back that uses the assume keyword. Hopefully
it will help.

The ASSUME record format just needs to be in the display file. It does
not need to be executed (EXFMT) it in your program.


5761WDS V6R1M0 080215 SEU SOURCE LISTING
01/11/11 14:13:16 GOBLISP PAGE 1
SOURCE FILE . . . . . . . CITGENERAL/QDDSSRC
MEMBER . . . . . . . . . AREUSUREFM
SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6
...+... 7 ...+... 8 ...+... 9 ...+... 0
30 A DSPSIZ(24 80 *DS3)

40 A PRINT

50 A INDARA

60 A CF12(12 'CANCEL
DELETE')
70 A R WS1

90 A OVERLAY

100 A WINDOW(10 14 7 50)

110 A WDWBORDER((*COLOR
BLU) (*DSPATR RI)-
120 A (*CHAR ' '))

130 A 2 4'ARE YOU SURE YOU
WANT TO DELETE TH-
140 A IS RECORD?'

150 A DSPATR(HI)

160 A COLOR(RED)

170 A SCRYESNO 1A B 3 26DSPATR(HI)

180 A 4 25'Y/N'

190 A DSPATR(HI)

200 A COLOR(RED)

210 A 6 17'F12 = CANCEL
DELETE'
220 A COLOR(BLU)

230 A R ASSUME

250 A ASSUME

260 A OVERLAY

270 A 2 2' '

280 A DSPATR(ND)

* * * * E N D O F S O U R C E * *
* *



Terry Anderson
Programming Manager
Grede LLC.
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975


------------------------------

message: 7
date: Tue, 11 Jan 2011 13:48:31 -0600
from: "Timothy Adair" <tadair@xxxxxxxxxxxxxxxx>
subject: Re: Invisible Window

I'm not familiar with using a dummy record or with the ASSUME keyword.

The iSeries Help for ASSUME states,
"It causes the system to assume that this record appears on the display
when
the file is opened. Use this keyword to receive data that a previous
program has left on the display". I'm not sure I understand how this
will
help.

And the Help for KEEP states,
"It causes the system to leave the record you are designing on the
display
after the file has been closed".

Is this one of those situations where I should just try it without
asking
too many questions? (Like Hannibal Smith - his plans don't work right,
they
just work.)


~TA~





"Carel Teijgeler" <coteijgeler@xxxxxxxxx> wrote in message
news:mailman.23065.1294772925.2702.rpg400-l@xxxxxxxxxxxx...
Well, do you have a dummy record format with the ASSUME key word?

And OVERLAY is not required, as using the WINDOW key word you already
indicate a special type of DSPF.

I would add KEEP, as well.

With regards,
Carel Teijgeler



------------------------------

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.