1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software,...

27
1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

Transcript of 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software,...

Page 1: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

1 SEDIT & S/REXX

SEDIT and S/REXXMainframe-caliber tools for UNIX

Offered byTreehouse Software, Inc.

Page 2: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

2 SEDIT & S/REXX

SEDIT

• UNIX text editor• Emulates mainframe XEDIT and

ISPF/PDF editors under UNIX• Goes beyond XEDIT and ISPF/PDF• Takes advantage of the UNIX

environment• Includes Directory Tree Utility• Provides FLIST-like functionality

Page 3: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

3 SEDIT & S/REXX

Why SEDIT?

• Mainframe users unfamiliar (and unhappy) with UNIX editors such as "vi" and "emacs"

• UNIX editors may lack power and flexibility seen on the mainframe

• Cost of training former mainframe users to operate UNIX editors can be prohibitive

• Training periods can result in project delays

Page 4: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

4 SEDIT & S/REXX

SEDIT: Mainframe Familiarity

• Supports the familiar keystrokes and commands used on the mainframe:– Insert, Copy, Delete, Split, Join, Get, etc.– Function keys, split-screen mode, and more

• Character-based interface closely resembles mainframe screens

• FLIST-like utility for UNIX directory navigation

Page 5: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

5 SEDIT & S/REXX

Character Mode InterfaceUNIX path and name of file being edited

Command line Function key settings

Editing area

Page 6: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

6 SEDIT & S/REXX

Optional GUI InterfaceButtons(can be customized)

CompilerSupport

Function key settingsCommand line

Page 7: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

7 SEDIT & S/REXX

FLIST-like UtilityUNIX permissions

file, directory names

file types

directories specified in the UNIX "PATH" environment variable

Function key settings

UNIX command entry area

File sizes

Modificationdate/time

Page 8: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

8 SEDIT & S/REXX

Editing Extensions

• Cut/Copy/Paste between files• Unlimited Undo• Recall of previously-entered commands• Complete on-line help system• Spelling checker• Automatic save option• Programmable function keys, allowing keyboard

short-cuts to be created• User-customized menus and buttons• "Search and replace" for FORTRAN and C

variables

Page 9: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

9 SEDIT & S/REXX

UNIX-Specific Extensions

• Allows use of abbreviated path names– "benefits.c" versus

"usr/fred/payroll/benefits.c"

• Supports use of the mouse• Supports OpenLook, and Motif GUIs• Supports compilers, and can automatically

position the cursor on lines of code which generated compiler errors

• Provides a scrollable interface to the UNIX "man" command

Page 10: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

10 SEDIT & S/REXX

UNIX-Specific Extensions

• Includes an external macro interface, allowing the use of any language as a macro language

• Interacts with CenterLine Software's CodeCenter

• "Listens" on a socket for commands sent by other UNIX applications

• Displays files in WYSIWYG format• Offers graphical Directory Tree Utility

Page 11: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

11 SEDIT & S/REXX

Directory Tree Utility

Page 12: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

12 SEDIT & S/REXX

SEDIT Summary

• Emulates mainframe XEDIT and ISPF/PDF editors under UNIX

• Character and GUI modes• Powerful editing extensions• UNIX-specific extensions• Flexible, customizable

Page 13: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

13 SEDIT & S/REXX

S/REXX Overview

• REXX implementation for UNIX• Supports Cowlishaw REXX Level 4.0• No limitations on program size or

complexity• UNIX-specific functionality• GUI Extensions• Enhanced Trace Mode• Optional S/REXX Debugger product

Page 14: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

14 SEDIT & S/REXX

Mainframe Familiarity

#! /home/xed/srexx

say 'Enter a positive number' pull rep .

if test_nump(rep) then say 'Valid number' else say 'Invalid number'

exit test_nump: if datatype(rep) = 'NUM' & rep > 0 then return 1 else return 0

Page 15: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

15 SEDIT & S/REXX

