Rolf Drees
2018-03-09 09:16:20 UTC
Dear list,
I want to suppress a REXX-error-message. Following message comes up in my
REXX, running in batch under control if IKJEFT1A in file SYSTSPRT:
19 *-* address link 'dsloadxx' /* load DSNREXX into JPA */
+++ RC(-3) +++
Load DSNREXX into JPA not sucessful, SQL-processing will be slow
I want to suppress the first two lines. I did several tries with TRAPMSG,
OUTTRAP and MSG, but nothing worked.
Here is the code that produces the message:
/* add db2-support to rexx */
address tso 'prof nowtpmsg nointercom'
x = trapmsg('ON')
x = outtrap('dummy.')
x = msg('OFF')
address link 'dsloadxx' /* load DSNREXX into JPA */
if rc <> 0 then say,
'Load DSNREXX into JPA not sucessful, SQL-processing will be slow'
x = msg('ON')
x = outtrap('OFF')
x = trapmsg('OFF')
Is there any way to get control over the RC(-3) message?
Kind regards and thanks in advance
Rolf
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX
I want to suppress a REXX-error-message. Following message comes up in my
REXX, running in batch under control if IKJEFT1A in file SYSTSPRT:
19 *-* address link 'dsloadxx' /* load DSNREXX into JPA */
+++ RC(-3) +++
Load DSNREXX into JPA not sucessful, SQL-processing will be slow
I want to suppress the first two lines. I did several tries with TRAPMSG,
OUTTRAP and MSG, but nothing worked.
Here is the code that produces the message:
/* add db2-support to rexx */
address tso 'prof nowtpmsg nointercom'
x = trapmsg('ON')
x = outtrap('dummy.')
x = msg('OFF')
address link 'dsloadxx' /* load DSNREXX into JPA */
if rc <> 0 then say,
'Load DSNREXX into JPA not sucessful, SQL-processing will be slow'
x = msg('ON')
x = outtrap('OFF')
x = trapmsg('OFF')
Is there any way to get control over the RC(-3) message?
Kind regards and thanks in advance
Rolf
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX