Jump to content

REXX Tips & Tricks:Troubleshooting

From EDM2
Revision as of 15:54, 14 December 2012 by Martini (talk | contribs)

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 additionan 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

    • Object REXX Errors
    • 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