Originally developed for mainframes but highly portable across platforms– from servers to desktops to handhelds– Rexx is an easy yet powerful scripting language that′ s widely used for rapid application development. Covers Rexx interpreters for specialized functions– object– oriented, mainframe, and handheld. There are 8 different free Rexx interpreters optimized for different platforms and uses. This book shows how to use them all. Shows how to script for GUIs, databases, web servers, XML, and other interfaces. Details how to make the best use of Rexx tools and interfaces, with examples for both Linux and Windows. Includes a tutorial with lots of examples to help people get up and running. ∗ Originally developed for mainframes but highly portable across platforms– from servers to desktops to handhelds– Rexx is an easy yet powerful scripting language that′ s widely used for rapid application development. ∗ Covers Rexx interpreters for specialized functions– object– oriented, mainframe, and handheld. Rexx Programmer′ s Reference Whether you′ re new to Rexx or are an experienced Rexx programmer, this comprehensive reference offers you what you need to know in order to work with this easy yet powerful scripting language on any level. After a quick overview of the basics of Rexx, you′ ll move on to more advanced scripting topics such as portable code and optimal coding style. Later chapters cover the most common Rexx interfaces and tools and introduce and demonstrate how to use Rexx with operating systems, SQL databases, Web servers, and XML. You′ ll also learn about the many free Rexx interpreters and the unique advantages of each. By the end of the book, you′ ll have learned special techniques that you can use to make the most of the power and flexibility of Rexx. What you will learn from this book The entire Rexx language, from an introductory tutorial to advanced features How to script with Windows® , Linux® , Unix® , and mainframes How to interface Rexx to databases, Web servers, GUIs, XML, and other tools Object– oriented programming with the object– oriented Rexx interpreters How to script in the Java environment with NetRexx How to script handhelds running Windows CE, Palm OS® , or Symbian/EPOC Who this book is for This book is for programmers on any platform who are either looking to learn Rexx or already use it and want to expand their knowledge of Rexx. A basic knowledge of programming is assumed. „This timely book is an excellent introduction to Rexx and all its implementations. It truly deserves space on any Rexx programmer′ s bookshelf.” — Michael Cowlishaw, creator of Rexx Rexx Programmer′ s Reference Whether you′ re new to Rexx or are an experienced Rexx programmer, this comprehensive reference offers you what you need to know in order to work with this easy yet powerful scripting language on any level. After a quick overview of the basics of Rexx, you′ ll move on to more advanced scripting topics such as portable code and optimal coding style. Later chapters cover the most common Rexx interfaces and tools and introduce and demonstrate how to use Rexx with operating systems, SQL databases, Web servers, and XML. You′ ll also learn about the many free Rexx interpreters and the unique advantages of each. By the end of the book, you′ ll have learned special techniques that you can use to make the most of the power and flexibility of Rexx. What you will learn from this book The entire Rexx language, from an introductory tutorial to advanced features How to script with Windows® , Linux® , Unix® , and mainframes How to interface Rexx to databases, Web servers, GUIs, XML, and other tools Object– oriented programming with the object– oriented Rexx interpreters How to script in the Java environment with NetRexx How to script handhelds running Windows CE, Palm OS® , or Symbian/EPOC Who this book is for This book is for programmers on any platform who are either looking to learn Rexx or already use it and want to expand their knowledge of Rexx. A basic knowledge of programming is assumed. „This timely book is an excellent introduction to Rexx and all its implementations. It truly deserves space on any Rexx programmer′ s bookshelf.” — Michael Cowlishaw, creator of Rexx Foreword. Acknowledgments. Introduction. Part I. Chapter 1: Introduction to Scripting and Rexx. Chapter 2: Language Basics. Chapter 3: Control Structures. Chapter 4: Arrays. Chapter 5: Input and Output. Chapter 6: String Manipulation. Chapter 7: Numbers, Calculations, and Conversions. Chapter 8: Subroutines, Functions, and Modularity. Chapter 9: Debugging and the Trace Facility. Chapter 10: Errors and Condition Trapping. Chapter 11: The External Data Queue, or “ Stack” . Chapter 12: Rexx with Style. Chapter 13: Writing Portable Rexx. Chapter 14: Issuing System Commands. Chapter 15: Interfacing to Relational Databases. Chapter 16: Graphical User Interfaces. Chapter 17: Web Programming with CGI and Apache. Chapter 18: XML and Other Interfaces. Part II. Chapter 19: Evolution and Implementations. Chapter 20: Regina. Chapter 21: Rexx/imc. Chapter 22: Brexx. Chapter 23: Reginald. Chapter 24: Handhelds and Embedded Programming. Chapter 25: Rexx for Palm OS. Chapter 26: r4 and Object– Oriented roo! Chapter 27: Open Object Rexx. Chapter 28: Open Object Rexx Tutorial. Chapter 29: IBM Mainframe Rexx. Chapter 30: NetRexx. Part III. Appendix A: Resources. Appendix B: Instructions. Appendix C: Functions. Appendix D: Regina Extended Functions. Appendix E: Mainframe Extended Functions. Appendix F: Rexx/SQL Functions. Appendix G: Rexx/Tk Functions. Appendix H: Tools, Interfaces, and Packages. Appendix I: Open Object Rexx: Classes and Methods. Appendix J: Mod— Rexx: Functions and Special Variables. Appendix K: NetRexx: Quick Reference. Appendix L: Interpreter System Information. Appendix M: Answers to “ Test Your Understanding” Questions. Index. Howard Fosdick has performed DBA and systems support work as an independent consultant for 15 years. He’ s coded in Rexx for nearly two decades and has worked in most other major scripting languages. Fosdick has written many technical articles, founded two database users’ groups, and is known as the originator of such concepts as “ hype cycles” and “ open consulting.”