View previous topic :: View next topic
|
Author |
Message |
nugge123
New User
Joined: 27 Jun 2007 Posts: 1 Location: Bangalore
|
|
|
|
Hi,
I am facing this problem newly. I have a PDS which has very important members in it. I use that for my daily jobs. I can open the PDS in Browse, Edit & View mode. Once inside, when I type B, E or V in front of any member in that PDS, it gives me an error saying
'I/O ERROR READING DATA. I/O ERROR OCCURRED READING THE EDIT DATA. CHECK DATASET BLOCK SIZE? - when opened in View or Edit mode
?AN I/O ERROR HAS ENCOUNTERED READING THE FIRST RECORD REQUESTED? ? when opened in Browse mode
I checked the block size and it has a size of 80. Now, I tried to copy the PDS to another which has a higher block size. But I am unable to copy it. How can this problem be solved? I need those members. Can you please help?
Thank you and have a nice day? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What is the RECFM?
O. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It sounds like someone has linkedt'ed a module into your pds. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
There is a thread in the forum to restore the proper DCB parms ................ somewhere |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Before doing anything to try and correct your problem, i'd suggest getting a copy of it with DFDSS or FDR.
Where you are is most likely fixable - failed attempts to fix it could further damage it. A backup is a very good thing. . . |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Following is a suggestion for another person who had a damaged source library.
Quote: |
Try this: Quote:
***********************************************************************
JCL to recover source lib changed to load lib
***********************************************************************
//FIXRECFM JOB (ACCT),CLASS=A,...
//*
//JS010 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD *
FIX THIS PDS
//SYSUT2 DD DSN=your.broken.pds(@@FIX),DISP=SHR,DCB=RECFM=FB
After the program/JOB is run, the PDS should have its record format set back to FB. You can then delete the object program from the source library using ISPF 3.1 or other means (if you tried to access the program you would now get an I/O error since the RECFM is no longer set to U). You can also delete the @@FIX member since it isn't needed.
|
As i mentioned before, i would definitely recommend making a backup before proceeding. |
|
Back to top |
|
|
|