We have a requirement in our shop. All the members that were changed in a
dataset from any specific Date needs to be identified, and ported over to a
remote FTP site periodically. We need a utility that will scan a given PDS
for members that were changed between a specific date and then copy those
members alone to another temp dataset. Can this be done thru rexx? Would
appreciate any help.
regards
Stephen
_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN.
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
At 09:03 PM 10/29/2002 +0000, Stephen Waugh said:
>Fellow Listers,
>
>We have a requirement in our shop. All the members that were changed in a
>dataset from any specific Date needs to be identified, and ported over to a
>remote FTP site periodically. We need a utility that will scan a given PDS
>for members that were changed between a specific date and then copy those
>members alone to another temp dataset. Can this be done thru rexx? Would
>appreciate any help.
>
>regards
>Stephen
----------------------------------------------------------------------
Don Imbriale
dimb...@bear.com <mailto:dimb...@bear.com>
"Mainframe - An obsolete device still used by thousands of obsolete
companies, serving billions of obsolete customers, and making huge obsolete
profits, for their obsolete shareholders. And this year's mainframes run
twice as fast as last year's."
-----Original Message-----
From: Stephen Waugh [SMTP:steve_ma...@HOTMAIL.COM]
Sent: Tuesday, October 29, 2002 16:04
To: TSO-...@VM.MARIST.EDU
Subject: PDS members modified after any specific date
Fellow Listers,
We have a requirement in our shop. All the members that were changed in a
dataset from any specific Date needs to be identified, and ported over to a
remote FTP site periodically. We need a utility that will scan a given PDS
for members that were changed between a specific date and then copy those
members alone to another temp dataset. Can this be done thru rexx? Would
appreciate any help.
regards
Stephen
_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN.
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************
Stephen
>From: Jim Harrison <ji...@QIS.NET>
>Reply-To: TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
>To: TSO-...@VM.MARIST.EDU
>Subject: Re: PDS members modified after any specific date
>Date: Tue, 29 Oct 2002 16:27:05 -0500
>
>Sound do-able if you are keeping ISPF stats on the members. Using the LM
>utilities in ISPF you can scan the PDS looking at change dates and grab the
>ones you want and copy them.
>
>At 09:03 PM 10/29/2002 +0000, Stephen Waugh said:
>>Fellow Listers,
>>
>>We have a requirement in our shop. All the members that were changed in a
>>dataset from any specific Date needs to be identified, and ported over to
>>a
>>remote FTP site periodically. We need a utility that will scan a given PDS
>>for members that were changed between a specific date and then copy those
>>members alone to another temp dataset. Can this be done thru rexx? Would
>>appreciate any help.
>>
>>regards
>>Stephen
>
>----------------------------------------------------------------------
>For TSO-REXX subscribe / signoff / archive access instructions,
>send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN.
http://resourcecenter.msn.com/access/plans/default.asp
Now, this can be automated with LMMLIST with SAVE option and let Rexx work
on the
dataset created. Based on the criteria, you can do a LMMFIND and followed by
a
LMGET to read off the member into a stem. From the stem, it can be written
or appended
to a dataset.
HTH.
Here is some rexx I cooked up that uses the PDS command (http://www.cbttape.org, file 182) and TSO XMIT. You would invoke it as follows:
%pdsxmit 'sys1.proclib' date(10/01/02)
This example would copy all SYS1.PROCLIB members updated since 10/01/2002 to a dataset called userid.TEMP which is then XMITed. Instead of XMIT you could use FTP.
Regards,
John Kalinich
CSC-St. Louis, MO
/* Rexx - PDSXMIT */
Arg dsn ifcond
Address Tso
Delete temp
Newstack
Queue "if : "ifcond" then(sublist)"
Queue "copy * temp new cyl space (1,1) dir (5)"
Queue "end"
"Pds "dsn" xispmode"
Delstack
"Xmit to.me dsname(temp) outdsn(tom.conley)"
Exit
/* J. Kalinich, x4521 */
-----Original Message-----
From: Stephen Waugh [mailto:steve_ma...@HOTMAIL.COM]
Sent: Tuesday, October 29, 2002 4:04 PM
To: TSO-...@VM.MARIST.EDU
Subject: PDS members modified after any specific date
Fellow Listers,
We have a requirement in our shop. All the members that were changed in a
dataset from any specific Date needs to be identified, and ported over to a
remote FTP site periodically. We need a utility that will scan a given PDS
for members that were changed between a specific date and then copy those
members alone to another temp dataset. Can this be done thru rexx? Would
appreciate any help.
----------------------------------------------------------------------
! llew ho (: :)
-----Original Message-----
From: Stephen Waugh [mailto:steve_ma...@HOTMAIL.COM]
Sent: Tuesday, October 29, 2002 1:04 PM
To: TSO-...@VM.MARIST.EDU
Subject: PDS members modified after any specific date
Fellow Listers,
We have a requirement in our shop. All the members that were changed in a
dataset from any specific Date needs to be identified, and ported over to a
remote FTP site periodically. We need a utility that will scan a given PDS
for members that were changed between a specific date and then copy those
members alone to another temp dataset. Can this be done thru rexx? Would
appreciate any help.
regards
Stephen
_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN.
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
----------------------------------------------------------------------
This coming Sunday, I'm going to post the question "What were the winning
Powerball numbers?"
Let us know if you hear anything before that time...
Thanks,
Robert Zenuk
robz...@aol.com
i have used REXX for many years and of course the whole problem could be
solved with REXX. In this case there is a faster and more reliable solution
compared to the use of STATS when you use REXX only for a small part. My
solution might work like this:
Use ISPF 3.13 to compare the PDS with itself (same DSN for old and new).
Specify Compare Type File und Listing Type OVSUM.
The result is a member summary listing. It contains - among other useful
data - a HASH-SUM for each member. A changed HASH-SUM is a more reliable
indicator on member change then STATS(ON). Especially if batch jobs are
involved.
Save the summary listing to a file SUMLIST.
Repeat the step before and now create a batch job to compare the PDS. Specs
as above.
Specify the summary listing as a temporary file &&SUMLIST.
Add a second step to the job to compare both summary lists. Put the Result
to temporary file &&DIFFLIST.
Filter and reprocess &&DIFFLIST to collect the members you want to ftp.
This part may be done with a simple REXX, or SORT or ...
Last thing to do - in the above job or after successfull ftp - is to
replace the cataloged file SUMLIST with the contents of the temporary File
&&SUMLIST. You're now ready for the next turn.
Hope this helps.
Regards
Eckhardt.
Stephen Waugh
<steve_mark_w To: TSO-...@VM.MARIST.EDU
augh cc:
@HOTMAIL.COM> Subject: Re: PDS members modified after any specific date
Sent by: TSO
REXX
Discussion
List
<TSO-REXX
29.10.2002
22:51
Please
respond to
TSO REXX
Discussion
List
-----Original Message-----
From: Stephen Waugh [mailto:steve_ma...@hotmail.com]
Sent: Tuesday, October 29, 2002 4:04 PM
To: TSO-...@VM.MARIST.EDU
Subject: PDS members modified after any specific date
Fellow Listers,
We have a requirement in our shop. All the members that were changed in a
dataset from any specific Date needs to be identified, and ported over to a
remote FTP site periodically. We need a utility that will scan a given PDS
for members that were changed between a specific date and then copy those
members alone to another temp dataset. Can this be done thru rexx? Would
appreciate any help.
regards
Stephen
_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN.
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
----------------------------------------------------------------------
Don Imbriale
dimb...@bear.com <mailto:dimb...@bear.com>
"Mainframe - An obsolete device still used by thousands of obsolete
companies, serving billions of obsolete customers, and making huge obsolete
profits, for their obsolete shareholders. And this year's mainframes run
twice as fast as last year's."
teve,
****************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************
----------------------------------------------------------------------
But okay, to be a 100% sure about the reliability of the comparison my
proposal to Steve should be modified as follows:
Save the original contents of the pds and modify step 1 to compare both
files directly. The REXX or Sort or whatever should then directly process
the summary listing from step 1. (And after all the whole new pds has to be
saved.)
Regards.
Eckhardt Baginski.
"Imbriale,
Donald To: TSO-...@VM.MARIST.EDU
(Exchange)" cc:
<dimbriale Subject: Re: PDS members modified after any specific date
@BEAR.COM>
Sent by: TSO
REXX
Discussion
List
<TSO-REXX
30.10.2002
17:08
Please
respond to
TSO REXX
Discussion
List
Regards.
Eckhardt Baginski.
teve,
***********************************************************************