Error message in window subfile

0 pts.
Tags:
AS/400
Database
DB2 Universal Database
RPG
i have window subfile. Error message is showing behinde the window. It should show within the window. Following is my coding A R SFLMSGW SFL A SFLMSGRCD(15) A MSGKEY SFLMSGKEY A PGMQ SFLPGMQ(10) A R SFLMSGWC SFLCTL(SFLMSGW) A OVERLAY A PUTOVR A 97 SFLDSP A 97 SFLDSPCTL A 97 SFLINZ A 98 SFLEND A SFLSIZ(0010) A SFLPAG(0001) A PGMQ SFLPGMQ(10) This is my window subfile. A R ZAH002WW SFL A*%%TS SD 20050926 090705 ZMUHAMMAD REL-V5R3M0 5722-WDS A 86 SFLNXTCHG A S3CSN# 8S 0B 4 2 A 27 DSPATR(RI) A 27 DSPATR(PC) A S3NAME 10A B 4 15 A S3PRICE 10Y 2B 4 29EDTWRD(' . ') A 29 DSPATR(RI) A 29 DSPATR(PC) A R ZAH002WC SFLCTL(ZAH002WW) A CA03 A CA12 A OVERLAY A PUTOVR A 72 SFLDSP A 72 SFLDSP A 71 SFLDSPCTL A 73 SFLCLR A 70 SFLEND(*MORE) A SFLSIZ(0006) A SFLPAG(0005) A WINDOW(ZAH002WB) A RMVWDW A USRRSTDSP A DSRRN3 4S 0H SFLRCDNBR A 1 1'ZAH002W' A 1 24'Testing System' A 2 25'Add Customer' A DSPATR(HI) A DSPATR(UL) This is my window. A R ZAH002WB A KEEP A OVERLAY A PUTOVR A WINDOW(4 6 12 60) A WDWBORDER((*COLOR YLW) (*DS A (*CHAR '********')) A USRRSTDSP A 10 2'F3=Exit' A COLOR(BLU) A 10 10'F12=Cancel' A COLOR(BLU) Can you please what is wrong? Thanks Zahid
ASKED: September 26, 2005  9:47 AM
UPDATED: October 28, 2009  10:48 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

I don’t see anything in your message subfile definition that tells it to associate with the window. Try adding this line to your subfile control record:
<pre>
A WINDOW( ZAH002WB )</pre>

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following