Jump to content

REXX Tips & Tricks:Troubleshooting: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 1: Line 1:
his section contains hints for some REXX errors, symptoms, and messages. Note that a lot of hints in this section are captured from CompuServe messages.
his section contains hints for some REXX errors, symptoms, and messages. Note that a lot of hints in this section are captured from CompuServe messages.


In addition to the tips mentioned below I suggest everyone having problems with REXX programs should get the new [REXX Tips & Tricks:Hints for Object REXX|Object-Oriented REXX]. Object-Oriented REXX has much more descriptive error messages and the documentation is better than the normal REXX online documentation.
In addition to the tips mentioned below I suggest everyone having problems with REXX programs should get the new [[REXX Tips & Tricks:Hints for Object REXX|Object-Oriented REXX]]. Object-Oriented REXX has much more descriptive error messages and the documentation is better than the normal REXX online documentation.


Another good source for Troubleshooting information is the Common REXX Pitfalls page on the home page of Quercus Systems (see Internet - Web Pages)
Another good source for Troubleshooting information is the Common REXX Pitfalls page on the home page of Quercus Systems (see Internet - Web Pages)

Revision as of 00:55, 14 December 2012

his section contains hints for some REXX errors, symptoms, and messages. Note that a lot of hints in this section are captured from CompuServe messages.

In addition to the tips mentioned below I suggest everyone having problems with REXX programs should get the new Object-Oriented REXX. Object-Oriented REXX has much more descriptive error messages and the documentation is better than the normal REXX online documentation.

Another good source for Troubleshooting information is the Common REXX Pitfalls page on the home page of Quercus Systems (see Internet - Web Pages)

Note that the information related to various APARs is included in the sections General hints for REXX, REXXUTIL functions and Change the WPS with REXX. See those sections for additionanl information.

Here's a list of further sections in REXX Tips & Tricks with information about various errors:

Errors in OS/2 commands

  • CTRL-Break &OS/2 commands
  • STDOUT / STDERR
  • Using PIPEs
  • The CMD command
  • The COPY command
  • Copying empty files
  • The XCOPY command

General REXX Errors

       The keyword instruction CALL 
       The keyword instruction SIGNAL 
       The function DIRECTORY() 
       The function FILESPEC() 
       The functions LINEIN() and PULL() 
       The REXX API functions 
       The function TIME() 
       QUEUE names 
    • Object REXX Errors
       The function CHARS() in Object REXX 
           The function LINEOUT() in Object REXX
           The function LINES() in Object REXX
           The function STREAM() in Object REXX
           The function VALUE() in Object REXX
           The Signal handling in Object REXX 
    • Errors in REXXUTIL functions
           The function SysCopyObject() �
               The function SysCreateObject() �
               The function SysFileSearch() �
               The function SysIni() �
               The function SysQueryClassList() �
               The function SysSearchPath() 
    • WPS related Errors
               Format of the RC files for MAKEINI �
                   Creating shadows of drive objects �
                   Changing the LaunchPad �
                   WPS Object Setup strings (and the sub sections)


No light, no sound

RC = 1041 or RC = 1002

It runs, runs not, runs, runs not, ...

What the hell is he doing?

Haeaeh -- Syntax error?

2 + 2 = 5

DLL loading failed

SYS1801

REX0003: Program is unreadable

1 +++ @REXX g + ? OS / 2 REXXSAA 6.00 12 Jul 1995

Error: Failure during initialization

SYS0008

Example for the SYS0008 error

Workaround for the SYS0008 error

SYS0008 - 2 -

REXX programs without an extension

SYS0192 or SYS0008 using PIPEs

SYS0005: Access is denied

SYS0317: The system cannot find message 32799 in message file OSO001.MSG

EXPOSE does not work as expected