View previous topic :: View next topic
|
Author |
Message |
avichal Warnings : 1 New User
Joined: 13 Apr 2007 Posts: 5 Location: india
|
|
|
|
I tried following :-
/*************rexx*************/
A=OUTTRAP('VAR.')
ADDRESS TSO 'WHOHAS' "'T884.PX952F.AVI.PRIVACY.JUN10'"
SAY 'OUTPUT !' VAR.1
A=OUTTRAP(OFF)
SAY 'OUTPUT !' VAR.0
but got the output as :-
T884.PX952F.AVI.PRIVACY.JUN10
Job Name Scope Type Status
-------- ------- ---- --------
OT91434 Systems EXCL Using
OUTPUT ! IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: 00130000
OUTPUT ! 1
*** |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I'm reading this post thinking "and ???". Anyway, to respond to the topic title, I'd say "run it in batch, pointing the SYSTSPRT DD statement to a dataset rather than sysout.".
Beyond that, seeing as WHOHAS isn't a (standard) TSO command, I don't know what you were expecting for results. There are other topics on the same issue of a dataset being in use, and I believe a few offer some other options. |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
If you are using the version of WHOHAS downloaded from the CBT tape it uses TPUT to issue the messages. You will not be able to trap it using OUTTRAP and it will no appear in the SYSTSPRT dd output |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Code: |
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: 00130000 |
You have a line number somewhere where it should not be. |
|
Back to top |
|
|
sai.bhagavatula
New User
Joined: 05 Mar 2007 Posts: 10 Location: Sydney, Australia
|
|
Back to top |
|
|
|