SEU Undo Function

General
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Many PC programs have an "undo" feature which comes in handy when you do something you really didn't want to do.

I've developed a method to simulate undo for SEU which I think you'll find useful. The procedure works because when you edit a source member, the member residing on disk is not changed until later. SEU makes a copy of it for you to work with. As you exit (F3) from edit mode and save your work, SEU overlays the original member on disk with the one you just finished editing.

When you realize that you have inadvertently deleted a line or modified it beyond recognition, do the following:

1. Press F15 to access the Browse/ Copy Options screen. Unless you have used this screen previously in the current editing session, the default options should be filled in. The Selection field should contain a 1 and the Browse/copy member, File and Library fields should be the same as the member you are editing.

2. Press Enter. The source member you are editing appears on the bottom of the screen, but it doesn't reflect any of the changes that you made in the current editing session. You may need to page down to see the lines you want restored.

3. Use the C or CC line commands to copy the lines that you want to restore. You can then copy them to the top half of the screen to modify the member you are editing.

4. Press F12 to remove the split screen.

Alternatively, you could just exit (F3) out of the session and specify an "N" in the Save member field. In this case, you will lose all changes you have made to the member.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: