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
 
Deleting a record(a row) in pds or ps using rexx

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

New User


Joined: 03 Feb 2006
Posts: 2
Location: Chennai,India

PostPosted: Thu Mar 02, 2006 7:39 pm    Post subject: Deleting a record(a row) in pds or ps using rexx
Reply with quote

Hi
I need a program to delete a record (any line) inside ps or pds using rexx.
the program must read a ps/pds and delete a particular line/record in an array....


Regards,
Ceasar
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Mar 02, 2006 8:13 pm    Post subject:
Reply with quote

There is no REXX direct function to delete a record from dataset. However, you still have at least 3 options:

1) Use ISPF services LMMGET/LMMPUT to read and write the records back.

2) Use EXECIO to read and write records.

3) If the file is EDITable, you can use edit macro.

O.
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: Thu Mar 02, 2006 8:15 pm    Post subject: Re: Deleting a record(a row) in pds or ps using rexx
Reply with quote

I can't figure out from the origina post why the user wouldn't just edit the dataset and delete the row/rows?
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

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