EXECIO Support

• Facilitates porting from mainframe to UNIX• Supports I/O to files and printers• All CMS EXECIO options available

Page 16: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

16 SEDIT & S/REXX

Unlimited Program Size and Complexity

• No limitations on:– Procedure size– Expression complexity– Number of nested parentheses– Number and content of variables– Recursive function depth– Argument number and size

• S/REXX programs can be as large and as complex as your hardware and UNIX operating system dictates

Page 17: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

17 SEDIT & S/REXX

UNIX-Specific Extensions

• Permits C programs to execute S/REXX programs

• Executes UNIX commands and uses the output in S/REXX programs

• Supports "Choices," a menu replacement appropriate for use in dialog boxes

• Includes C program interface• Supports dynamic loading of external

procedures• UNIX file manipulation functions (e.g., "RM"

to remove a UNIX file)

Page 18: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

18 SEDIT & S/REXX

GUI Extensions• Display OpenLook or MOTIF dialog boxes,

with input fields, toggles, and buttons

Page 19: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

19 SEDIT & S/REXX

Enhanced Trace Mode

• Consider these REXX commands:

trace Ia = 2str = “This is a”id = 1tab.a = substr(str||” string”, id+1, 2)

Page 20: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

20 SEDIT & S/REXX

Enhanced Trace Mode

• Mainframe REXX trace output:

5 *-* a = 2>L> “2”

6 *-* str = “This is a”>L> “This is a”

7 *-* id = 1>L> “1”

8 *-* tab.a = substr(str || “ string”,id + 1,2)>V> “This is a”>L> “ string”>O> “This is a string”>V> “1”>L> “1”>O> “2”>L> “2”>F> “hi”

Page 21: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

21 SEDIT & S/REXX

Enhanced Trace Mode

• S/REXX trace output:

5 *-* a = 2>>> A <-- “2”

6 *-* str = “This is a”>>> STR <-- “This is a”

7 *-* id = 1>>> ID <-- “1”

8 *-* tab.a = substr(str||“ string”,id+1, 2)>C> TAB.A --> “TAB.2”>V> STR --> “This is a”>O> “This is a” || “ string” --> “This is a string”>V> ID --> “1”>O> “1” + “1” --> “2”>F> SUBSTR() --> “hi”>>> TAB.2 <-- “hi”

Page 22: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

22 SEDIT & S/REXX

Optional S/REXX Debugger

• Separately-priced product• Graphical debugging environment for

S/REXX• Step through the execution of S/REXX

programs• Find and fix bugs while in the debugger• Set and remove breakpoints

Page 23: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

23 SEDIT & S/REXX

S/REXX Debugger

Source area

I/O areaCommand

area

BreakpointColumn

Page 24: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

24 SEDIT & S/REXX

S/REXX Summary

• REXX for UNIX• Mainframe compatibility• UNIX-specific extensions• GUI support• Enhanced Trace Mode• Optional S/REXX Debugger product• Integrated with SEDIT

Page 25: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

25 SEDIT & S/REXX

Operating System Support

• SEDIT, S/REXX, and the S/REXX Debugger support:– IBM's AIX– Hewlett Packard's HP/UX– Sun Microsystems' SunOS and Solaris– SiliconGraphics' IRIX– Santa Cruz Operation's (SCO) UNIX– DEC UNIX– PC Unixware– Linux– Windows NT and Windows 95– Other popular UNIX operating systems

Page 26: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

26 SEDIT & S/REXX

Conclusion

• SEDIT, S/REXX, and the S/REXX Debugger are mainframe-caliber tools for UNIX

• Mainframe familiarity with UNIX-specific functionality

• Optional GUI features• Support most popular UNIX operating

systems• Attractively priced, with quantity

discounts available

Page 27: 1 SEDIT & S/REXX SEDIT and S/REXX Mainframe-caliber tools for UNIX Offered by Treehouse Software, Inc.

27 SEDIT & S/REXX