|
It's the last thing at the bottom...sorry... -----Original Message----- From: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Karen L Hodge/MIS/Genesys Sent: Thursday, April 28, 2005 3:03 PM To: COBOL Programming on the iSeries/AS400 Subject: RE: [COBOL400-L] Conditioned Field Which field is the output only field where you are moving the 'over limit' text? Thank you, Karen Hodge Senior System Analyst Genesys Health System 1000 Healthpark Blvd, Grand Blanc, Mi 48439 Office 810.606.5180, Fax 810.606.7204 khodge@xxxxxxxxxxx "Good, Brad" <Good@penn-americ a.com> To Sent by: "COBOL Programming on the cobol400-l-bounce iSeries/AS400" s@xxxxxxxxxxxx <cobol400-l@xxxxxxxxxxxx> cc 04/28/2005 01:28 Subject PM RE: [COBOL400-L] Conditioned Field Please respond to COBOL Programming on the iSeries/AS400 <cobol400-l@midra nge.com> Here you go.... The IO field is CHGLSC. Thanks. Brad 5722WDS V5R2M0 020719 SEU SOURCE LISTING 04/28/05 13:23:47 PAGE 1 SOURCE FILE . . . . . . . GOOD/QDDSSRC MEMBER . . . . . . . . . SWSC212 SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0 10 A*%%TS SD 20050428 105554 GOOD REL-V5R2M0 5722-WDS 04/28/05 [confidential comments removed] 130 A*%%EC 04/28/05 140 A DSPSIZ(24 80 *DS3) 04/28/05 150 A REF(*LIBL/DXXX00000) 04/28/05 160 A MSGLOC(24) 04/28/05 170 A PRINT 04/28/05 180 A CF03(03 'Exit Screen') 04/28/05 190 A CA24(24 'TOTAL ABORT') 04/28/05 200 A HELP(99 'help text') 04/28/05 210 A R FWSC21002 04/27/05 220 A*%%TS SD 20050427 125413 GOOD REL-V5R2M0 5722-WDS 04/27/05 230 A TEXT('PROMPT SCREEN') 04/27/05 240 A BLINK 04/27/05 250 A 1 2'Adjust Reserves - Commercial Multi- 04/27/05 260 A Peril' 04/27/05 270 A DSPATR(HI) 04/27/05 280 A USER R O 1 48TEXT('User ID') 04/27/05 290 A DSPATR(HI) 04/27/05 300 A 1 53DSPATR(HI) 04/27/05 310 A DATE 04/27/05 320 A EDTCDE(Y) 04/27/05 330 A 1 62TIME 04/27/05 340 A DSPATR(HI) 04/27/05 350 A 27 1 71' Change ' 04/27/05 360 A DSPATR(RI) 04/27/05 370 A 29 1 71' Inquire ' 04/27/05 380 A DSPATR(RI) 04/27/05 390 A 4 2'Policy' 04/27/05 400 A DSPATR(HI) 04/27/05 410 A DSPATR(UL) 04/27/05 420 A POLICY R 10A B 4 9TEXT('POLICY NUMBER') 04/27/05 430 A 89 DSPATR(PR) 04/27/05 440 A 30 ERRMSGID(POL0001 *LIBL/MWXX000) 04/27/05 450 A 33 ERRMSGID(POL0003 *LIBL/MWXX000) 04/27/05 460 A 35 ERRMSGID(POL0006 *LIBL/MWXX000) 04/27/05 470 A 34 ERRMSGID(WIN0002 *LIBL/MWXX000) 04/27/05 480 A 36 ERRMSGID(WIN0019 *LIBL/MWXX000) 04/27/05 490 A 43 ERRMSGID(INC0006 *LIBL/MWXX000) 04/27/05 500 A 4 21'Cert' 04/27/05 510 A DSPATR(HI) 04/27/05 520 A DSPATR(UL) 04/27/05 530 A CERT R B 4 26TEXT('Certificate') 04/27/05 540 A 89 DSPATR(PR) 04/27/05 550 A 30 ERRMSGID(POL0001 *LIBL/MWXX000) 04/27/05 560 A 33 ERRMSGID(POL0003 *LIBL/MWXX000) 04/27/05 570 A 35 ERRMSGID(POL0006 *LIBL/MWXX000) 04/27/05 580 A 34 ERRMSGID(WIN0002 *LIBL/MWXX000) 04/27/05 590 A 36 ERRMSGID(WIN0019 *LIBL/MWXX000) 04/27/05 600 A 43 ERRMSGID(INC0006 *LIBL/MWXX000) 04/27/05 610 A 4 32'Claim' 04/27/05 620 A DSPATR(HI) 04/27/05 630 A DSPATR(UL) 04/27/05 640 A CLAIM R B 4 38TEXT('CLAIM NO') 04/27/05 650 A 89 DSPATR(PR) 04/27/05 660 A 31 ERRMSGID(CLM0006 *LIBL/MWXX000) 04/27/05 670 A 33 ERRMSGID(POL0003 *LIBL/MWXX000) 04/27/05 680 A 35 ERRMSGID(POL0006 *LIBL/MWXX000) 04/27/05 690 A 34 ERRMSGID(WIN0002 *LIBL/MWXX000) 04/27/05 700 A 36 ERRMSGID(WIN0019 *LIBL/MWXX000) 04/27/05 710 A 43 ERRMSGID(INC0006 *LIBL/MWXX000) 04/27/05 720 A 4 48'Claimant' 04/27/05 730 A DSPATR(HI) 04/27/05 740 A DSPATR(UL) 04/27/05 750 A CLMNT R B 4 57 04/27/05 760 A 32 ERRMSGID(CLA0003 *LIBL/MWXX000) 04/27/05 770 A 35 ERRMSGID(POL0006 *LIBL/MWXX000) 04/27/05 780 A 34 ERRMSGID(WIN0002 *LIBL/MWXX000) 04/27/05 790 A TEXT('ClMNT NO') 04/27/05 800 A 24 2'F3=Exit' 04/27/05 810 A COLOR(BLU) 04/27/05 820 A R FWSC21003 04/28/05 830 A*%%TS SD 20050428 105554 GOOD REL-V5R2M0 5722-WDS 04/28/05 840 A TEXT('DETAIL OTHER') 04/28/05 850 A BLINK 04/28/05 860 A 1 2'Adjust Reserves - Commercial Multi- 04/28/05 870 A Peril' 04/28/05 880 A DSPATR(HI) 04/28/05 890 A USER R O 1 48TEXT('User ID') 04/28/05 900 A DSPATR(HI) 04/28/05 910 A 1 53DSPATR(HI) 04/28/05 920 A DATE 04/28/05 930 A EDTCDE(Y) 04/28/05 940 A 1 62TIME 04/28/05 950 A DSPATR(HI) 04/28/05 960 A 27 1 71' Change ' 04/28/05 970 A DSPATR(RI) 04/28/05 980 A 29 1 71'Inquire' 04/28/05 990 A DSPATR(RI) 04/28/05 1000 A 4 2'Policy' 04/28/05 1010 A DSPATR(HI) 04/28/05 1020 A DSPATR(UL) 04/28/05 1030 A POLICY R 10A O 4 9TEXT('Policy Number') 04/28/05 1040 A 4 21'Cert' 04/28/05 1050 A DSPATR(HI) 04/28/05 1060 A DSPATR(UL) 04/28/05 1070 A CERT R O 4 26TEXT('Certificate') 04/28/05 1080 A 4 32'Claim' 04/28/05 1090 A DSPATR(HI) 04/28/05 1100 A DSPATR(UL) 04/28/05 1110 A CLAIM R O 4 38TEXT('CLAIM NO') 04/28/05 1120 A 4 48'Claimant' 04/28/05 1130 A DSPATR(HI) 04/28/05 1140 A DSPATR(UL) 04/28/05 1150 A CLMNT R O 4 57TEXT('CLAIMANT NO') 04/28/05 1160 A 6 2'Insured Name' 04/28/05 1170 A DSPATR(HI) 04/28/05 1180 A INSNAM R O 6 17TEXT('Insured Name') 04/28/05 1190 A 6 48'Ind Deductible' 04/28/05 1200 A DSPATR(HI) 04/28/05 1210 A DEDIND R O 6 63TEXT('IND DEDUCTIBLE') 04/28/05 1220 A EDTCDE(4) 04/28/05 1230 A 7 2'Claimant Name' 04/28/05 1240 A DSPATR(HI) 04/28/05 1250 A CLMNAM R O 7 17TEXT('Claimant Name') 04/28/05 1260 A 7 48'Agg Deductible' 04/28/05 1270 A DSPATR(HI) 04/28/05 1280 A DEDAGG R O 7 63TEXT('AGG DEDUCTIBLE') 04/28/05 1290 A EDTCDE(4) 04/28/05 1300 A 9 27' Indemnity ' 04/28/05 1310 A DSPATR(HI) 04/28/05 1320 A DSPATR(UL) 04/28/05 1330 A 9 44' Expense ' 04/28/05 1340 A DSPATR(HI) 04/28/05 1350 A DSPATR(UL) 04/28/05 1360 A 11 3'Paid To Date' 04/28/05 1370 A DSPATR(HI) 04/28/05 1380 A PDTDLS 10Y 2O 11 27EDTCDE(J) 04/28/05 1390 A PDTDEX 10Y 2O 11 44EDTCDE(J) 04/28/05 1400 A 13 3'Original Reserves ' 04/28/05 1410 A DSPATR(HI) 04/28/05 1420 A RESLSO R -2 -2O 13 27EDTCDE(1) 04/28/05 1430 A TEXT('Reserve Los Orig') 04/28/05 1440 A RESEXO R -2 -2O 13 44EDTCDE(1) 04/28/05 1450 A TEXT('Reserve EXP Orig') 04/28/05 1460 A 15 3'Current Reserves' 04/28/05 1470 A DSPATR(HI) 04/28/05 1480 A RESLSC R -2 -2O 15 27REFFLD(RESLSC) 04/28/05 1490 A EDTCDE(1) 04/28/05 1500 A TEXT('Reserve Los Curr') 04/28/05 1510 A RESEXC R -2 -2O 15 44EDTCDE(1) 04/28/05 1520 A TEXT('Reserve EXP Curr') 04/28/05 1530 A N29 17 3'Change Reserves to ' 04/28/05 1540 A DSPATR(HI) 04/28/05 1550 A N29 CHGLSC 8Y 0B 17 27EDTCDE(1) 04/28/05 1560 A CHANGE(38) 04/28/05 1570 A 53 DSPATR(PR) 04/28/05 1580 A 53 ERRMSG('Reserve is over your limit') 04/28/05 1590 A 48 ERRMSGID(RES0001 *LIBL/MWXX000) 04/28/05 1600 A 37 ERRMSGID(RES0001 *LIBL/MWXX000) 04/28/05 1610 A 46 ERRMSGID(RES0012 *LIBL/MWXX000) 04/28/05 1620 A N29 CHGEXC 8Y 0B 17 44EDTCDE(1) 04/28/05 1630 A CHANGE(38) 04/28/05 1640 A 47 ERRMSGID(RES0001 *LIBL/MWXX000) 04/28/05 1650 A 37 ERRMSGID(RES0001 *LIBL/MWXX000) 04/28/05 1660 A 46 ERRMSGID(RES0012 *LIBL/MWXX000) 04/28/05 1670 A DSPATR(PR) 04/28/05 1680 A 19 3'Open/Close/Reopen' 04/28/05 1690 A DSPATR(HI) 04/28/05 1700 A N29 CLMSTS R B 19 27REFFLD(CLMSTS) 04/28/05 1710 A VALUES('O' 'C' 'R') 04/28/05 1720 A 53 DSPATR(PR) 04/28/05 1730 A 45 ERRMSGID(CLM0032 *LIBL/MWXX000) 04/28/05 1740 A 52 ERRMSGID(CLM0032 *LIBL/MWXX000) 04/28/05 1750 A 24 2'F3=Exit' 04/28/05 1760 A COLOR(BLU) 04/28/05 1770 A 53 18 27'OVER' 04/28/05 1771 A N53 18 27'UNDER' 04/28/05 * * * * E N D O F S O U R C E * * * * -----Original Message----- From: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Karen L Hodge/MIS/Genesys Sent: Thursday, April 28, 2005 1:10 PM To: COBOL Programming on the iSeries/AS400 Subject: RE: [COBOL400-L] Conditioned Field Please supply us with the display file source code. Thank you, Karen Hodge Senior System Analyst Genesys Health System 1000 Healthpark Blvd, Grand Blanc, Mi 48439 Office 810.606.5180, Fax 810.606.7204 khodge@xxxxxxxxxxx "Good, Brad" <Good@penn-americ a.com> To Sent by: "COBOL Programming on the cobol400-l-bounce iSeries/AS400" s@xxxxxxxxxxxx <cobol400-l@xxxxxxxxxxxx> cc 04/28/2005 01:04 Subject PM RE: [COBOL400-L] Conditioned Field Please respond to COBOL Programming on the iSeries/AS400 <cobol400-l@midra nge.com> I tried your suggestion and it comes back as UNDER on the screen even though 53 is on because the error message shows up but not the OVER LIMIT. Thanks for the suggestion anyway.. Any other ideas anyone? Thanks. Brad -----Original Message----- From: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Muthathal_Ramasamy Sent: Thursday, April 28, 2005 12:35 PM To: COBOL Programming on the iSeries/AS400 Subject: RE: [COBOL400-L] Conditioned Field Importance: High Hello Brad, Here is one suggestion. Hope it helps you. You can condition the output only field (that displays "over limit" / "under") using the same indicator 53 like this. That is, in the display file, 53 3 20'OVER LIMIT' N53 3 20'UNDER' This is one simple solution. And when you trigger the output error message in the COBOL code, Say your input field value > MAX-VALUE, You can use like this, IF INPUT-VALUE > MAX-VAL MOVE B"1" TO IND53 ELSE MOVE B"0" To IND53 END-IF Thanks, ------------------------------------------------------------------------ - -----Original Message----- From: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] Sent: Thursday, April 28, 2005 9:00 PM To: cobol400-l@xxxxxxxxxxxx Subject: [COBOL400-L] Conditioned Field I have a screen with an IO field and another output only field. If the user types a value over a certain limit into the IO field, I set an indicator 53 in the COBOL on and move a message to the output only field saying "over limit". On my screen I have an error message on the IO field for indicator 53. What I want to happen is that the error message triggers AND the "over limit" shows in the output only field. What actually happens is the error message gets triggered but the output only field shows a previous value of "under" even though when I display the value of that field just before the write to the screen the value is indeed "over limit". What would be causing this? Thanks. Brad _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l. DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l. _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l. _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l. _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l. _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-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.