Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

change in all member

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: change in all member
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7241

PostPosted: Thu May 24, 2012 1:37 pm    Post subject: Reply to: change in all member
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    Post subject:
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

Moderator Team Head


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

PostPosted: Thu May 24, 2012 2:41 pm    Post subject: Reply to: change in all member
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: 1445
Location: Azeroth

PostPosted: Thu May 24, 2012 3:05 pm    Post subject:
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
http://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 http://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: 1445
Location: Azeroth

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

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

Active Member


Joined: 07 Feb 2009
Posts: 985
Location: Oostende, Belgium

PostPosted: Thu May 24, 2012 3:20 pm    Post subject:
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: 175
Location: UK

PostPosted: Thu May 24, 2012 4:58 pm    Post subject:
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

Senior Member


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

PostPosted: Thu May 24, 2012 7:55 pm    Post subject:
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:

http://www.ibmmainframes.com/viewtopic.php?t=24609
http://www.ibmmainframes.com/viewtopic.php?t=29596
http://www.ibmmainframes.com/viewtopic.php?t=50857
http://www.ibmmainframes.com/viewtopic.php?t=36204
http://www.ibmmainframes.com/viewtopic.php?t=15892
http://www.ibmmainframes.com/viewtopic.php?t=46649
http://www.ibmmainframes.com/viewtopic.php?t=50032
http://www.ibmmainframes.com/viewtopic.php?t=43241
http://www.ibmmainframes.com/viewtopic.php?t=13275
http://www.ibmmainframes.com/viewtopic.php?t=45130
http://ibmmainframes.com/about55336.html
http://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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts How to change dataset attributes of m... ignich7 JCL & VSAM 3 Thu Jul 21, 2016 9:17 pm
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm
No new posts GDG vsersion number change Raghu navaikulam JCL & VSAM 5 Fri May 27, 2016 4:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us