View Full Version : Remote System Explorer
01-31-2006, 05:19 AM
I think it really depends on what you're trying to do, Bill. RSE is not intended to be used for visual screen or print design. Since the push from IBM is away from green screens, I don't think there are a lot of dollars being spent on that functionality, either. CODE/400 is a much better tool for screen design. As for programming RPG, I won't go into a comparison with vendor products, but here are some fo the benefits of RSE: You can see 40-60 or more lines of code depending on your monitor. You can have multiple windows open simultaneously. Each window can be a different language. The windows are all color coded for the appropriate language. You can cut and paste between windows. You can use ctrl-space to auto-complete things (very helpful in looking up field names!). You have immediate online help in the form of tool tips (great for BIFs), not to mention the full RPG manual. The verify command is very fast, and finds all your errors. Errors can be inserted into the editor at the point they occur. For me, the ability to be able to see a CL, an RPG and a Java routine all up at the same time is crucial to my programming ability. There are other features as well; the debugger kicks butt and the ability to set a service entry point is nothing short of amazing. But once again, it's up to you and to some degree depends on the job you're doing. I still occasionally sneak into PDM for quick changes, especially DDS. PDM is great for user defined commands on multiple members, and is still the better tool for finding strings in files. And even though I prefer CODE over SDA, sometimes SDA is just quicker. That may be because I do very little green screen design. I would say that in general, I've been programming probably 95-98% of the time in RSE (I spend under an hour a week in PDM). Joe
02-06-2006, 05:32 AM
RSE is the Cats Meow and the Lion's, Well what ever they do too!! RSE is the best thing to happen to the Iseries in a long time!!. It is easy to use and a quick and easy way to relate the development environment with other language's IDEs. If fact learning wdsc makes you a little bit of an eclipse expert. Hey guess what, that leads to java and other languages that use more graphically based development environments! Sooner or later we have to realize that our old green screen tools are just no longer sufficient for the brave new world of programming. Bill open wdsc right click the on the dds source memmber and select open with code designer. If you do not have this option you need to install code400 on the your pc along with wdsc. Once you open that dds source in code designer GOODBYE SDA!! Welcome to the world of WDSC and Code Designer!! TRUST ME YOU ARE GOING TO LOVE IT!! Aric Furtune Favors the Bold
02-08-2006, 05:40 AM
I read Joe's posting which agrees with the official IBM line that the debugger is the best ever. I'm not an RPG programmer, so I'm not sure I'm using the correct terminology. But I talk to my staff and they tell me that the debugger is a giant step backward when compared to the interactive debugger that was available for the old RPG on the green screen. They complain of several problems... - Inability to debug RPG OPM programs (We live in a world where some of our vendors have upgraded to RPG/ILE but most have not. So we can't just upgrade it all when we need to test something.) - Inability to let a program run until, say, it gets to the a particular customer# and then set up our breaks. - Problems with getting the debugger service program to work consistantly. Sometimes it works for us, sometimes it doesn't, and sometimes it crashes. I'd be happy to learn that these are "training issues" or "user error". But we had an IBMer come out and train us for 3 days. He showed us a lot of cool things with freeform, service programs and the like but he never could show us anything usefull on the debugger.
02-08-2006, 07:46 AM
I am not sure if many iSeries programmers know about this debugger. It comes with iSeries Access for Windows and can be accessed from iSeries Navigator or the shortcut below. It loads faster and has a much better response time than the one in RSE. Create a shortcut on your desktop with the following command... "C:Program FilesIBMClient AccessJREBinjavaw.exe" -cp "C:JTOpenLib es.jar";"C:JTOpenLibjt400.jar";"C:Program FilesIBMClient AccessJRELibjhall.jar" utilities.Debug -u ISeriesUserID -s iSeriesName Change the path with .jar files to point to the location on your client (search your Client Access folder) and substitute ISeriesUserID and iSeriesName with yours. Necqui Teja
02-10-2006, 01:23 PM
MFAULHABER wrote: > > - Inability to debug RPG OPM programs (We live in a world where some of our vendors have upgraded to RPG/ILE but most have not. So we can't just upgrade it all when we need to test something.) Try compiling your OPM programs with OPTION(*LSTDBG) or OPTION(*SRCDBG).
02-10-2006, 05:12 PM
As Barbara says, you can debug OPM programs by using the correct compiler switch. If you right click on a breakpoint, you can edit its properties. In RPG, you can have it break on a specific iteration, or when an expression is true. You can use the latter technique to break on a customer. As to the debugger service program, I never have problems. Have you documented the crashes and submitted them to IBM? The WDSC team is perhaps the most reponsive software team I've ever worked with. If you get a crash, either post it here or on the WDSCI-L mailing list at midrange.com. Joe
02-16-2006, 07:55 AM
in wdsc's help we found examples of valid line breakpoint expressions for C++. But we can't find an example of a valid expression in RPG. We've tried a number of variations. But none of the ones we've tried evaluates out as true. (Even when we know that it should, if we were specifying the expression correctly.)
02-16-2006, 06:46 PM
Sure. Use the attached program. If you put a breakpoint on the statement "x = 0;" and then debug the program, you'll hit the breakpoint three times. Right-click on the breakpoint and select Edit Breakpoint. In the resulting wizard, go to the second panel and type "x = 2" (no quotes) into the Expression field. Debug again and the program will only stop once, and the value of x will be 2. Joe <hr width=50 align=left>Code ('http://www.mcpressonline.com/mc/showcode@@.6b33bd6b/7')
03-02-2006, 10:20 AM
I have done this accidently, but can't figure out what I did... and in a large program with mismatched if/ends, this would be helpful. How do you collapse if/end loops in RSE?
03-02-2006, 12:18 PM
Right click in the source code, select Filter View, select Control. Chris
03-02-2006, 12:23 PM
Thanks Chris, If only that would flow over to the indent! But that was what I wanted. Thanks.
03-06-2006, 09:32 AM
I have a WDSC screen up with breakpoints defined (I can see the little markers beside two lines). I can't figure out what is the next step and how to do it. I should be able to run the program and then I expect it to stop at the debug points and display a dialog window where I can put in the variable names for which I want to see values. In green screen, I would say 'eval nnnnn'. I've checked WDSC help, google and Joe Pluta's step by step book. Any hints appreciated - Russ Sprague Feld Entertainment, Inc.
03-18-2006, 03:48 PM
Russ, are you still struggling with RPG breakpoints? Joe
03-21-2006, 11:51 AM
Today I received the notification from the automatic updates inside WDSC (6.0) that updates were available. Yesterday we had manually applied a large update. I downloaded and applied the update today, and since then, I am receiving the message: Uncaught exception in class "com.ibm.etools.iseries.editor.ISeriesEditorRPGILEP arser". Document parser was disabled. The prompter no longer works. Also, all the text is now blue instead of different columns having different colors. Any idea what has happened or how to undo this update? Thanks!
03-21-2006, 12:09 PM
In RSE, click on HELP and SOFTWARE UPDATES and IBM RATIONAL PRODUCT UPDATER. There is a ROLLBACK button that may help you. Chris
03-21-2006, 12:39 PM
Thanks Chris! The ROLLBACK list doesn't have any updates with today's dates - only the big update we did yesterday. Jonathan
03-22-2006, 06:34 AM
More information on my RSE failure.... apparently the update was something called Rational Clear Case SCM adapter, version 6.0.49. It updated itself, and since then all the syntax/parsing has disappared from the editor. I can find no way to roll it back or reverse it. According to our resident PC expert, it is some type of plug-in, and not part of basic WDSC. I have a call in to IBM, but have not heard anything yet. I was just beginning to love RSE, but now I may rethink it. For it to update itself, render itself useless, and then have no recovery makes me think PDM and SEU are not so bad.
11-01-2006, 05:29 AM
I installed WDSC V6.0 and was instructed to update the product. I tried to install updates but when the screen to accept the license agreement appeared, the "OK" button was disabled. I had to cancel the update. Does anyone know the cause of the problem?
01-08-2007, 05:28 AM
Is it just me, or does anyone else not think that RSE is the cat's meow? There are parts of it that I find helpful such as being able to see the screen layouts on sources that are restricted from doing SDA. On the whole I find RSE to be cumbersome and slow. I have tried a few screen designs and have gotten frustrated and wound up finishing them using SDA. As to RPG programs, we use Linoma's RpgToolBox and with the ability to write snippets to set up skeleton programs and procedured calls it adds to making all of our programs look similar. If there are tricks to navigating around RSE for screen and print file design I would be more than happy to hear about them. I am willing to try anything at least once, but I am old enough to not automatically assume that since something is new it makes it better than the old. I remember the Edsel. Bill Barnes The Pantry, Inc.
01-08-2007, 05:28 AM
Since I first posted this last year I have taken several steps to move to RSE. Got a training course, subscribe to the WDSc email and plunged in headfirst. Problem is the water was a little shallow at my end and I hit my head. There are many good things about RSE such as having multiple sources up being edited at the same time, the outline view and the Freeform converter. I also like the compiler option of not producing a printout. Now for the downside. The Freeform converter has a flaw when dealing with embedded SQL programs if the SQL statement is within a loop. IBM has said that they could not reproduce the problem in the next release and therefor chooses to ignore it. SQL compiles are most confusing because when you click on an error it brings up a completely new source member that is RPGLE and the fixes are useless. Now, before some of you start jumping on my case and telling me that the green screen compile isn't any better, I say so what? That is like telling me that it is better to shot in the arm than in the leg. Updates are horrendous, I check updates and when they are available I apply them. The problem is the lengt5h of time it takes to download. The last one I started at 1:30pm and it was 65% finished at 5:00pm. I don't know what time it finished? I installed the plugins from Linoma (Surveyor and SoftLandings). The last update removed the visual links and I haven't been able to get them back. I am the only person in my shop that uses it (masochistic tendencies). The chances of anyone else using it are slim at best. The email subscription is confusing to follow on questions and answers other than your own. A forum (like this one) is easier to follow. I don't see where RSE has made me any more productive I still jump back to PDM. As to CODE it seems to be OK, but like RSE it is heavyhanded in it's approach. The Print file portion is dangerous at best since it removes the RLU comments that control the record length and the object library. I still haven't figured out how to compile to a different library. In one of Joe Pluta's posts here he mentioned that IBM is pushing for a departure from the green screen and I agree. The problem is that they started late and then put Websphere out as the only approved method. Which required Java and lots more hardware. This gave Microsoft the edge they needed and they took it. Our shop, like many others, has mandated that there will be no more new development in the iSeries. It will be done in .NET in a windows environment and the iSeries will become a distant memory. Part of this development I place right at the doorstep of IBM. Freeform not withstanding, they blinked. Too little too late for many shops that have years of development tied up in RPG applications, only to be labelled as "Legacy Programmers" and therefor not worth much to the bottom line.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.