× 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.



The original message that I used to display looked white on a iSeries 
Access 5250 emulator.  I didn't check it on a dumb terminal.
Then I inserted a section of red, Reverse Image, flashing.  At the end of 
this eye catcher I made it back to white.  Looks ok on an emulator.  On 
the dumb terminal it's quite dull compared to the beginning of the 
message.  Makes me wonder if everyone who says that white, and high 
intensity, are both x'22' might be wrong.

The field that I color customize in the message itself is MSGLINE.

     A          R SIGNON
     A                                      CLEAR
     A                                      BLINK
     A                                 01 23'             Sign On    '
     A                                      DSPATR(HI)
     A                                 02 48'System  . . . . . :'
     A            SYSNAME        8   O 02 70
     A                                 03 48'Subsystem . . . . :'
     A            SBSNAME       10   O 03 70
     A                                 04 48'Display . . . . . :'
     A            DEVNAME       10   O 04 70
     A                                 06 17'User  . . . . . . . . . . . . 
. .'
     A            USERID        10   B 06 53
     A  01                             07 17'Password  . . . . . . . . . . 
. .'
     A  01        PASSWRD       10   I 07 53
     A                                      DSPATR(ND)
     A                                 08 17'Program/procedure . . . . . . 
. .'
     A            PROGRAM       10   B 08 53CHECK(LC)
     A                                 09 17'Menu  . . . . . . . . . . . . 
. .'
     A            MENU          10   B 09 53CHECK(LC)
     A                                 10 17'Current library . . . . . . . 
. .'
     A            CURLIB        10   B 10 53CHECK(LC)
     A            MSGLINE      400   O 18  1MSGID(GDI 9999 
ROUTINES/SCNMSGF)
     A                                      COLOR(WHT)
     A  02        QSNERROR      80   O 24 01DSPATR(HI)
     A            COPYRIGHT     40   O 24 40DSPATR(HI)
     A            UBUFFER      128   H


PGM
DCL &XRED     *CHAR   1 VALUE(X'28') /* Red                         */
DCL &XRevRED  *CHAR   1 VALUE(X'29') /* Red, reverse image          */
DCL &XRedBlRi *CHAR   1 VALUE(X'2B') /* Red, Blinking, Reverse img  */
DCL &XBLUE    *CHAR   1 VALUE(X'3A') /* Blue                        */
DCL &XTERM    *CHAR   1 VALUE(X'20') /* End of custom color, etc    */
DCL &XWhite   *CHAR   1 VALUE(X'22') /* White? or High Intensity?   */
DCL &SECLVL   *CHAR 255              /* Custom message              */

chgvar &seclvl value( +
'  |--------------------------------------------------' *CAT +
'-----------------|' *cat '           |              Next ' *CAT +
'Scheduled Downtime is ' *cat +
&xRedBlRi *cat '05/21/2004' *cat &xWhite *cat +
'              |           ' *cat +
'|--------------------------------------------------' *CAT +
'-----------------|')

RMVMSGD MSGID(GDI9999) MSGF(ROUTINES/SCNMSGF)
MONMSG CPF2419

ADDMSGD  MSGID(GDI9999) MSGF(ROUTINES/SCNMSGF) MSG('GDI9999') +
         SECLVL(&seclvl)


Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.