Re: SYSTERM to DSN

2007-06-05 Thread J R
And, at the risk of once more violating O'Brien's Law, I suspect I was right 
that it was the asynchronous responses from the HSM address space that was 
the real problem.




From: "O'Brien, David W. (NIH/CIT) [C]" <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List 
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: SYSTERM to DSN
Date: Tue, 5 Jun 2007 09:49:51 -0400

You were right Mark, the original OP never did post back.



From: Mark Zelden [mailto:[EMAIL PROTECTED]
Sent: Mon 6/4/2007 2:51 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: SYSTERM to DSN



On Mon, 4 Jun 2007 13:41:27 -0400, O'Brien, David W. (NIH/CIT) [C]
<[EMAIL PROTECTED]> wrote:

>Rather than 'suspect', why don't we wait for Daniel to supply the 
requested

information.
>

Not a bad idea.  But...

1) It can make interesting discussion while we all try an figure it out.

2) Many times the OP doesn't post back.

--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group:  G-ITO
mailto:[EMAIL PROTECTED]
z/OS and OS390 expert at http://searchDataCenter.com/ateExperts/
Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


_
Make every IM count. Download Messenger and join the i’m Initiative now. 
It’s free. http://im.live.com/messenger/im/home/?source=TAGHM_June07


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-05 Thread O'Brien, David W. (NIH/CIT) [C]
You were right Mark, the original OP never did post back.



From: Mark Zelden [mailto:[EMAIL PROTECTED]
Sent: Mon 6/4/2007 2:51 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: SYSTERM to DSN



On Mon, 4 Jun 2007 13:41:27 -0400, O'Brien, David W. (NIH/CIT) [C]
<[EMAIL PROTECTED]> wrote:

>Rather than 'suspect', why don't we wait for Daniel to supply the requested
information.
>

Not a bad idea.  But...

1) It can make interesting discussion while we all try an figure it out.

2) Many times the OP doesn't post back.

--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group:  G-ITO
mailto:[EMAIL PROTECTED]
z/OS and OS390 expert at http://searchDataCenter.com/ateExperts/
Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 06/04/2007
   at 10:33 AM, Daniel McLaughlin <[EMAIL PROTECTED]>
said:

>Co-worker running a bunch of commands and jobs that send the output
>back  to his screen. He'd rather have it in a file for editing and
>manipulation. These  are things like various HSM commands. We're
>going crazy with this. Would  some kind soul put us out of our misery
>by revealing the mystery sequence?

Use the TSO Session Manager. It maintains a session history and has
facilities to copy streams to data sets.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see  
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread Paul Gilmartin
On Mon, 4 Jun 2007 10:33:21 -0500, Daniel McLaughlin wrote:

>Co-worker running a bunch of commands and jobs that send the output back
>to his screen. He'd rather have it in a file for editing and manipulation. 
>These
>are things like various HSM commands. We're going crazy with this. Would
>some kind soul put us out of our misery by revealing the mystery sequence?
>
See the archives.  This was discussed here on April 20-21, 2006 under the
Subject: "HL*ST displays output in wrong session".  I was disappointed
at the outcome.  As I see it, IBM simply doesn't care to invest whatever
effort is required to make HSM return its replies properly to the
session making the request.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread Mark Zelden
On Mon, 4 Jun 2007 13:41:27 -0400, O'Brien, David W. (NIH/CIT) [C]
<[EMAIL PROTECTED]> wrote:

>Rather than 'suspect', why don't we wait for Daniel to supply the requested
information.
>

Not a bad idea.  But...

1) It can make interesting discussion while we all try an figure it out.

2) Many times the OP doesn't post back.

--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group:  G-ITO
mailto:[EMAIL PROTECTED]
z/OS and OS390 expert at http://searchDataCenter.com/ateExperts/
Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread J R

Oops!  It seems I've violated O'Brien's law of forum decorum.
Please accept my humble apologies.



From: "O'Brien, David W. (NIH/CIT) [C]" <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List 
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: SYSTERM to DSN
Date: Mon, 4 Jun 2007 13:41:27 -0400

Rather than 'suspect', why don't we wait for Daniel to supply the requested 
information.




