× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: CODE/400
  • From: Chris Rehm <Mr.AS400@xxxxxxx>
  • Date: Sat, 28 Feb 1998 21:36:53 PDT

** Reply to note from Richard Baird <rbbaird@premsys.com> Sat, 28 Feb 1998 
16:13:40 -0500


> STRING s1rrn FOUND 9 TIMES. 
>  
> maybe not as cool as a pc based editor, but fast and functional. 
>  
> regards, 
>  
> rick

Thanks Rick! I never thought of that. I guess I never considered that
scanning for a hidden line causes it to be displayed. Is that the function
being used here?

Rick, not to belittle the useful feature you have shown me, let's suppose
that you figure the section you want to edit is going to be either 105 or
169 because you know you need to change some code around one of the places
where the rrn is loaded with a constant. 

So, you move the cursor to the line you want and hit F5, right? Now, if seu
is paying attention it keeps the cursor at 105 and reveals all excluded
lines. Oops, you revealed wrong line, now you don't recall if you wanted
169 or 186, what is the step to retrace? 

Since I have not used the exclude feature in the fashion you demonstrate
here, I don't really know what all the steps are, but I think at this point
you will be hitting F9 and typing x9999 and pressing enter right? This
won't exclude records prior to the point where we are but it will work till
eof. 

In LPEX the same process would be to hit Ctrl-Z on the field name you want
(or, if it isn't on the screen Ctrl-I and type the field name) and move the
cursor. Ctrl-A to look at the code, ctrl-z to exclude, etc. 

In this case it doesn't look like we saved many keystrokes, right? But
let's use this feature where it comes in handy. Let's say we have an amount
displayed on screen and we want to know where it is coming from. Okay, we
look it up on the DDS. Now, ctrl-I and the field name and we read down the
list to see where it is loaded. Then, on the same line where it is loaded
we see the field it is loaded from, ctrl-z and we see where that field is
loaded, etc. until we are at the source value. 

All I am saying here is that even this minor feature of Code/400 can be a
time saver for an RPG programmer.


Chris Rehm
Mr.AS400@ibm.net

How often can you afford to be unexpectedly out of business?
Get an AS/400.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.