WDSc & RSE for RPGers - gomitec.com · WDSc & RSE for RPGers The SEU and PDM of the Future Susan...
Transcript of WDSc & RSE for RPGers - gomitec.com · WDSc & RSE for RPGers The SEU and PDM of the Future Susan...
Your partner in AS/400 and iSeries Education
WDSc & RSE for RPGers
The SEU and PDM of the Future
Susan Gantnersusan.gantner @ Partner400.comwww.Partner400.com
WebSphere Development Studio client for iSeries - WDSc to its friends - is the Eclipse-based workbench from IBM. Don't let that "WebSphere" word worry you. There are many tools in this toolset which have nothing to do with WebSphere or with development for the web. The best news of all is that if you're on V5R1 or later, you probably already have WDSc available to you at no extra charge! In this session we will concentrate on the specific tools that are targeted to RPG programmers - tools to replace SEU and PDM, for example. We'll look at Remote Systems Explorer (RSE) for iSeries and the jLPEX editor and its related tools. Join Susan for an in-depth look at why the WDSc toolset can (and should!) change the way you do your iSeries development in the future. After all - you have nothing to lose but your application backlog!
The author, Susan Gantner, is co-founder of Partner400, a firm specializing in customized education and mentoring services for AS/400 and iSeries developers. After a 15 year career with IBM, including several years at the Rochester and Toronto laboratories, Susan is now devoted to educating developers on techniques and technologies to extend and modernize their applications and development environments. This is done via on-site custom classes for individual companies as well as conferences and user group events.
Jon and Susan author regular technical articles for the IBM publication, IBM Systems Magazine, i5 edition (formerly iSeries Magazine and eServer Magazine, iSeries edition), and the companion electronic newsletter, i5 EXTRA (formerly iSeries Extra). You may view articles in current and past issues and/or subscribe to the free newsletter or the magazine at: www.ibmsystemsmag.com/i5/.
Feel free to contact the author at: susan.gantner @ partner400.com or visit the Partner400 web site at http://www.partner400.com.
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 1-2
The workstation component of WebSphere Development Studio for iSeries (WDS/400)
A complete application development environment for developing iSeries host applications on your Windows PC
An integrated set of development tools that provides significant productivity enhancements for iSeries programmers:
The edit/compile cycleDesigning DDS screens and reportsDebugging iSeriesapplications
Includes tools for development outside the traditional iSeries development world:
Java, XML, Web development, Webfacing, VisualAge RPG, Linux ...
What is WDSc?
The CODE/WDSc ToolsWDSc jLPEX and CODE Editors
Powerful PC editors for iSeries, PC and web source code
CODE Designer A rich graphical interface for designing/maintaining DDS display, printer and database files
Various DebuggersDebug host applications from your workstation
Remote Systems ExplorerPDM on Steroids!!
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 3-4
Host ComponentsAll the compilers Plus ADTS
SEU, PDM, ....
Client ComponentsEclipse based workbench
Plus iSeries specific tools such as WebFacing
CODEVisualAge RPG
Websphere Development Studio
This base version is "free"
Connections expand to “subsystems”Named grouping of functionalityCreate a new connection by expanding "New Connection"
Subsystems for iSeries connections:iSeries Objects
Work with Libraries, Objects, MembersiSeries Commands
Pre-define and run QSYS commandsiSeries JobsIFS files
For working with Integrated File System files and commands
Connections & "Subsystems"
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 5-6
PDM-like drill-down or filtered access to:iSeries libraries, objects, members, records, fieldsiSeries JobsiSeries IFS Folders and FilesLinux (including iSeries LPAR) Folders and FilesUnix and Windows Folders and FilesLocal Folders and FilesiSeries Projects
Unlike PDM, WDSc filters are retainedAnd multiple filters can be open at one time
Project-based, team-sharable developmentWorkbench plug-ins are supplied for CVSiSeries vendors such as Aldon, MKS, and Soft Landing are also "plugged-in"
Remote System Explorer
Remote System Explorer PerspectiveNot as "crowded" as it looks
Each window expands to full screen with a double-click on the title bar
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 7-8
Systems and Properties
Using RSE as the "New PDM"
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 9-10
Expand objectsExpand Program to see Modules
Expand modules to see proceduresExpand Source/Date file to see MembersExpand Display file to see Record Formats
Expand Record format to see Fields
Properties for selected item in RSE viewSome properties can be edited directly
e.g., Text for objects, members
Working with RSE "Tree View"
Working with RSE "Tree View"Drag and Drop
Copy & Paste action within RSE Copy/Paste also available via right click
On iSeries, CRTDUPOBJ, CPYSRCF, etc. depending on type of objectPrompted for name change if duplicate
Right ClickTo Rename, Copy, Paste, Move, Delete, Compile, etc.
Options different for different types of objectsAlso to Create new objects, e.g.:
Right click on Library filter to create a New LibraryRight click on File Object to create a New MemberRight click on Message File Object to create a New Message
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 11-12
Host or local...it's transparent!!
RPG II, III, & IV COBOL, CL,
DDS, C, C++, Java, & HTML
The jLpex Editor
Seamless access to local and host sourceMultiple source members open for editLanguage-sensitive editingToken highlightingBuilt-in syntax checkingProgram verificationSEU-commands, format rulers and promptingLots of on-line helpWindows GUI, clipboard, unlimited undo, multiple filesIssue commandsProgrammable and customizablePlus lots more...
Editing iSeries Source MembersTo Open an iSeries Source Member:
Double click on source member in RSE opens with LPEX editorOr Right Click on member in RSE and select Open with . . .Works in RSE view and in Table View
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 13-14
jLpex in the Workbench
Double Click on the tab to make it full-screen
Prompting with F4
Prompting is less necessary because of
intelligent Format Lines and Tab key
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 15-16
Context Menu in jLpex
Filtered View: Filter Selection
Result of choosing "Selected > Filter Selection"
from previous picture
Right Click and select "Show All" to get back
to full source viewExpand + signs to see excluded lines
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 17-18
"Show Indentation" option from "Source" menu
Then Double Click on tab for full screen view
Indented Source View
Indented view is "Browse only"
Help!
Cursor sensitive Help text
Takes you to the page of the language reference manualNavigate via Table of Contents
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 19-20
Syntax Checking & 2nd Level Help
Syntax checking happens as soon as
you move off the line. F1 on the inserted
message for 2nd level mesage help.
Outline ViewYou will love the Outline view
Just click and the edit window positions on the selected item
No Outline? Old Outline?Click on Refresh button
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 21-22
Outline "Fast View"
Right Click on window heading bar and select
"Fast View"
Any Window can be made a "Fast View"
This makes it easily accessible from full screen editor mode
V5.1.2 includes cross reference info in Outline!
V6: Dock on Left, Bottom or Right - Orientation
Horizontal or Vertical
Code CompletionTired of forgetting subprocedure, subroutine and field names?
Start to type then press Ctrl + Space Bar to see a list of matching items
Use the cursor keys to highlight the item you want and Enter key to select itOr key additional characters to shorten list
Prototyped calls show the parameters required to invoke them
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 23-24
Local Code Verify
Cached (local copy) of external file
descriptions and /Copy automatically
Verify runs built-in copy of compiler checking.Failed compiles need
never happen!
Tip: ALWAYS verify locally before submitting a compile.
Verify Error Feedback
Double click on an error in the list to be
positioned to that line in the editor
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 25-26
Hardware RequirementsWorkstation
WDSc Workbench requires a large workstationMinimum Pentium III 800 Mhz (higher recommended)Minimum 768 MB memory, 1 GB recommendedMinimum disk space: 11 GB, including installation & development objects
Monitor requirements1024 x 768, 256 colors requiredDue to the nature of the workbench, 17" or larger monitor is recommended
For installationDVD drive is recommended, unless installing from a network driveMultiple CDs required, making installation more slow and cumbersomeUpdates to the workbench are typically done via the internet
Broadband connection required for satisfactory response timeUpdates can be downloaded to a network drive and installed from network
If you don't have the recommended workstation, don't despair!CODE editor works beautifully on a MUCH smaller system
Minimum Pentium II 600 Mhz, 256 MB memory, 700 MB diskV5.1.2+ allows separate install of CODE without the WDSc workbench
V6 requires a second separate install process for CODE/VARPG
New with V6.0.1 Technology Preview of "WDSc Lite"
WDSc Lite is a slimmed down workbench with only the:Eclipse workbench (branded asRational Software Development Platform)Remote System ExploreriSeries ProjectsiSeries Integrated Debugger
Requires only 256 MB RAM to run However, more memory is currently required to get it installed!
Optional installation feature for 6.0.1
Must already have full WDSc 6.0.1 installedFirst update to 6.0.1 electronically from V6.0 (if necessary)
Use new Rational Product Updater interfaceFrom Start > Programs or from Help > Software Updates in workbench
After 6.0.1 installed via "Updates" tab, use "Optional Features" tabCreates a second copy of the workbench Fully supported technology previewAfter Technology Preview stage, hopefully it will be installed separately
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 27-28
Here's What to Install on Your WS
Tips for New WS Toolset UsersNever close a source member to open another one
Multiple open members open at a time - a powerful feature
Never close a source member to save it or to compile itSave and/or compile without closing
After all, what are the chances you're really finished ?
Verify before compilingMuch faster, especially if caching ... which reminds me ...
Always, always cache file descriptions & Copy membersVerify in seconds (or less) rather than a minute or soAs of V5.1+, caching is turned on by default in WDSc workbench
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 29-30
SummaryWDSc & CODE offer very powerful features
But they do require an investment of time to learn themThe documentation is not the best in the world - but it is getting better
Once you have learned the basics your productivity will riseAnd keep rising and rising and .....
Make sure you understand how caching worksThe real speed benefits are gained by caching file descriptions etc.
More information:iSeries Extra article: "CODE or WDSc -- Which is Right for You?"
http://www.partner400.com/ArticlesEXTRA3.htmIBM's site
http://www.ibm.com/software/awdtools/iseries Product details, ordering process, technical support
©Copyright Partner400, 2004-2006. WDSC & RSE - Page 31-32