Jump to content

REXX Tips & Tricks:Troubleshooting: Difference between revisions

From EDM2
No edit summary
mNo edit summary
Line 27: Line 27:
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#The_function_FILESPEC.28.29|The function FILESPEC()]]
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#The_function_FILESPEC.28.29|The function FILESPEC()]]
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#The_functions_LINEIN.28.29_and_PULL.28.29|The functions LINEIN() and PULL()]]  
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#The_functions_LINEIN.28.29_and_PULL.28.29|The functions LINEIN() and PULL()]]  
        The REXX API functions  
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#The_REXX_API_functions|The REXX API functions]]
        The function TIME()  
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#The_function_TIME.28.29|The function TIME()]]
        QUEUE names  
** [[REXX_Tips_%26_Tricks:General_hints_for_REXX#QUEUE_names|QUEUE names]]


**'''Object REXX Errors'''
**'''Object REXX Errors'''


        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]]
            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]]
            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]]
            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]]
            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]]
            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'''
**'''Errors in REXXUTIL functions'''
 
*** The function SysCopyObject()
            The function SysCopyObject()
*** The function SysCreateObject()
                The function SysCreateObject()
*** The function SysFileSearch()
                The function SysFileSearch()
*** The function SysIni()
                The function SysIni()
*** The function SysQueryClassList()
                The function SysQueryClassList()
*** The function SysSearchPath()  
                The function SysSearchPath()  


** '''WPS related Errors'''
** '''WPS related Errors'''


                 Format of the RC files for MAKEINI
                 Format of the RC files for MAKEINI
                     Creating shadows of drive objects
                     Creating shadows of drive objects
                     Changing the LaunchPad
                     Changing the LaunchPad
                     WPS Object Setup strings (and the sub sections)
                     WPS Object Setup strings (and the sub sections)



Revision as of 15:54, 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

  • 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