|
Michael,
Using the ERRMSG/ERRMSGID keywords prevents any data or attributes to be
changed on the screen. It will do a position cursor, reverse image on the
field, but will not allow any data or attributes to be changed.
As was suggested earlier, I would change the ERRMSGID to a DSPATR(RI PC)
and add a ERRMSG field to the bottom of the screen that would be populated
with your message text.
On Mon, Jul 9, 2012 at 4:33 PM, Michael Schutte <mschutte369@xxxxxxxxx
wrote:
File level identifier . . . . . . . . . . . : 1120709155111wrote:
*****
Format Fields Length Identifier Type
DETALWDW 35 183 19B326CFBFDF5 WINDOW
Text . . . . . . . . . . . . . . . . . . . :
I didn't see OVRATR in DSPFD, DSPFFD or in the source.
Thank you,
On Mon, Jul 9, 2012 at 4:29 PM, Luis Rodriguez <luisro58@xxxxxxxxx>
program
Oops, sorry... Meant "protecting the FIELD again"...wrote:
My apologies.
Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--
On Mon, Jul 9, 2012 at 3:57 PM, Luis Rodriguez <luisro58@xxxxxxxxx>
Michael,
It has been a long time since I have written a complex 5250-DDS
setbut as I see it, after the display of the ERRMSGID, *IN62 would be
tomschutte369@xxxxxxxxx
*OFF, so the 98N62 DSPATR line would be valid, protecting the filedagain.
HTH,
Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--
On Mon, Jul 9, 2012 at 3:35 PM, Michael Schutte <
isHowever,wrote:
We've just upgraded to V7R1 not sure if it makes a difference.
torecordI'm having this strange issue with field protection on this single
format display.
*In98 is turned on when it's time for the user to scan in a location
beingput
product away. When 98 is on, I want to protect the @QTY field from
validatedchanged. However, there's a check after the scanned location is
where the quantity entered is compared to the amount of space that
theleft
in the scanned location. If the quantity entered is greater than
why Iroomthe
left in the location, indicator 62 is turned on and re-displayed to
user however, the field is still protected. I'm just not seeing
oncondition.cannot type in that field now. I know that "98N62" is an AND
positionedCould someone please point out my error?
I know that 62 is turned on because the @QTY is highlighted and
too. I know that 98 is on because the location field is still shown
priorthe
display. I've also debugged the program and checked the values
toof
EXFMT being executed. I thought maybe the screen was locked because
thethe
error. But I've pressed reset and tried, still not able to type in
*LIBL/WISDOMSGfield.
A @QTY 16A B 5 6
A 62 DSPATR(RI)
A 62 DSPATR(PC)
A 52 ERRMSGID(IDU0503
*LIBL/ODWMSGF252)
A 62 ERRMSGID(CAP0001
*LIBL/WISDOMSG62
-
A &RPLTXT)
A 98N62 DSPATR(PR)
A* suggested putaway location and actual putaway.
A 98 11 1'Sug:'
A DSPATR(HI)
A 98 @SUGLC 16A O 11 6TEXT('Location')
A 53 ERRMSGID(ILU0504
*LIBL/WISDOMSG53)
A 98 12 1'Loc:'
A COLOR(WHT)
A DSPATR(HI)
A 98 @LOCAT 16A B 12 6TEXT('Location')
A 53 ERRMSGID(ILU0504
anything53)
Let me know if you need more information. I cannot think of
mailingelse
that you would need. Maybe a PTF is needed?
Here is a screen shot after the capacity check is made.
http://tinypic.com/r/20kf4fa/6
Thank you in advanced.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
listlist--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
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
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.
--
Jeff Young
Sr. Programmer Analyst
--
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.