IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

change in all member


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Seppe

New User


Joined: 01 Apr 2009
Posts: 33
Location: Rome - Italy

PostPosted: Thu May 24, 2012 1:31 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu May 24, 2012 1:37 pm
Reply with quote

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
View user's profile Send private message
Seppe

New User


Joined: 01 Apr 2009
Posts: 33
Location: Rome - Italy

PostPosted: Thu May 24, 2012 1:47 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu May 24, 2012 2:41 pm
Reply with quote

Try the IPOUPDTE program.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu May 24, 2012 3:05 pm
Reply with quote

@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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu May 24, 2012 3:10 pm
Reply with quote

Similar topic which has sample IPOUPDTE JCL
www.ibmmainframes.com/viewtopic.php?t=55336&postdays=0&postorder=asc&start=0
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Thu May 24, 2012 3:20 pm
Reply with quote

The $$$COIBM member-presence requirement has been removed from PDSUPDTE.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Thu May 24, 2012 4:58 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu May 24, 2012 7:55 pm
Reply with quote

I agree with David, File-aid is usually my choice too.

Or the PDS utility which is FREE from the CBT tapes also does this. I should not sound hyperbolic if I say, this utility is loaded on most of the shops. Type in "TSO PDS" on the command line to test if it is available.

Also, the PDSM18 program (PDSMAN product) would do this.

And If you search the Forum:

www.ibmmainframes.com/viewtopic.php?t=24609
www.ibmmainframes.com/viewtopic.php?t=29596
www.ibmmainframes.com/viewtopic.php?t=50857
www.ibmmainframes.com/viewtopic.php?t=36204
www.ibmmainframes.com/viewtopic.php?t=15892
www.ibmmainframes.com/viewtopic.php?t=46649
www.ibmmainframes.com/viewtopic.php?t=50032
www.ibmmainframes.com/viewtopic.php?t=43241
www.ibmmainframes.com/viewtopic.php?t=13275
www.ibmmainframes.com/viewtopic.php?t=45130
ibmmainframes.com/about55336.html
ibmmainframes.com/viewtopic.php?t=25947&highlight=
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts SELECT from data change table DB2 5
No new posts Trying to change copybook in online c... CICS 4
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
Search our Forums:

Back to Top