Thanks I've resolved the problem by looking at the CRTDSPF parameters. I found DFRWRT = *YES so I put it to *NO and it works.
Never had to do that before.
-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Rick.Chevalier@xxxxxxxxxxxxxxx
Envoyé : mardi 20 novembre 2007 14:48
À : rpg400-l@xxxxxxxxxxxx
Objet : RE: Display file : format not showing
David,
Are you sure it gets to the write of the format you want? I'm not sure I'm following your changes but it looks like you executed the EXFMT and then want to write. The program will wait at the EXFMT until there is user input before moving on and writing the format you want.
Is it possible that's what's happening here?
Rick
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: Tuesday, November 20, 2007 3:38 AM
To: RPG400-L@xxxxxxxxxxxx
Subject: Display file : format not showing
I have an RPGIII that does :
C EXFMT DSPF1
* Calls an RPG 4 pgm.
C CALL RPGIV
Program RPGIV
CALLP P1;
D P1 B
CALL P2
D P2 B
EXFMT DSPF2_WINDOW
The result is to show a window in DSPF2 on top of the file DSPF1.
Now I have to show a third format in DSPF3 underneath the window, so replacing completely DSPF1.
I've changed my RPGIV P1 like this :
D P1 B
WRITE DSPF3
CALL P2
I don't see the new format DSPF3. The window of DSPF2 still shows on DSPF1.
Each of the formats is in a separate DSPF.
Anyone know what's occuring?
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.