Server Guide
Server Guide
Preface
Notices
Trademarks
About this book
Who this book is for
What's new?
Conventions used in this book
Tell us what you think
Developing server applications
Introducing VAST Server
The Smalltalk development environment
The Smalltalk cross development environment
Using passive images
Keeping an image and its runtime code in sync
Maintaining Smalltalk code between development and passive images
Recovering when the development image crashes
Preparing projects for cross development
Examining a subapplication's configuration expressions
Resolving global references
Referring to the Smalltalk dictionary
Referring to the current image
Referring to the current image's Smalltalk dictionary
Declaring pool dictionaries, pool constants and globals
Referring to a global in the current image
Referring to a subsystem type in the current image
Examining the application's toBeLoadedCode and wasRemovedCode
Examining the loaded and initializeAfterLoad code
Project design hints for server platforms
Developing projects for native server environments
Making applications headless
Handling processes concurrently
Loading sample Applications
Using Smalltalk to develop CICS applications
Accessing CICS services using Smalltalk
Invoking CICS commands from Smalltalk
Finding output when using the Transcript class
Testing for error conditions
Developing a CICS application
Developing your CICS application on the workstation
Using call-in support
Supported environments
Functions provided
Application design considerations
Workstation environment
Server execution environments
Supported languages and environments
Building your application
Function descriptions
Building your application for Windows or UNIX
Using call-out support (inter-language communication)
Example call to a COBOL application
Packaging server applications
Step 1: Establishing prerequisites
Step 2: Releasing all classes to your Application(s)
Packaging a Smalltalk image
Managing packaging instructions
Packaging Steps
How to…
Create the passive image
Set the current image
Load code into the passive image
Set up the development and target environments for interactive debug
Packaging your project as a single module
Step 3: Making the passive image the current image
Step 4: Loading your project into the passive image
Step 5: Producing the packaged single image
Browse Packaged Images
Create New Instructions
Modify Instructions
Reduce
Examine & Fix Problems
Save Instructions
Output Image
Close packager
Versioning packaging instructions
Example: Simple Single Module Packaging
Example: Seaside HelloWorld Single Module Packaging
Example: Seaside Traffic Light Single Module Packaging
Packaging into image components
Multiple (reusable/leaf) IC packaging for other server environments
Packaging a base or reusable module
Browse Packaged Images
Create New Instructions
Modify Instructions
Reduce
Examine & Fix Problems
Save Instuctions
Output Image
Close packager
Packaging a dependent or leaf module
Browse Packaged Images
Create New Instructions
Modify Instructions
Reduce
Examine & Fix Problems
Save Instructions
Output Image
Close packager
Automated XD Building
Testing server applications
Running a packaged image
Running Hello World
Running Seaside Hello World
Running Seaside Traffic Light
Debugging Smalltalk errors
Using the stack trace
Using the stack dump debugger
Viewing a stack dump in Smalltalk
Writing a stack dump exception routine
Using the interactive debugger
Setting up the Smalltalk interactive debug facility
Initiating the interactive debugger
Using the interactive debugger Transcript
Changing methods during debugging
Disconnecting the interactive debugger
Deploying server applications
Deploying server applications on CICS
Deploying on TXSeries for Multiplatforms
Adding your application to Windows Services
Making your application into a Windows Service
Appendixes
Appendix A. DB2 SQL error codes
Appendix B. CICS Smalltalk classes
ABEND command
ADDRESS command
ALLOCATE command
ASKTIME command
ASSIGN command
CANCEL command
CONNECT PROCESS command
CONVERSE command
DELAY command
DELETE command
DELETEQ TD command
DELETEQ TS command
DEQ command
ENDBR command
ENQ command
EXTRACT ATTRIBUTES command
EXTRACT PROCESS command
FORMATTIME command
FREE command
FREEMAIN command
GETMAIN command
INQUIRE FILE command
INQUIRE PROGRAM command
INQUIRE TDQUEUE command
INQUIRE TRANSACTION command
ISSUE ABEND command
ISSUE CONFIRMATION command
ISSUE ERROR command
ISSUE SIGNAL command
LINK command
LOAD command
READ command
READNEXT command
READPREV command
READQ TD command
READQ TS command
RECEIVE command
RECEIVE (APPC) command
RESETBR command
RETRIEVE command
RETURN command
REWRITE command
SEND command
SEND (APPC) command
SEND CONTROL command
SEND TEXT command
SET FILE command
SET FILE CLOSED command
SET FILE DISABLED command
SET FILE ENABLED command
SET FILE OPEN command
SET TDQUEUE command
START command
STARTBR command
SUSPEND command
SYNCPOINT command
UNLOCK command
WAIT CONVID command
WRITE command
WRITEQ TD command
WRITEQ TS command
XCTL command
CICS class
CICSTTY class
Appendix C. CICS return codes