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

How to delete a line in a PDS of PS file using REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Tue Jan 20, 2009 6:50 pm
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
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: 2358
Location: Israel

PostPosted: Wed Jan 21, 2009 11:02 am
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

Global Moderator


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

PostPosted: Wed Jan 21, 2009 12:24 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top