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
 

 

How to delete a line in all the members of a PDS

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

New User


Joined: 04 Aug 2008
Posts: 46
Location: Chennai

PostPosted: Tue Jan 05, 2010 3:32 pm    Post subject: How to delete a line in all the members of a PDS
Reply with quote

Hi,

could you please let me know the best possible solution for deleting a particular line from all the members of a PDS...

Example:
000001 REBIND PACKAGE (PLANNAME) -
000002 MEMBER(PACKAGENAME) -
000003 QUALIFIER(QUALIFIER) -
000004 OWNER(OWNER) -
000005 ACTION(REPLACE) -
000006 VALIDATE(BIND) -

Desire result: I want to delete the line which has ACTION, this should be done across all the members in the PDS...

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

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Jan 05, 2010 3:56 pm    Post subject:
Reply with quote

I would have used REXX
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 05, 2010 3:56 pm    Post subject:
Reply with quote

ISPF edit macro will work across all shops or FILEAID if installed.
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: Tue Jan 05, 2010 4:24 pm    Post subject: Reply to: How to delete a line in all the members of a PDS
Reply with quote

There's a technique shown here.
Back to top
View user's profile Send private message
VVRAVINDRA

New User


Joined: 04 Aug 2008
Posts: 46
Location: Chennai

PostPosted: Tue Jan 05, 2010 5:13 pm    Post subject:
Reply with quote

Could you please provide me the REXX code, since I have no idea about REXX or what could be the option in file aid to delete that line
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 05, 2010 5:17 pm    Post subject:
Reply with quote

Click HERE to see a topic which will give you a few clues. In fact, a lot of the work will have already been done for you in this topic.
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 JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm


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