Home > AS/400 Tips > iSeries administrator tips > Put dynamic text on your iSeries sign-on screen
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

Put dynamic text on your iSeries sign-on screen


Jean-Marie SAUVAGEOT
01.15.2003
Rating: -4.06- (out of 5) Hall of fame tip of the month winner


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


To be able to inform your users about system downtime or any other important information, the following sign-on screen layout has been developed.

Let me explain to you how this works:

The five output fields in line 6,7,8,9 and 10 have a length of 55 characters and will be used to display your message.

The output field at line 18 with length 40 is used to display the OS/400 installed version. The output fields at line 19 with length 40 is used to display the actual CUMPTF. (Of course these two fields can be used for displaying any other information.)

The content of these 7 fields is stored in *MSGF *LIBL/SIGNONMSG.

Within this *MSGF MSGID 0001 is used for the first 55 character field Within this *MSGF MSGID 0002 is used for the second 55 character field .....

The MSGID SHT0001 is used to store the 40 character output field at line 18. The MSGID SHT0002 is used to store the 40-character output field at line 19.

Using command WRKMSGF SIGNONMSG allows you to change the content displayed on the sign-on screen dynamically.

To install the new sign-on screen screen:

1. Create *MSFG SIGNONMSG in *LIBL.
2. Add message descriptions SND0001-SND0005, SHT0001 and SHT0002.
3. Design your own sign-on screen based on the following DDS-Source.
4. Compile the new DDS-source (be aware to give a new name, I would suggest you to rename it to your own system name). Don't forget to specify MAXDEV(256) on command CRTDSPF.
5. Change your SBSD QINTER (using command CHGSBSD SBSD(QINTER) SGNDSPF(*LIBL/SIGNON_DYN) to specify the new sign-on display file (new screen will become active the next time you stop-start SBS QINTER.)

Remarks:

* To end and restart your QINTER SBS you have whether to go to the system console or to enter TFRJOB JOBQ(QCTL) on your PC session.
* By ending SBS QINTER all users logged on will be disconnected.
* Do not overwrite the IBM original QDSIGNON display file.

This change will also remove the "sign-on screen" input fields:

* Program/procedure
* Menu
* Current library
* As suggested in our company security guidelines and even in IBM's book "Tips and tools for securing your iSeries."



Code

 
  
  
     A                                      DSPSIZ(24 80 *DS3)
     A                                      CHGINPDFT
     A          R SIGNON
     A                                      CLEAR
     A                                      BLINK
     A                                  1 23'             Sign On             '
     A                                      DSPATR(HI)
     A                                  2 48'System  . . . . . :'
     A                                      COLOR(WHT)
     A            SYSNAME        8A  O  2 70COLOR(WHT)
     A                                  3 48'Subsystem . . . . :'
     A                                      COLOR(WHT)
     A            SBSNAME       10A  O  3 70COLOR(WHT)
     A                                  4 48'Display . . . . . :'
     A                                      COLOR(WHT)
     A            DEVNAME       10A  O  4 70COLOR(WHT)
     A                                  2  4'User  . . . . . . .'
     A                                      COLOR(WHT)
     A            USERID        10A  B  2 24COLOR(WHT)
     A  01                              3  4'Password  . . . . .'
     A                                      COLOR(WHT)
     A  01        PASSWRD       10A  I  3 24DSPATR(ND)
     A            PROGRAM       10A  B  2 36CHECK(LC)
     A                                      DSPATR(PR)
     A                                      DSPATR(ND)
     A            MENU          10A  B  3 36CHECK(LC)
     A                                      DSPATR(PR)
     A                                      DSPATR(ND)
     A            CURLIB        10A  B  5 70CHECK(LC)
     A                                      DSPATR(PR)
     A                                      DSPATR(ND)
     A  02        QSNERROR      80A  O 24  1DSPATR(HI)
     A            COPYRIGHT     40A  O 24 40DSPATR(HI)
     A            UBUFFER      128A  H
     A                                  9 61'                 '
     A                                      DSPATR(HI)
     A                                 10 61'              '
     A                                      DSPATR(HI)
     A                                 14 61'                    '
     A                                      DSPATR(HI)
     A            SNDMSG1       55A  O  6  4MSGID(SND 0001 SIGNONMSG)
     A                                      DSPATR(HI)
     A                                      COLOR(RED)
     A            SNDMSG2       55A  O  7  4MSGID(SND 0002 SIGNONMSG)
     A                                      DSPATR(HI)
     A                                      COLOR(RED)
     A            SNDMSG3       55A  O  8  4MSGID(SND 0003 SIGNONMSG)
     A                                      DSPATR(HI)
     A                                      COLOR(RED)
     A            SNDMSG4       55A  O  9  4MSGID(SND 0004 SIGNONMSG)
     A                                      DSPATR(HI)
     A                                      COLOR(RED)
     A            SNDMSG5       55A  O 10  4MSGID(SND 0005 SIGNONMSG)
     A                                      DSPATR(HI)
     A                                      COLOR(RED)
     A            SHT0001       40A  O 18 40MSGID(SHT 0001 SIGNONMSG)
     A            SHT0002       40A  O 19 40MSGID(SHT 0002 SIGNONMSG)

  
  

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Read this Search400.com Featured Topic: Managing your iSeries.


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries administrator tips
Analyze the health of your IBM i server with iScore
Researching high availability for your System i shop
Translating Linux for IBM i admins: Using GUI to make it easy
Translating Linux for IBM i admins: Working with jobs and networking
OpenOffice: What to know before making the transition from Microsoft Office
OpenOffice: An enterprise open source solution
Database performance comparisons on IBM i
Translating Linux for IBM i admins: User profile commands
Modern System i reports using Client Access
Tips for installing Lotus Domino server on a System i partition

Systems Management
Can you trust all those trigger programs?
Are your backups complete?
Controlling remote command processing
Watch your profiles
Avoid locking issues
Send message to users at a remote site
Security journal receiver management
Top 10 backup commands
Create an iSeries Access image and update it with the latest Service Pack
Tracking critical file access in real time

Performance
Will overloaded discs impact iSeries performance?
Extend storage capacity on an IBM i without negatively effecting system performance
Database drivers on the i: MySQL vs. IBM Toolbox
Performance tuning for IBM i: The basics and beyond
IBM releases new Power products for the midrange
Top System i admin tips for 2006
Catholic Charities keeps track of homeless with iSeries
i5 error messages: What you need to know
IBM races for clock speed
System shutting down after cleanup

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts