Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to delete a member in a PDS using REXX
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2136
Location: Silicon Valley

PostPosted: Wed Jun 25, 2008 9:17 pm    Post subject: Reply to: How to delete a member in a PDS using REXX
Reply with quote

Please read the ISPF Services Guide for details of the LMCOPY, LMINIT and LMFREE services. LMMOVE is similar.

Code:
/* REXX */                                   
Address ISPEXEC                                               
"LMINIT DATAID(from1) DATASET(temp.load)  ENQ(SHR)"           
"LMINIT DATAID(to1)   DATASET(LOAD.LIST)  ENQ(SHR)"           
"LMCOPY FROMID("from1") FROMMEM(mymembr) TODATAID("to1") REPLACE"
"LMFREE DATAID("from1")"                                       
"LMFREE DATAID("to1")"                                         
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
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX exec (opercmd) failing quietly o... Mike.Fulton All Other Mainframe Topics 2 Sat Aug 03, 2019 4:45 am
No new posts Unable to delete dataset - VSAM datas... netcrawler JCL & VSAM 20 Fri Jul 26, 2019 2:06 pm
This topic is locked: you cannot edit posts or make replies. Unable to allocate Message Library in... Learncoholic CLIST & REXX 13 Fri Jun 21, 2019 5:50 pm
No new posts Different result between normal rexx ... UmeySan CLIST & REXX 2 Tue May 07, 2019 6:18 pm
No new posts SDSF REXX for DB2 command output vasanthz CLIST & REXX 2 Thu Apr 25, 2019 11:29 pm

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