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
 
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: 4650
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm

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