Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us