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
 

 

Changing a particular string in the members of a PDS in JCL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
manishram1

New User


Joined: 23 Mar 2006
Posts: 34

PostPosted: Sun Sep 17, 2006 12:13 pm    Post subject: Changing a particular string in the members of a PDS in JCL.
Reply with quote

Hi Everyone,
Can anyone suggest whether there is any method to change a particular string in all the members of a PDS in JCL.
For Example:::
AAA.BBB.CCC has three members in it namely Member1,Member2,Member3

All the members are having a particular string APPLE in any place in it,i want to change it as ORANGE and the result should be stored in another
PDS DDD.EEE.FFF

Mani
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Sun Sep 17, 2006 8:19 pm    Post subject: Re: Changing a particular string in the members of a PDS in
Reply with quote

What have you done so far? It would be helpful to know where specifically you need assistance. Usually, the process of changing a text field from one value to another, especially when it's position in the data is unknown, is best left to an editor.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Mon Sep 18, 2006 5:00 pm    Post subject:
Reply with quote

Hi !

You also ca use the old IBM ultility IPOUDATE.
It's not a third party utility, its normaly everywhere in an IBM environment.

With check-parameter you can first control results without updates.

Regards, UmeySan

Example:

//UPDAT1 EXEC PGM=IPOUPDTE,
//* PARM='UPDATE'
// PARM='CHECK'
//?INST1 DD DISP=SHR,DSN=IE31000.ISPF.ISPCLIST
//*INST2 DD DISP=SHR,DSN=IE31000.ISPF.ISPPLIB
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
BWS8<MT81<
BWS9<MT91<
//
S=BWS8<S=MT81<
S=BWS9<S=MT91<
SYSAFF=BWS8<S=MT81<
SYSAFF=BWS9<S=MT91<
//
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 BI,TO=ZD Changing Values Tyler Dunbar DFSORT/ICETOOL 4 Tue Jul 25, 2017 12:12 am
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm


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