Technical Tips and Techniques

Sentinex Inc. has developed some 'Tips and Techniques' that you might find usefulwhen developing your applications.


 

Hot Tips!

Executing Commands during SEU
Execute commands (or programs) from within SEU using the technique herein.

Capturing Screen Images into Variables
By using User Defined Data Streams (UDDS)it is possible to capture an entire
screen image into a variable.

Work Station Message Ticker
See how to attach a break-handling program to your work-station message
queue and whenever a message arrives it appears moving from right to left along
the status message line at the bottom of the screen, just like a stock-quotes ticker
line. 

Message Queue Break Handling Programs
More on break-handling programs... See how to break into long-running jobs
(even when input inhibited) and execute commands such as WRKACTJOB or even STRDBG!

RPG Special Files
Special files are a means by which RPG programs can handle file types that are not native to the language. When any file operation is performed on a file defined as 'special', such as open, close, read, write, etc, control is passed to a named program to perform the operation.

Status Bar
See how to code a PC style Status Bar to show the status of your long running jobs.

Random Number Generator
There is often a need to generate a random within a specific range of numbers. The code herein shows you how to do it.