We're trying to delete specific (not all) members of a PDS with a batch job, but can't get it to work.
They all want exclusive access to the PDS (disp=old), and we don't want that. =)
We've tried:
IKJEFT01,
the TSO procedure,
and we looked at the IEHMOVE, but since we're using SMS we discarded that one.
Does anybody have an idea, or are we totally lost?
Thanx.
/Jorgen
Delete members in PDS
-
- Posts: 6
- Joined: Tue Aug 26, 2008 6:59 pm
- Skillset: OPC, JCL, DBA,
- Referer: internet
- Location: Stockholm, Sweden
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Delete members in PDS
Hello Jorgen and welceom to the forums,
There are some examples here:
http://gsf-soft.com/Products/SCRATCH.shtml
Strongly suggest you make a copy of the pds before beginning. . .
There are some examples here:
http://gsf-soft.com/Products/SCRATCH.shtml
Strongly suggest you make a copy of the pds before beginning. . .

Hope this helps,
d.sch.
d.sch.
-
- Posts: 278
- Joined: Thu May 15, 2008 9:45 pm
- Skillset: MVS
MQ
ISPF - Referer: sister site
Re: Delete members in PDS
Yes you DO want that! More than one user should not update a PDS directory at the same time.Jorgen Amnestal wrote: They all want exclusive access to the PDS (disp=old), and we don't want that. =)
We wrote a program to do ISPF-like ENQ/DEQ on the PDS so the JCL can specify DISP=SHR but at the time of delete, the PDS (and directory) are protected from other changes. Any collision just looks like a one second delay to a TSO user.
The ISPF Edit Reference manual describes the ENQ resource names to use.
Regards,
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
-
- Posts: 6
- Joined: Tue Aug 26, 2008 6:59 pm
- Skillset: OPC, JCL, DBA,
- Referer: internet
- Location: Stockholm, Sweden
Re: Delete members in PDS
Hello Bill,
Yes, I know, normally you would want that, but not in this case.
When we move PGM/SRC/LOAD into production we keep members on a PDS,
and when they are successfully moved to PROD we would like to delete those members only.
Others, that are still waiting to be moved are not to be touched.
(This is a temporary storage kind of PDS, not the original source-libs, of course.)
We have tried a test version of SCRATCH from GSF Software and we are so far quite happy. =)
Thanks for your thoughts and support
best rgds
/Jorgen
Yes, I know, normally you would want that, but not in this case.
When we move PGM/SRC/LOAD into production we keep members on a PDS,
and when they are successfully moved to PROD we would like to delete those members only.
Others, that are still waiting to be moved are not to be touched.
(This is a temporary storage kind of PDS, not the original source-libs, of course.)
We have tried a test version of SCRATCH from GSF Software and we are so far quite happy. =)
Thanks for your thoughts and support
best rgds
/Jorgen
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 2357
-
by steve-myers
View the latest post
Sat Nov 14, 2020 6:17 am
-
-
FTP PDS members into desktop
by kalyani krishna » Tue Feb 28, 2023 10:47 pm » in Interview Questions - 1
- 2043
-
by dneufarth
View the latest post
Wed Mar 01, 2023 5:28 am
-
-
- 4
- 6363
-
by steve-myers
View the latest post
Sat May 15, 2021 1:58 am
-
- 1
- 2325
-
by Robert Sample
View the latest post
Fri Feb 25, 2022 7:42 pm
-
-
REXX to Edit 3rd Line of all members in PDS
by shiitiizz » Thu Aug 13, 2020 5:21 pm » in CLIST & REXX - 3
- 3738
-
by Pedro
View the latest post
Fri Aug 14, 2020 3:50 am
-