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: 2200
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 Need help calling DB2 stored procedur... tuxama DB2 1 Thu Aug 13, 2020 6:14 pm
No new posts CA Sysview - JCL or Rexx - Read or Ex... Jasi CA Products 4 Wed Aug 05, 2020 9:19 pm
This topic is locked: you cannot edit posts or make replies. Invoke REXX thru JCL to expand the co... spizen556 CLIST & REXX 2 Sun Jul 26, 2020 3:53 pm
No new posts Determine what library member is in, ... mdwait JCL & VSAM 9 Thu Jul 23, 2020 3:02 am
No new posts Unable to scroll in REXX panel KeshavKunal CLIST & REXX 4 Tue Jul 21, 2020 3:55 pm

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