View previous topic :: View next topic
|
Author |
Message |
Seppe
New User
Joined: 01 Apr 2009 Posts: 33 Location: Rome - Italy
|
|
|
|
Hi all,
i need a job that make change at all the members of a pds.
I don't remember if it's possible with jcl...
P.s.
I must change 3500 member and make ever the same change!
Have a nice day. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Did you have a particular change in mind, or just any change would do?
If you hit the utilities manual, do you get anything there?
Else, you'll have to be a bit more specific. |
|
Back to top |
|
|
Seppe
New User
Joined: 01 Apr 2009 Posts: 33 Location: Rome - Italy
|
|
|
|
I must make change the inital name of all dataset.
for example:
from AAAA.BBBB.A123
to XXXX.BBBB.A123
in other words, like:
change all 'AAAA.' 'XXXX.'
but, in all members of pds.
I remember i had a job time ago... |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Try the IPOUPDTE program. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
@TS
If you are using IPOUPDTE for the above shown scenario then I think it will work fine.
But you should also be aware that IPOUPDTE has several restrictions and is not a complete JCL substitute for Change ALL command.
More information can be found in
www-03.ibm.com/systems/z/os/zos/installation/cppupdte.txt
Quote: |
For IPOUPDTE to work, each PDS to be searched
MUST contain a member named $$$COIBM.
Other rules regarding string replacement are as follows:
1. The string to be replaced, STRING1, must be totally contained in
positions 1 through 71 of an input record. Thus, the continuation
position, position 72, and the sequence number field, positions 73
through 80, are not affected by any updates.
2. To be eligible for replacement, STRING1 must be a "word," not
merely a string of characters imbedded within a "word." A "word"
to IPOUPDTE is any string of characters bounded on both ends by
any of several special delimiting characters. It does not have to
be an English word in the ordinary sense. For STRING1 to be a
word, it must have one of the following characters to its left and
one to its right:
' , . / < > ? " : ; ^ + _ ( ) * % | =
and blank
The only exceptions to this statement are:
* When STRING1 starts at the beginning of the input record or
ends in the last position (71) of the input record
* When the two characters '.V' or '/V' occur in an input record.
The 'V' is considered part of the delimiter, not of the word,
and so is not eligible for replacement.
NOTE: The special handling of '.V' allows IPOUPDTE to update a
VOLSER in CBIPO-format catalog names at the same time most other
references to the VOLSER are updated. Figure 21 demonstrates how
IPOUPDTE handles the '.V' special case. |
The complete restrictions can be found in www-03.ibm.com/systems/z/os/zos/installation/cppupdte.txt |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
The $$$COIBM member-presence requirement has been removed from PDSUPDTE. |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
If your site has File/Aid, you could use that. Some of the JCL checking utitilies (eg; Job/Scan, Pro/JCL) offer similar options I think. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
|