Can we recover a PDS back once correupted - I/O error?
-
- New Member
- Posts: 6
- Joined: Mon Jun 23, 2014 3:47 pm
Can we recover a PDS back once correupted - I/O error?
Hi,
Stupidly, I gave a member from a PDS while running DSNUTILB to get the punch card. This has the PDS and now I'm getting I/O error reading data error message. This PDS is a JCL PDS library for many of small tools and jobs I need.
Can someone please advise on how canI solve this issue now?
Stupidly, I gave a member from a PDS while running DSNUTILB to get the punch card. This has the PDS and now I'm getting I/O error reading data error message. This PDS is a JCL PDS library for many of small tools and jobs I need.
Can someone please advise on how canI solve this issue now?
-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
Re: Can we recover a PDS back once correupted - I/O error?
If it was important, I assume you have a back-up?
Best to as your Technical Support, they will know what you have available to you. There may be an "image backup" of the disk it was on.
If that gets you nowhere, let us know.
Best to as your Technical Support, they will know what you have available to you. There may be an "image backup" of the disk it was on.
If that gets you nowhere, let us know.
-
- New Member
- Posts: 6
- Joined: Mon Jun 23, 2014 3:47 pm
Re: Can we recover a PDS back once correupted - I/O error?
I've the back up but it's not up to the date so many recent members, which are more important, are not there.
I've asked the Support too but looks like it's too long as a process to get and more cumbersome for a user PDS!!
I've asked the Support too but looks like it's too long as a process to get and more cumbersome for a user PDS!!
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Can we recover a PDS back once correupted - I/O error?
The only other alternative you've identified on this forum is to proceed without some important members of the PDS. You need to determine whether to take the time your support group needs, or live without the members. Once a PDS has been corrupted, there's pretty much nothing that can be done to fix the problem -- a restore from backup is required to recover the PDS.I've asked the Support too but looks like it's too long as a process to get and more cumbersome for a user PDS!!
Regular backups of critical data is highly recommended, no matter where the critical data resides.
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Can we recover a PDS back once correupted - I/O error?
Hi,
I think there is a trick - try creating a new member in the corrupted PDS using IEBGENER. Specify the correct DCB and DISP=MOD on the DD card. Your code should look like this:
Assuming your PDS is of LRECL=80.
I think there is a trick - try creating a new member in the corrupted PDS using IEBGENER. Specify the correct DCB and DISP=MOD on the DD card. Your code should look like this:
Code: Select all
//SYSUT2 DD DSN=CORRUPT.PDS(XXX),DISP=MOD,DCB=(LRECL=80,BLKSIZE=32000)
Assuming your PDS is of LRECL=80.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- New Member
- Posts: 6
- Joined: Mon Jun 23, 2014 3:47 pm
Re: Can we recover a PDS back once correupted - I/O error?
Excellent Anuj, this did the trick! Great, you've saved me from a lot of grief!! I'm able to browse the PDS now.



- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Can we recover a PDS back once correupted - I/O error?
You're welcome!
a blind squirrel finds an acorn, once in a while, you know!
a blind squirrel finds an acorn, once in a while, you know!

Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute