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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 771
Location: Germany

PostPosted: Mon Sep 18, 2006 5:00 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts changing defaults in db2 admin - Unlo... DB2 0
No new posts file manager is doing string conversion IBM Tools 3
Search our Forums:

Back to Top