• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • How Do I Tell These Partitions Apart?

    June 16, 2010 Hey, Joe

    My organization has five different i/OS partitions. Yesterday, I thought I was working on a test partition green screen and it turned out that I was signed on to a production system. Worse, I deleted a production file and it caused a lot of problems. Can you think of any good way I can stop that from happening in the future?

    –Jim

    One of the few problems with i/OS is that there isn’t any “are you sure?” button that pops up when you’re going to delete a file. And in one of the few areas that I think Windows has it over i/OS, deleted Windows files go to the Recycle Bin where they can be retrieved again later, if needed (as long as you don’t empty the bin). i/OS doesn’t have an equivalent function. So the only thing you can do when you need to restore a deleted file is to pull out your latest back-up media and restore it.

    Not that it helps, but I completely understand getting confused about which system you’re on and doing something nasty on a production partition. I did the same thing about 10 years ago where I totally trashed a Lotus Notes installation, thinking I was on a test machine. It happens.

    Since then, I always try to do a few things to make sure my systems are protected and that I’m aware of which partition I’m working on.

    1. Don’t use Telnet to start a session on another system–Telnetting between systems is the surest way I know of to get confused as to which session you’re working with. Same thing goes for starting a pass through session using the Start Pass-Through (STRPASTHR) command. Create and use separate workstation session files for each of your partitions, and make sure their session window titles are as distinct as possible. For ideas on how to make your PC5250 windows titles unique, check out this article on Creating More Distinctive PC5250 Window Titles.

    2. Color-code your PC5250 workstation sessions–Besides customizing your PC5250 Window titles, you can also change the default colors for the foreground text on your PC5250 screens. PC5250 has a Color Mapping function that allows you to change text and background colors for your green-screen sessions. So instead of using the same standard green for your foreground text, you could change the partition one workstation session to use green for its foreground color, partition two could use red for its text, partition three could use turquoise, etc. With the distinctive Window titles, this may help you keep your bearing as you maneuver between different partitions. To change the foreground colors on your PC5250 session, do the following:

    • Select Edit, Preferences, Color Mapping from the PC5250 menu bar. This will bring up the following Color Mapping screen.
    • Click on the Foreground Color dropdown box and choose one of the colors listed there. Upon selecting a new color, the field text will immediately change color so you can see how it looks. Color Mapping offers you several different pre-mixed foreground colors, and there’s also a color palette option that you can click on right next to the Foreground Color dropdown. Some colors look better than others. Some people will use black text on a white background. I’m partial to using orange text on a black background because it’s easy on the eyes and it reminds me of the old amber display stations from the 1980s. Don’t choose black for the foreground text unless you’re also going to change the background color or your foreground text will just blend into the background.
    • Besides changing the foreground text color, you can also change the color of the PC5250 background. You can also change some other PC5250 text fields, such as status, information, and attention indicators. You can explore the Color Mapping function further to find these features.
    • Don’t worry if you mess up your color mapping. If you make a mistake that makes the screen look terrible or the new scheme makes you nauseous, simply click the Defaults button on the Color Mapping screen and PC5250 will reset your screen colors to the program defaults.
    • For both the Window title and your screen colors, don’t forget to save your changes so that they come up the next time you start the session. Save your changes by clicking on File, Save from the PC5250 menu bar.

    HTH

    –Joe

    RELATED STORY

    Creating More Distinctive PC5250 Window Titles



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Midrange Dynamics North America

    Git up to speed with MDChange!

    Git can be lightning-fast when dealing with just a few hundred items in a repository. But when dealing with tens of thousands of items, transaction wait times can take minutes.

    MDChange offers an elegant solution that enables you to work efficiently any size Git repository while making your Git experience seamless and highly responsive.

    Learn more.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    looksoftware:  Recreate your IBM i applications with re:new! Free Webinar!
    Shield Advanced Solutions:  Receiver Apply Program ~ affordable availability for the IBM i
    COMMON:  Join us at the Fall 2010 Conference & Expo, Oct. 4 - 6, in San Antonio, Texas

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    Chip Wars: List Price, $29.95

    Shield Unveils New DR Solution for i/OS The AS/400 at 22: Yesterday and Forever

    Leave a Reply Cancel reply

Volume 10, Number 19 -- June 16, 2010
THIS ISSUE SPONSORED BY:

ProData Computer Services
System i Developer
Twin Data Corporation

Table of Contents

  • Client/Server Performance, Part 1: Blocking
  • SQL Performance: IN vs. EXISTS
  • How Do I Tell These Partitions Apart?

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Public Preview For Watson Code Assistant for i Available Soon
  • COMMON Youth Movement Continues at POWERUp 2025
  • IBM Preserves Memory Investments Across Power10 And Power11
  • Eradani Uses AI For New EDI And API Service
  • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
  • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
  • Fresche Overhauls X-Analysis With Web UI, AI Smarts
  • Is It Time To Add The Rust Programming Language To IBM i?
  • Is IBM Going To Raise Prices On Power10 Expert Care?
  • IBM i PTF Guide, Volume 27, Number 20

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle