This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
LPEX* is designed to serve many different platforms and programming languages.
– Insert, delete, move, copy is implemented in the base LPEX
– Extend the base to add programming-language and system-specific functionality
– Done through parsers
– Different places for preferences
*LPEX - Live Parsing EXtensible Editor
IBM Software Group | Rational software
Remote System LPEX editor
RSE job on IBM i serverMember PAYROLL is locked
Library
RSE job with your profile
Source file
Member AMember BMember PAYROLL
Member DMember E
Double click on member or select Open With > Remote Systems LPEXEditorRSE checks for required authority and member locks
Prompted if either check failsMember is locked on i5/OS, downloaded and opened in editorChanges written back to remote member on saveLocks released when editor is closed
Or the RSE connection is disconnected
What happens during editing?RSE LPEX editorMember PAYROLL open
– Moving in the editor – of course there is always a mouse…– Press the Up, Down, Left, or Right arrows. – Press Home to move the cursor to the beginning of a line and End to
move it to the end of a line. – Press Ctrl + Left arrow to move the cursor one word left, or Ctrl + Right
arrow to move it one word right. – Press Page Up or Page Down to move the cursor up or down one window
at a time. – Press Ctrl + Up arrow to scroll the editor up one line without changing the
current line, or Ctrl + Down arrow to scroll the editor down one line. – Press Ctrl + Home to move the cursor to the beginning of the document,
or Ctrl + End to move it to the end of the document. – Press Ctrl + J to return the cursor to the place in the editor where you last
entered text. – Press Home and then Shift + Tab to position the cursor in the Prefix area.
– Edit > Undo (Ctrl + Z)– Edit > Redo (Ctrl + Y) – You can undo even after saving the source – as long as you have
not closed the member– Location marks
– Edit > Mark > Name a Mark to set a mark – Edit > Find other > Find Mark to locate a mark– Ctrl + Q to se the quick mark / Alt + Q to return to set quick mark
Content Assist … continued Position cursor in the editor to area you need to edit.Do you know which character it starts with to filter from all variables?Enter character and use Ctrl+Space to invoke content assist
Don’t know a variable name?No problem use content assist
List of available variables
Select a choice in the list and get its type defintion
Tip: Outline view needs to be populated for this to work
Parsers for language sensitive editing For the common source member types, the correct parser is associated with it. Menu actions are added by the parserToolbar is updatedRight-click actions in the editor Customization per language parser
Which parser is used for a file type Parsers need an association with a document type.There is a default parser association but you can change the default preferences
Existing Keyboard ShortcutsMany keys have default actions already defined by the editor. The Workbench also defines some keys with actions.
RSE Specific – Ctrl + Shift + A: open a member– In the Object Table view just start typing and a “Position To...” dialog will appear
General Workbench – F1: context sensitive help– Ctrl + F6: Switch between open editors– Ctrl + F7: Switch between open views– Ctrl + F8: Switch between open perspectives– Ctrl + M: toggles a view or editor between normal and maximized– Ctrl + E: displays list of open editors– Ctrl + F4: close open editor– Ctrl + . And Ctrl + ,: position to next / previous message within an editor
Standard Windows shortcut keys:– Use the arrow keys to navigate through tree and table views– In any list, just start typing and the an item that matches will be selected– Ctrl + S, Ctrl + Home, Ctrl + End, Tab
Tip: All of these can be customized using the Workbench > Keys preference pageWindow > Preferences > General > Keys
– Much more than just a replacement for SEU – Features workstation tools for IBM i developer – Easily customizable for your working style – Gain productivity using:
• Application Diagram Viewer• Outline view• Content assist • Many more
Lots of resources available to get you started:– RPG Café with RDi hub
• www.ibm.com/software/rational/cafe/community/rpg/rdi– midrange mailing list
– http://lists.midrange.com/mailman/listinfo/wdsci-l– Webcasts and System i magazines– COMMON and IBM Power Technical Conferences– User group meetings
Trademarks & Disclaimers8 IBM Corporation 1994-2008. All rights reserved.References in this document to IBM products or services do not imply that IBM intends to make them available in every country.The following terms are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both:
Lotus, Freelance Graphics, and Word Pro are registered trademarks of Lotus Development Corporation and/or IBM Corporation.Domino is a trademark of Lotus Development Corporation and/or IBM Corporation.
C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries.SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC. Other company, product and service names may be trademarks or service marks of others.
Information is provided "AS IS" without warranty of any kind.
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.
Information in this presentation concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources and does not constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers are taken from publicly available information, including vendor announcements and vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, or any other claims related to non-IBM products. Questions on the capability of non-IBM products should be addressed to the supplier of those products.
All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Contact your local IBM office or IBM authorized reseller for the full text of the specific Statement of Direction.
Some information in this presentation addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment to specific levels of performance, function or delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented here to communicate IBM's current investment and development activities as a good faith effort to help with our customers' future planning.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here.
Photographs shown are of engineering prototypes. Changes may be incorporated in production models.
AS/400 IBM(logo) i5/OSAS/400e iSeriese (logo) business OS/400IBM System i