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 a PDS of PS file using REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
kumaresan c

New User


Joined: 20 Jan 2009
Posts: 6
Location: Chennai

PostPosted: Tue Jan 20, 2009 6:45 pm    Post subject: How to delete a line in a PDS of PS file using REXX
Reply with quote

Hi

Can anyone help me how to delete a particular line in a PDS file or PS file using REXX

Thanks
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 20, 2009 6:50 pm    Post subject: Reply to: How to delete a line in a PDS of PS file using REX
Reply with quote

The same way you would using COBOL or Assembler or PL/I or any other language using the basic rules of QSAM data processing. Nothing different if it's REXX.

The best way that I know of to delete a specific line from a PDS member or PS dataset is to use an editor.
Back to top
View user's profile Send private message
kumaresan c

New User


Joined: 20 Jan 2009
Posts: 6
Location: Chennai

PostPosted: Wed Jan 21, 2009 10:51 am    Post subject:
Reply with quote

do we have any EDIT commands to delete a line?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Jan 21, 2009 11:02 am    Post subject:
Reply with quote

Surprisingly, you can use the edit command DELETE from an Edit-Macro written in REXX.

O.
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: Wed Jan 21, 2009 12:24 pm    Post subject: Reply to: How to delete a line in a PDS of PS file using REX
Reply with quote

TSO/E EDIT DELETE Subcommand syntax.

ISPF EDIT Macro DELETE command syntax.
Back to top
View user's profile Send private message
kumaresan c

New User


Joined: 20 Jan 2009
Posts: 6
Location: Chennai

PostPosted: Fri Jan 23, 2009 4:12 pm    Post subject: Reply to: How to delete a line in a PDS of PS file using REX
Reply with quote

I tried to delete using ISREDIT. Its working fine for me now.....

Thanks a lot
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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