Author Topic: OS/2 Books - Samples Companion Disks  (Read 617 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 368
  • -Receive: 72
  • Posts: 2276
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
OS/2 Books - Samples Companion Disks
« on: May 15, 2019, 12:06:07 am »
Hi

I'm trying to collect the samples (companion diskettes) of some old OS/2 books about software development.
I have the list of books here on the EDM/2 wiki.

If you happen to have the diskette or know the download link of the missing ones, please let me know (privately or here).

Regards
« Last Edit: May 17, 2019, 12:34:23 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

André Heldoorn

  • Hero Member
  • *****
  • Thank You
  • -Given: 62
  • -Receive: 16
  • Posts: 568
    • View Profile
Re: OS/2 Books - Samples Companion Disks
« Reply #1 on: May 16, 2019, 09:42:14 pm »
With http instead of https, one of the listed books is Teach Yourself REXX in 21 Days. This is nothing but a book, but IIRC the book's sample apps were available digitally later. I've uploaded an unverified TYSR21.ZIP to Hobbes.

Its README.TXT:

Code: [Select]
Teach Yourself REXX in 21 Days
by William F. Schindler and Esther Schindler


These files are the REXX programming examples used throughout the book.
The filesnames correspond to the listing number; for example, listing
number 5 in Day 7 is LIST0705.CMD.

For more information about the book, see the CONTENTS.TXT file, which
contains the complete Table of Contents for the book.

And its (off-topic) CONTENTS.TXT, FWIW:

Code: [Select]
Teach Yourself REXX in 21 Days
by William F. Schindler and Esther Schindler

Table of Contents


How To Use This Book
    Special Features of This Book
    Conventions Used in This Book

Day 1
  Getting Started
    History of REXX
    Benefits of Using REXX
      Ease of Use
      Built-in Functions
      Free with OS/2
      Customizes and Extends OS/2
    Comparing REXX Programs to Batch Files
    Preparation
    Developing REXX Programs
      Design
      Code
      Test and Debug
    Writing Your First REXX Program
      Entering and Running HELLO.CMD
      Understanding Errors
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 2
  REXX Ground Rules
    A Simple REXX Program
    Structure of a REXX Program
      Program Comments (Lines 1, 3, 15)
      Instructions (Lines 3-9, 11, 15, 18-21)
        IF ... THEN ... ELSE (Lines 3, 5, 19)
        PARSE ARG (Line 4)
        DO ... END (Lines 6, 9)
        SAY (Line 7)
        PULL (Line 8)
        CALL (Line 11)
        EXIT (Line 15)
      A Procedure (Lines 18-21)
      Commands (Line 13)
    Indenting, Formatting, and Style
    Entering and Running the Program
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 3
  Variables and Constants
    Using Computer Memory
    Strings
    Numbers
    Variables
      Variable Names
    Types of Data
      Using Datatype
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 4
  Instructions, Expressions, and Operators
    Instructions and Expressions
      Keyword Instructions
      Clauses
      Expressions
      Operators
      Putting It All Together
    Assignments
      Assignment
    Labels
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 5
  Arithmetic
    Arithmetic Operators
    Addition
    Subtraction
    Negation
    Multiplication
    Division
    Power
    Order of Evaluation
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 6
  Executing System Commands
    Accessing OS/2's Commands
      Using Variables with Commands
      Replacing Commands with REXX Instructions
        The Directory Function
        The SAY Instruction
        The SetLocal and EndLocal Functions
        The PULL Instruction
    Converting Existing Batch Files
    Return Codes
        Generating a Return Code
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 7
  Basic Input/Output
    Displaying Text and Numbers
      Formatting Numbers
    Getting Input
      The PULL Instruction
      The ARG Instruction
    Usage and Help Messages
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Week 1
  in Review
    The Week in Review--Week 1

Day 8
  Making Decisions
    Program Control
    Using Relational and Logical Operators
      Logical Operators
      Relational and Logical Operator Precedence
    The IF Instruction
      Nesting IF Instructions
      Formatting and Style Using IF
    The ELSE Instruction
      Nesting With the ELSE Instruction
    Grouping Instructions
    The SELECT Instruction
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 9
  Manipulating Strings
    Getting the Length
    Making Conversions
      Using the Translate Function
      Using the Strip Function
      Using the Reverse Function
      Decimal and Hexadecimal Conversions
    Concatenation
    Using Relational Operators with Strings
    A Last Word On Operator Precedence
    Cutting Strings
      Character-Based Substrings
      Word-Based Substrings
      Using the Substring Functions
    Searching
    Parsing Strings
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 10
  Testing and Debugging
    Techniques and Tools
    Testing
      Fertile Areas for Testing
    The TRACE Instruction
    Trapping Errors with SIGNAL
      Syntax Trapping as a Programming Aid
    Using PMREXX
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 11
  Using Loops
    Repeating a Group of Instructions
      Types of Loops
      A Basic Loop
    Using WHILE and UNTIL
    Counting Through a Loop
    Infinite Loops
    Exiting and Continuing Loops
    DO Instruction Syntax
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 12
  Compound Variables
    Introducing Compound Symbols
    Arrays
      Multi-dimensional Arrays
    Structures
      Arrays and Structures
      Associative Memory
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 13
  Dealing with User Input
    Prompts and Arguments
      Help and Hand Holding
      Using Sound
      Using Color
      Using Arguments
    Checking Input
    Defensive Programming
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 14
  Using Subroutines
    Introducing Subroutines
      Using Arguments
      Designing For Subroutines
      Creating Your Own Subroutines
    Controlling Visibility
    Functions
      Using Recursion
    External REXX Procedures
    Procedure Search Order
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Week 2
  in Review
    The Week in Review--Week 2

Day 15
  File Input/Output
    Introducing Input/Output Streams
    Reading and Writing Lines
    Reading and Writing Characters
    The STREAM Function
    Accessing Other Devices
    Techniques
      Trapping Input and Output Errors
      Creating Filters
      Printing
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 16
  Introducing RexxUtil Functions
    RexxUtil and Other External Libraries
    Registering External Functions
    A Simple Menu
      Processing Individual Keys
      Positioning and Hiding the Cursor
      Creating the Menu
    Creating A User Input Dialog
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 17
  More RexxUtil Functions
    Drives, Directories, and Files
      Getting Information About Drives
      Making and Removing Directories
      Getting Directory Listings
      Searching for Text in Files
      Deleting Files
    Extended Attributes
    Accessing and Modifying INI Files
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 18
  Creating Workplace Shell Objects
    Types of WPS Objects
      Creating Font Palettes and Color Palettes
    Creating Folders
    Creating Shadows
    Creating Program Objects
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 19
  Manipulating Workplace Shell Objects
    Deleting an Object
    Enumerating WPS Objects
      Finding Folders and the Desktop
      Getting a List of Object IDs
    Open on Command
    Updating Settings
    Icons and Backgrounds
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 20
  Extending OS/2 Applications
    REXX as a Macro Language
    Extending the Enhanced Editor
      Introducing EPM REXX Macros
      Writing an EPM REXX Macro
      Processing and Defining Keys
      Creating Menus
      Using the Mouse
      Creating a Profile
    Other Applications That Use REXX
      LiveWire
      DeScribe 4.1
      AmiPro
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Day 21
  Interprocess Communications
    Files as Semaphores
    Named Pipes
    Queues
    Summary
    Q&A
    Workshop
      Quiz
      Exercises

Week 3
  in Review
    The Week in Review--Week 3

Appendix A
  Installing REXX

Appendix B
  Visual REXX Tools
    Gpf GpfREXX
    Hockware VisPro/REXX
    Watcom VX-REXX

Appendix C
  The Future of REXX
    Understanding the Benefits of Object REXX
    Simplifying WPS Access
    Improved Development Tools
    Summary

Appendix D
  Standard Workplace Shell Objects

Appendix E
  Key Codes Returned by SysGetKey
    Key Codes for the Main Keyboard
    Key Codes for the Function Keys
    Key Codes for the Cursor Pad
    Key Codes for the Numeric Keypad

Appendix F
  Answers
      Day 1, Getting Started
      Day 2, REXX Ground Rules
      Day 3, Variables and Constants
      Day 4, Instructions, Expressions, and Operators
      Day 5, Arithmetic
      Day 6, Executing System Commands
      Day 7, Basic Input/Output
      Day 8, Making Decisions
      Day 9, Manipulating Strings
      Day 10, Debugging
      Day 11, Using Loops
      Day 12, Stem Variables
      Day 13, Dealing with User Input
      Day 14, Using Subroutines
      Day 15, File Input/Output
      Day 16, Introducing RexxUtil Functions
      Day 17, More RexxUtil Functions
      Day 18, Creating Workplace Shell Objects
      Day 19, Manipulating Workplace Shell Objects
      Day 20, Extending OS/2 Applications
      Day 21, Interprocess Communications

Appendix G
  Using the Enhanced Editor
    Getting Set Up
      Finding the Enhanced Editor
      Creating An EPM Book
      Starting EPM and Changing the Font
      Enabling the Edit Ring
      Saving the Settings
    Programming With EPM
      Creating a New File
      Loading an Existing File
      Saving a File to Disk
      Exiting EPM
      Using Syntax Expansion
      Entering EPM Commands
    Creating a Profile
    EPM Keys Mini Reference

Appendix H
  REXX Keyword and Function Reference
« Last Edit: May 16, 2019, 10:03:23 pm by André Heldoorn »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 368
  • -Receive: 72
  • Posts: 2276
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Books - Samples Companion Disks
« Reply #2 on: May 17, 2019, 12:35:01 am »
With http instead of https, ....

Thanks, I corrected that on the post.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 368
  • -Receive: 72
  • Posts: 2276
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: OS/2 Books - Samples Companion Disks
« Reply #3 on: May 17, 2019, 03:34:43 am »
Thanks André. I had updated the link on the wiki and the table of contacts on the OpenLibrary.org.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

André Heldoorn

  • Hero Member
  • *****
  • Thank You
  • -Given: 62
  • -Receive: 16
  • Posts: 568
    • View Profile
Re: OS/2 Books - Samples Companion Disks
« Reply #4 on: May 17, 2019, 09:34:56 am »
Oh, and the number of authors of this book is 2. Not just William (F.) Schindler (REXX-table, column Authors).

IIRC Esther Schindler actually was the rather active member of the OS/2 Rexx community. Offline and online. This page already gets it right: http://www.edm2.com/index.php/Esther_Schindler
« Last Edit: May 17, 2019, 09:36:30 am by André Heldoorn »

Doug Clark

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 7
  • Posts: 157
    • View Profile
Re: OS/2 Books - Samples Companion Disks
« Reply #5 on: May 20, 2019, 12:35:22 am »
Martin,

Please send me your email contact - thanks, got it.
« Last Edit: May 20, 2019, 05:41:45 am by Doug Clark »