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

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


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

PostPosted: Tue Jan 05, 2010 3:56 pm
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

Global Moderator


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

PostPosted: Tue Jan 05, 2010 4:24 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Jan 05, 2010 5:17 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top