fhg
Volume 6, Number 15 -- April 12, 2006

Lesser-Known SEU Commands

Published: April 12, 2006

by Ted Holt

Dear esteemed, highly skilled, and truly professional colleagues:

Even though WDSc is my development platform of choice, I have no choice but to use SEU at times. Can you say, "Yuck!"? Occasionally I even have to use SEU remotely through the Windows Telnet client. Can you say, "Double yuck!"? I feel like I'm back in the punch-card days. In any event, I have learned recently that some people make SEU harder than it has to be. Here are a few tips to reduce keystrokes. They're good for everyday use, and even better when working remotely.

Tip 1: You don't have to left-justify SEU line commands.

Line commands are the ones you key over the sequence numbers that run down the left side of the screen. (You don't have to left-justify commands on the SEU command line either, but that's beside the point.) If you're still repeatedly pressing the left-arrow key until you reach the first digit of the sequence number before typing C or M or A or whatever, stop it!

Tip 2: Use RP instead of C and B.

The RP command repeats a line. Don't type C over the first digit of the sequence number of one line and B over the first digit of the next line. Type RP anywhere in the line.

Tip 3: You can insert more than one new line at a time.

Follow the I command with a number. If the last digit of the number happens to be the same as the digit in the sequence number, key a space after the number. I frequently use the command I20 to insert 20 new lines at once, especially when editing a CL member. Any lines you don't key into do not get inserted into the member.

Tip 4: Use the X and XX commands to temporarily hide text.

This is especially helpful when you're working on a monolithic program, where something is defined or calculated in one part of the program and used many lines away. Temporarily hiding the code between the definition and calculation lets you see both parts of the program at once. This has saved me from spelling a variable name one way in one place and another way elsewhere on many occasions. Press F5 to redisplay the hidden lines.

Tip 5: Print only the parts of the source you need.

The LLP command prints part of a source member. Type LLP twice in the member--on the sequence numbers of the first and last lines to be printed. If any of the intervening lines have been hidden by the X or XX commands, they will not be printed.

If you have other SEU tips you'd like to share, please send them my way.

--Ted



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



Senior Technical Editor: Ted Holt
Technical Editors: Howard Arner, Joe Hertvik, Shannon O'Donnell, Kevin Vandever
Contributing Technical Editors: Joel Cochran, Wayne O. Evans, Raymond Everhart,
Bruce Guetzkow, Brian Kelly, 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.

Sponsored Links

COMMON:  Join us at the Fall 2006 conference, September 17-21, in Miami Beach, Florida
BCD:  Try WebSmart - the easiest and most complete iSeries Web development tool
Xperia:  Fully integrated suite of applications for small- to mid-sized companies

 


 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

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

Privacy Statement