Jump to content

REXX Tips & Tricks:Troubleshooting: Difference between revisions

From EDM2
mNo edit summary
No edit summary
Line 10: Line 10:


'''Errors in OS/2 commands'''
'''Errors in OS/2 commands'''
 
* [[REXX Tips & Tricks:General hints for OS/2 & DOS commands:CTRL-Break &OS/2 commands|REXX Tips & Tricks:General hints for OS/2 & DOS commands:CTRL-Break &OS/2 commands]]
* CTRL-Break &OS/2 commands
* [[REXX Tips & Tricks:General hints for OS/2 & DOS commands:STDOUT / STDERR|REXX Tips & Tricks:General hints for OS/2 & DOS commands:STDOUT / STDERR]]
* STDOUT / STDERR
* [[REXX Tips & Tricks:General hints for OS/2 & DOS commands:Using PIPEs|REXX Tips & Tricks:General hints for OS/2 & DOS commands:Using PIPEs]]
* Using PIPEs
* [[REXX Tips & Tricks:General hints for OS/2 & DOS commands:The CMD command|REXX Tips & Tricks:General hints for OS/2 & DOS commands:The CMD command]]
* The CMD command
* [[REXX Tips & Tricks:General hints for OS/2 & DOS commands:The COPY command|REXX Tips & Tricks:General hints for OS/2 & DOS commands:The COPY command]]
* The COPY command
* [[REXX Tips & Tricks:General hints for OS/2 & DOS commands:Copying empty files|REXX Tips & Tricks:General hints for OS/2 & DOS commands:Copying empty files]]
* Copying empty files
* [[REXX Tips & Tricks:General hints for OS/2 & DOS commands:The XCOPY command|REXX Tips & Tricks:General hints for OS/2 & DOS commands:The XCOPY command]]
* The XCOPY command  


'''General REXX Errors'''
'''General REXX Errors'''
* [[REXX_Tips_%26_Tricks:General_hints_for_REXX#DO_loops|DO loops]]
* [[REXX_Tips_%26_Tricks:General_hints_for_REXX#DO_loops|DO loops]]
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#The_keyword_instruction_CALL|The keyword instruction CALL]]  
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#The_keyword_instruction_CALL|The keyword instruction CALL]]  
Line 31: Line 29:
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#QUEUE_names|QUEUE names]]
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#QUEUE_names|QUEUE names]]


**'''Object REXX Errors'''
'''Object REXX Errors'''
 
* [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_CHARS.28.29_in_Object_REXX|The function CHARS() in Object REXX]]
*** [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_CHARS.28.29_in_Object_REXX|The function CHARS() in Object REXX]]
* [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_LINEOUT.28.29_in_Object_REXX|The function LINEOUT() in Object REXX]]
*** [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_LINEOUT.28.29_in_Object_REXX|The function LINEOUT() in Object REXX]]
* [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_LINES.28.29_in_Object_REXX|The function LINES() in Object REXX]]
*** [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_LINES.28.29_in_Object_REXX|The function LINES() in Object REXX]]
* [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_STREAM.28.29_in_Object_REXX|The function STREAM() in Object REXX]]
*** [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_STREAM.28.29_in_Object_REXXThe function STREAM() in Object REXX]]
* [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_VALUE.28.29_in_Object_REXX|The function VALUE() in Object REXX]]
*** [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_function_VALUE.28.29_in_Object_REXX|The function VALUE() in Object REXX]]
* [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_Signal_handling_in_Object_REXX|The Signal handling in Object REXX]]  
*** [[REXX_Tips_%26_Tricks:Hints_for_Object_REXX#The_Signal_handling_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'''
'''Errors in REXXUTIL functions'''
* [[REXX Tips & Tricks:REXXUTIL functions:The function SysCopyObject()|The function SysCopyObject()]]
* [[REXX Tips & Tricks:REXXUTIL functions:The function SysCreateObject()|The function SysCreateObject()]]
* [[REXX Tips & Tricks:REXXUTIL functions:The function SysFileSearch()|The function SysFileSearch()]]
* [[REXX Tips & Tricks:REXXUTIL functions:The function SysIni()|The function SysIni()]]
* [[REXX Tips & Tricks:REXXUTIL functions:The function SysQueryClassList()|The function SysQueryClassList()]]
* [[REXX Tips & Tricks:REXXUTIL functions:The function SysSearchPath()|The function SysSearchPath()]]


                Format of the RC files for MAKEINI
'''WPS related Errors'''
                    Creating shadows of drive objects
* [[REXX Tips & Tricks:Change the WPS with REXX:Format of the RC files for MAKEINI|Format of the RC files for MAKEINI]]
                    Changing the LaunchPad
* [[REXX Tips & Tricks:Change the WPS with REXX:Creating shadows of drive objects|Creating shadows of drive objects]]
                    WPS Object Setup strings (and the sub sections)
* [[REXX Tips & Tricks:Change the WPS with REXX:Changing the LaunchPad|Changing the LaunchPad]]
* [[REXX Tips & Tricks:Change the WPS with REXX:WPS Object Setup strings (and the sub sections)|WPS Object Setup strings (and the sub sections)]]





Revision as of 16:01, 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 additionan information.

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

Errors in OS/2 commands

General REXX Errors

Object REXX Errors

Errors in REXXUTIL functions

WPS related Errors


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