SQL from the Trenches

sweetleafapartInternet and Web Development

Aug 7, 2012 (4 years and 10 months ago)

206 views

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Jump
-
Start WDSc
-
RSE

Presented by:

Robert Arce

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

What do I need ?


In the System i: Install 5722WDS option
60 “
Websphere Dev Studio Client
-

Server Support”




Install on your PC: WDSc “lite” or as
many features as you need.



Apply upgrades

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

First Time using it


Create your own workspace EXACTLY
where you want it and where you can find
it.



Create a connection(s) to your System i.



Set up your library list as you usually
configure it for developing.



Take the default RSE perspective and
Configure and save it as your own.

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Where do I go to customize
my environment?


Window


Preference



Browse change and see if you like the change
without forgetting what you last change in case
you don’t want it.



Pay special attention to:


LPEX editor


Remote Systems (Generic RSE preferences)


Remote Systems > iSeries


Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Create a Dev filter

There are may ways to get to the source
but the most natural way to us (SEU
users) is to create a Library filter for our
development set of libraries.



Right mouse click over the iSeries Objects


New filter


Add the libraries that you want as you
development set.

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Edit your first program


Use the created library filter and expanded. It
will show all the added libraries.


Do right mouse click and choose expand to source
members.


At this point the library will use the “quick” filter
to show you only source members.


Double click on the source member and start
making your changes.

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Editing source


Analyzing your program


Outline window


Pressing enter


gets you a new line.


How to copy a block


Crtl
-
R or right mouse
click and choose rectangle


Search within source or within multiple source
members for a specific function or text.


Compare source members.


Multiple screens to edit multiple source
members.


Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Compiling


Change the command to suit your needs.


Run the command and then choose the
level of warning on the window that is
important for you.


At this point you don’t want to see a
listing of a program. Right?


Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Customizing commands


Contains the code that implements the functions



First you need to customize is the
CRTBNDRPG.



The help has everything there for other new
commands.

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Running a command?

You can run a command directly into the system
-
i.
For instance to create a service program when
you just finished compiling one of the modules.

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Debugging

Easies way is to set a Service Entry Point


Call the program from a 5250 screen or even from the
iSeries command windows


The perspective will automatically open and then you
can take it from there


Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Free Form


Open a source program.


Take option “Source” and take option “Convert All
to Free
-
form”


Voila program is now in free form.


Yeah Right!!!


Well it is in ugly free form but you can take it from
here to make it pretty.



Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Kick your self?


You will have to put the effort in making
yourself use WDSc. It will always seem
easier to go back to SEU.



If you do go back KICK yourself.



If after using this tool for two month 100%
of your time you won’t go back to SEU.

Jump
-
Start WDSc
-
RSE by Robert
Arce from PrismaTech.

Now you have NO excuses !!!


USE it and ABUSE it.

Thank you !!!