Hi,
I have a huge PDS with more than 30,000 members in it. There is possibly a corrupted member in the PDS. Is there any JCL utility that can be used to identify the corrupted member?
Bad Member in a PDS
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: Bad Member in a PDS
Talk to your technical people. They are less likely to destroy the whole thing whilst attempting to fix it.
30,000 members in a single PDS? How long does it take to add a new member called "A"? Don't experiment until you know the PDS is good
30,000 members in a single PDS? How long does it take to add a new member called "A"? Don't experiment until you know the PDS is good

- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Bad Member in a PDS
Hello,
How might the member have become corrupt? What to you mean by "corrupt"? When did the problem occur?
Is there a backup just before the corruption occurred?
How might the member have become corrupt? What to you mean by "corrupt"? When did the problem occur?
Is there a backup just before the corruption occurred?
Hope this helps,
d.sch.
d.sch.
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Bad Member in a PDS
There is possibly a corrupted member in the PDS.
The TS does not even know if there is one

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: Bad Member in a PDS
I'd like to know why the TS believes there is a corrupted member in the PDS!BillyBoyo wrote:... 30,000 members in a single PDS? How long does it take to add a new member called "A"? Don't experiment until you know the PDS is good
The issue BillyBoyo raised about how long it would take to add a low member name in the collating sequence to the data set got me interested. I wrote a small Assembler program to add members M30000 through M00001, in that order. I did cheat in one respect. I did not attempt to write ISPF directory statistics. While I could have done that, it wasn't worth the effort for a throw a way program, but it did speed things up: the final directory used 1429 blocks, much less than the 5000 blocks required if the program wrote ISPF directory stats.
An Assembler programmer using BPAM to write to a PDS uses the STOW macro to add a member. When adding a member, the STOW macro does more than update the directory. It also writes a DASD end of file record for the member, and that requires a small amount of time.
I instrumented the program to collect the elapsed time required to execute the STOW macro. It rexorded the time in the next member it wrote. M29999 has the time required for the STOW macro for member M30000, and so on. M00001 has the time for M00002. I did not record the time for M00001.
Here are the raw times.
M00002 0.07 seconds
M00003 0.08 seconds
M00004 0.08 seconds
M30000 0.00 seconds
-
- Similar Topics
- Replies
- Views
- Last post
-
- 7
- 5208
-
by sergeyken
View the latest post
Fri Nov 13, 2020 1:24 am
-
-
REXX Code to find if PDS JCL member has how many DD
by abhilashanaik » Tue Sep 14, 2021 11:17 am » in CLIST & REXX - 5
- 2270
-
by sergeyken
View the latest post
Wed Sep 15, 2021 6:02 am
-
-
-
FTP dataset member with Arabic letters
by Mahmoud Anwer » Sat May 29, 2021 6:37 pm » in Simulators & Emulators - 1
- 3754
-
by enrico-sorichetti
View the latest post
Sat May 29, 2021 11:57 pm
-
-
-
transferring file from pc to mainframe pds member
by valeca » Wed Sep 28, 2022 3:42 am » in TSO & ISPF - 5
- 3340
-
by Pedro
View the latest post
Thu Sep 29, 2022 12:11 am
-
-
- 0
- 1218
-
by rossburnett
View the latest post
Tue May 23, 2023 3:19 am