Newsletters   Subscriptions  Forums  Store  Media Kit  About Us  Contact  Search   Home 
fhg
Volume 4, Number 7 -- March 3, 2004

OS/400 Admin Alert: Five Quick PC5250 Tricks for Administrators


by Joe Hertvik

Because it's a mature product, PC5250 has a number of built-in features that the savvy administrator can use to keep his users happy, as well as to make his own life a little easier. Here's a quick list of five handy PC5250 tricks that are useful in an AS/400 shop. All of these tricks were tested with Client Access Express for Windows V5R1M0, but many of these features are also available with other versions of the product.

Starting a PC5250 Macro or a Script After PC5250 Session Starts

In special situations, you may want to immediately start a macro to automatically sign in a user to a particular PC5250 workstation session or to perform some special processing on start up. To assign an auto-start macro or script that immediately executes inside your PC5250 session at session startup, do the following:

  1. Click Edit, then Preferences, then Macro/Script, from the PC5250 Menu bar. This will bring you to the Macro/Script Setup window.

  2. Click the Macro/Script drop-down box in this window and select a macro or a script that will automatically start when this session has opened. If you want to modify a macro or a script, or create a new one, click the Customize button on this screen. The Customize button will take you into the Customize Macro/Script utility, where you can either create or edit a macro or VB script. When you exit the Customize Macro/Script utility, it will return you to the Macro/Script window.

  3. After selecting the macro or VB script that you want to run when a user starts this session, click the OK button, on the Macro/Script window, to tell PC5250 to execute that particular macro or script.

Copying Multiple PC5250 Screens to Windows Clipboard

This is a handy trick if you have multiple information screens that you want to paste into another program as a group. A few releases ago, IBM added a Copy Append selection to the Edit drop-down menu on the menu bar. So if you wanted to copy two or more screens from a subfile into a Microsoft Word document, you could perform this feat through the following sequence:

  1. Click Edit, then Select All, from the PC5250 menu bar. This marks your entire PC5250 screen for copying. After doing this, your PC5250 screen will be boxed in by a dotted line.

  2. Click Edit, then Copy, in order to copy the entire screen to the clipboard.

  3. Go to the next screen that you want to copy to the clipboard and perform step 1 again.

  4. To add this screen to the information you already have copied to the clipboard, select Edit, then Copy Append, from the menu bar. This immediately adds information from the new screen to the clipboard, positioning it right after the information that was previously pasted.

  5. Repeat steps 3 and 4 as many times as necessary.

  6. Go to Microsoft Word and select Edit, then Paste (or use the CTL-V keystroke combination), while inside your document, and all the screen images that you copied to the Windows clipboard will be pasted into your document.

Also note that you don't have to limit yourself to copying entire screens. You can just copy portions of a PC5250 screen to the clipboard by highlighting the text on the screen and selecting Copy or Copy Append.

Retain PC5250 Screen and Columnar Formatting When Pasting Screen Information into Another Document

If you just perform a straight cut and paste of PC5250 information into Word, you sometimes lose the screen and columnar formatting that was present on the PC5250 session you copied the information from. This can make your pasted data look like a jumbled mess. To retain your original PC5250 formatting, paste your copied data into Word, highlight the pasted data, and change the font type to a fixed-width font, such as Courier or Courier New. Once you change your text to one of these fonts, you'll see your PC5250 screen formatting come back to life inside your Word document. But be sure to adjust the font size, if necessary, to keep columnar data from word wrapping to the next line.

Make PC5250 Windows Look Like a Dumb Terminal

This is a nice trick if you want to eliminate the Window surrounding your PC5250 screen, making your session look exactly like a dumb terminal screen. To perform this trick on a Client Access Express PC5250 session, select Edit, then Preferences, then Appearance, then Window Setup, from the menu bar. Inside the Window Setup panel, select "Without Title Bar," in the Maximized Style area, and click Apply and OK to apply the change. Now, every time you maximize your PC5250 screen, you will see a full screen terminal session without the Windows frame. If you want to retrieve the framing Window, press the Alt-F keystroke combination and select Restore from the pop-up menu that appears. You'll see a smaller version of the PC5250 framing window that will disappear again the next time you maximize the window.

Changing Font Attributes PC5250 Uses to Print Screen Shots

If you don't like the font that PC5250 uses when it prints a screen shot, or you are having trouble producing legible PC5250 screen prints, you can change the print screen font by going to the Page Setup function. You can get to the Page Setup window by clicking File, then Page Setup, from the menu bar. Click the Text tab on that screen, and you'll see options to change the characters per inch (CPI) sent to your printer, the lines per inch (LPI) setting, the font type, the maximum lines per page, and the maximum characters per line. Click on OK to save your changes, and your screen shots will start printing with your new text attributes.

Sponsored By
WORKSRIGHT SOFTWARE

Do you need area code information?
Do you need ZIP Code information?
Do you need ZIP+4 information?
Do you need city name information?
Do you need county information?
Do you need a nearest dealer locator system?

We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

Just call us and we'll arrange for 30 days FREE use of either
ZIP/CITY or PER/ZIP4.

WorksRight Software, Inc.
Phone: 601-856-8337
Fax: 601-856-9432
E-mail: software@worksright.com
Web site: www.worksright.com


Editors: Howard Arner, Joe Hertvik, Ted Holt,
Shannon O'Donnell, Kevin Vandever
Managing Editor: Shannon Pastore
Contributing Editors: Raymond Everhart, G. Wayne Hawks,
Marc Logemann, David Morris
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

THIS ISSUE
SPONSORED BY:

T.L. Ashford
Guild Companies
Client Server Development
WorksRight Sofware
COMMON


BACK ISSUES

TABLE OF
CONTENTS
Sleep Soundly with Hibernate

Practical Use of a Translation Table

Different Record Formats Without Level Checks

Admin Alert: Five Quick PC5250 Tricks for Administrators

OS/400 Alert: Have You Been Snarfed?



Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, 50 Park Terrace East, Suite 8F, New York, NY 10034
Privacy Statement