View previous topic :: View next topic
|
Author |
Message |
kumaresan c
New User
Joined: 20 Jan 2009 Posts: 6 Location: Chennai
|
|
|
|
Hi
Can anyone help me how to delete a particular line in a PDS file or PS file using REXX
Thanks |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
kumaresan c
New User
Joined: 20 Jan 2009 Posts: 6 Location: Chennai
|
|
|
|
do we have any EDIT commands to delete a line? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Surprisingly, you can use the edit command DELETE from an Edit-Macro written in REXX.
O. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
kumaresan c
New User
Joined: 20 Jan 2009 Posts: 6 Location: Chennai
|
|
|
|
I tried to delete using ISREDIT. Its working fine for me now.....
Thanks a lot |
|
Back to top |
|
|
|