View previous topic :: View next topic
|
Author |
Message |
passion_sujesh
New User
Joined: 14 Mar 2008 Posts: 74 Location: India,Chennai
|
|
|
|
Hi,
I have coded a rexx program to sort an input file and create a new output file based on required condition. This is working fine if the sort card details are correct. But if there are any issues in the sort card it is displaying the symptom dump messages in the screen. I want to suppress the error dump message from being displayed in the screen, Is it possible to suppress the dump message from being displayed in the screen.
My ultimate aim is to prevent any dump message from being displayed in the screen.
My Code:
/* REXX */
ADDRESS TSO
"ALLOC F(SORTIN) DA('XXX.INPUT') SHR REUSE"
"ALLOC F(SORTOUT) DA('YYY.OUTPUT') SHR REUSE"
"ALLOC F(SYSIN) DA('ZZZ.SYSIN') SHR REUSE"
"ALLOC F(SYSOUT) DA('AAAA.SYSOUT') SHR REUSE"
"CALL *(SORT)"
IF RC /= 0 THEN DO
SAY 'ERROR OCCURED ' RC
END
Symptom dump message displayed:
IEA995I SYMPTOM DUMP OUTPUT
USER COMPLETION CODE=0007
TIME=04.51.09 SEQ=11111 CPU=0000 ASID=001234
PSW AT TIME OF ERROR 0345f3000 000v45874 ILC 2 INTC 0D
Can any one help me in solving this.
Thanks,
Sujesh. |
|
Back to top |
|
|
rick
New User
Joined: 18 Jun 2004 Posts: 59 Location: Chennai
|
|
|
|
Try redirecting SYSDUMP to a any other device. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
My ultimate aim is to prevent any dump message from being displayed in the screen. |
But I think you should still let the user know that something went wrong. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
...But if there are any issues in the sort card it is displaying the symptom dump messages... |
I think you should attack this problem from the 'prevention' side, rather than from the 'hiding the evidence' side. |
|
Back to top |
|
|
passion_sujesh
New User
Joined: 14 Mar 2008 Posts: 74 Location: India,Chennai
|
|
|
|
Hi Pedro/rick,
Thanks for your suggestion. Is it possible to move the dump message into seperate file instead of displaying all the dump message on the screen itself. Currently if there is any issue in the sort card the entire screen is populated with the dump message. I feel moving the dump to a seperate file will prevent this. Can you please suggest on this. If it is possible to move the dump message to a file, can you please tell me how to do this?
Thanks in advance.
Sujesh. |
|
Back to top |
|
|
|