IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Unable to open all the members in particular PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
nugge123

New User


Joined: 27 Jun 2007
Posts: 1
Location: Bangalore

PostPosted: Thu Jun 28, 2007 5:55 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Jun 28, 2007 7:14 pm
Reply with quote

What is the RECFM?

O.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 28, 2007 9:02 pm
Reply with quote

Hello,

It sounds like someone has linkedt'ed a module into your pds.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jun 28, 2007 9:52 pm
Reply with quote

There is a thread in the forum to restore the proper DCB parms ................ somewhere
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 28, 2007 11:44 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 28, 2007 11:48 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Calling an Open C library function in... CICS 1
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
No new posts list pds members name starting with xyz CLIST & REXX 11
No new posts Infosphere Optim - unable to save Col... IBM Tools 0
Search our Forums:

Back to Top