From: J R [mailto:[EMAIL PROTECTED]
Sent: Mon 6/4/2007 1:25 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: SYSTERM to DSN



I suspect that the immediate command responses are not
the ones at issue.  There are also the asynchronous ones
emanating from the HSM address space.  In this case, the
solution proposed by Lizette may be a better approach.


>From: "O'Brien, David W. (NIH/CIT) [C]" <[EMAIL PROTECTED]>
>Reply-To: IBM Mainframe Discussion List 
>To: IBM-MAIN@BAMA.UA.EDU
>Subject: Re: SYSTERM to DSN
>Date: Mon, 4 Jun 2007 12:52:34 -0400
>
>Daniel,
>
>   Could you supply more info as to what HSM commands are involved? Some
>such as HLIST lend themselves to output datasets - see ODS parameter.
>
>Others such as Delete, Bdelete, Rceall and Recover don't support ODS and
>are better served submitting in batch via IKJEFT01.
>
>
>



_
Don’t miss your chance to WIN $10,000 and other great prizes from Microsoft 
Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread O'Brien, David W. (NIH/CIT) [C]
Rather than 'suspect', why don't we wait for Daniel to supply the requested 
information.



From: J R [mailto:[EMAIL PROTECTED]
Sent: Mon 6/4/2007 1:25 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: SYSTERM to DSN



I suspect that the immediate command responses are not
the ones at issue.  There are also the asynchronous ones
emanating from the HSM address space.  In this case, the
solution proposed by Lizette may be a better approach.


>From: "O'Brien, David W. (NIH/CIT) [C]" <[EMAIL PROTECTED]>
>Reply-To: IBM Mainframe Discussion List 
>To: IBM-MAIN@BAMA.UA.EDU
>Subject: Re: SYSTERM to DSN
>Date: Mon, 4 Jun 2007 12:52:34 -0400
>
>Daniel,
>
>   Could you supply more info as to what HSM commands are involved? Some
>such as HLIST lend themselves to output datasets - see ODS parameter.
>
>Others such as Delete, Bdelete, Rceall and Recover don't support ODS and
>are better served submitting in batch via IKJEFT01.
>
>
>

_
Like puzzles? Play free games & earn great prizes. Play Clink now.
http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread J R

I suspect that the immediate command responses are not
the ones at issue.  There are also the asynchronous ones
emanating from the HSM address space.  In this case, the
solution proposed by Lizette may be a better approach.



From: "O'Brien, David W. (NIH/CIT) [C]" <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List 
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: SYSTERM to DSN
Date: Mon, 4 Jun 2007 12:52:34 -0400

Daniel,

  Could you supply more info as to what HSM commands are involved? Some 
such as HLIST lend themselves to output datasets - see ODS parameter.


Others such as Delete, Bdelete, Rceall and Recover don't support ODS and 
are better served submitting in batch via IKJEFT01.






_
Like puzzles? Play free games & earn great prizes. Play Clink now. 
http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread Larry Burch
And many/most commands that might not support ODS *can* be initiated with 
an HSEND command (using pgm=IKJEFT01), which *does* provide the ODS 
facility.

(I've just now reviewed/rediscovered some of my "HSEND FIXCDS ... ODS
(...)" and  "HSEND  RECYCLE   ODS(...)" commands from last January!)



On Mon, 4 Jun 2007 12:52:34 -0400, O'Brien, David W. (NIH/CIT) [C] 
<[EMAIL PROTECTED]> wrote:

>Daniel,
> 
>  Could you supply more info as to what HSM commands are involved? Some 
such as HLIST lend themselves to output datasets - see ODS parameter.
> 
>Others such as Delete, Bdelete, Rceall and Recover don't support ODS and 
are better served submitting in batch via IKJEFT01. 
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread O'Brien, David W. (NIH/CIT) [C]
Daniel,
 
  Could you supply more info as to what HSM commands are involved? Some such as 
HLIST lend themselves to output datasets - see ODS parameter.
 
Others such as Delete, Bdelete, Rceall and Recover don't support ODS and are 
better served submitting in batch via IKJEFT01. 




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread Larry Burch
The HSM's command may be directed to a file:

 HLIST  LEVEL(ABC)  OUTDATASET(hsm.list.dsname)

The DISP= appears to always be "mod", so multiple jobs could use the same 
file.  There might be file contention situations, undesired out-of-orderness, 
etc.


On Mon, 4 Jun 2007 11:41:12 -0400, O'Brien, David W. (NIH/CIT) [C] 
<[EMAIL PROTECTED]> wrote:

>Danial,
> 
>  Instead of executing HSM commands, submit them as input to IKJEFT01. 
sample below
> 
>//MIGDB2 JOB (ZZXZ,112,L,99),'HSM BATCH MIGRATE',  
>//  USER=,NOTIFY=,MSGCLASS=
>//*
>//*
>//**  BATCH TSO
>//**   
>//*
>//*
>//STEP1   EXEC PGM=IKJEFT01,   
>// REGION=4000K
>//*
>//SYSTSPRT  DD SYSOUT=*
>//SYSUDUMP  DD SYSOUT=*
>//*
>//SYSTSIN   DD *   
>HRECALL 'DSNDCAT1.DSNDBC.$THU.TESTRTBL.I0001.A001' NOWAIT  
>HRECALL 'DSNDCAT1.DSNDBC.ACMDB.TSACTCOD.I0001.A001' NOWAIT
> 
>   
>
>________
>
>From: Daniel McLaughlin [mailto:[EMAIL PROTECTED]
>Sent: Mon 6/4/2007 11:33 AM
>To: IBM-MAIN@BAMA.UA.EDU
>Subject: SYSTERM to DSN
>
>
>
>Co-worker running a bunch of commands and jobs that send the output back
>to his screen. He'd rather have it in a file for editing and manipulation. 
>These
>are things like various HSM commands. We're going crazy with this. Would
>some kind soul put us out of our misery by revealing the mystery sequence?
>
>Muchly appreciated...
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread Lizette Koehler
You did not say which DFSMShsm commands are being used.  For HRECALL or HRECOV 
you may have to find a way to "trap" the output like in REXX.  For others like 
TTOC you can send it to a data set directly.

For some reason, HSM just loves to send things back to the TSO ID.  

One thought I had was to hold the brodcasts till ready.  But to do this you 
should have your own User Broadcast data set.  If your "SEND" messages like in 
something like SYS1.BRODCAST then you probably cannot do this.  If it is in 
TSOID.brodcast - you can.

>From anywhere in TSO or ISPF list your TSO PROFILE.  (Opt 6 in ISPF - TSO 
>PROF)  See if you have the following:  WTPMSG, INTERCOM, MSGID.  If you do 
>then you can probably turn mail off so it is held in the TSO Brodcast data 
>set.  Then you can browse or view your brodcast data set and copy the 
>information to somewhere else.

Use:  TSO PROF NOWTPMSG NOINTERCOM
Next logon to TSO again but on the panel where you enter your Password go to 
the bottom and select NOMAIL.


Hope this helps.

Lizette

>
>Co-worker running a bunch of commands and jobs that send the output back 
>to his screen. He'd rather have it in a file for editing and manipulation. 
>These 
>are things like various HSM commands. We're going crazy with this. Would 
>some kind soul put us out of our misery by revealing the mystery sequence?
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SYSTERM to DSN

2007-06-04 Thread O'Brien, David W. (NIH/CIT) [C]
Danial,
 
  Instead of executing HSM commands, submit them as input to IKJEFT01. sample 
below
 
//MIGDB2 JOB (ZZXZ,112,L,99),'HSM BATCH MIGRATE',  
//  USER=,NOTIFY=,MSGCLASS=
//*
//*
//**  BATCH TSO
//**   
//*
//*
//STEP1   EXEC PGM=IKJEFT01,   
// REGION=4000K
//*
//SYSTSPRT  DD SYSOUT=*
//SYSUDUMP  DD SYSOUT=*
//*
//SYSTSIN   DD *   
HRECALL 'DSNDCAT1.DSNDBC.$THU.TESTRTBL.I0001.A001' NOWAIT  
HRECALL 'DSNDCAT1.DSNDBC.ACMDB.TSACTCOD.I0001.A001' NOWAIT
 
   



From: Daniel McLaughlin [mailto:[EMAIL PROTECTED]
Sent: Mon 6/4/2007 11:33 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: SYSTERM to DSN



Co-worker running a bunch of commands and jobs that send the output back
to his screen. He'd rather have it in a file for editing and manipulation. These
are things like various HSM commands. We're going crazy with this. Would
some kind soul put us out of our misery by revealing the mystery sequence?

Muchly appreciated...

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


SYSTERM to DSN

2007-06-04 Thread Daniel McLaughlin
Co-worker running a bunch of commands and jobs that send the output back 
to his screen. He'd rather have it in a file for editing and manipulation. 
These 
are things like various HSM commands. We're going crazy with this. Would 
some kind soul put us out of our misery by revealing the mystery sequence?

Muchly appreciated...

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html