Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Partition dataset got corrupted and is giving I/O error
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
Neil Culleton

New User


Joined: 16 Jul 2008
Posts: 1
Location: Australia

PostPosted: Wed Jul 16, 2008 3:45 pm    Post subject:
Reply with quote

For the next person who <blush> corrupts a dataset by writing to it using a wrong LRECL, the above solution works.

In my case i needed more DCB parms:
===================================
//COPY1 EXEC PGM=IEBGENER
//SYSUT1 DD *
DUMMY RECORD
/*
//SYSUT2 DD DISP=OLD,DSN=HLQ.XXX.YYY(DUMMY),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920)
===================================

Using just LRECL or just BLKSIZE was giving:
'IEB311I CONFLICTING DCB PARAMETERS' on the IEBGENER.

Cheers,
Neil.
Back to top
View user's profile Send private message
References
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 511
Location: work

PostPosted: Wed Jul 16, 2008 11:01 pm    Post subject: Reply to: Partition dataset got corrupted and is giving I/O
Reply with quote

Quote:
if the Backup itself is corrupted, how can we repair that ?


Some sites keep multiple generations of a dataset. For example, HSM has a GEN() parameter in the HRECOVER command, so you can recover not the most recent generation, but an older version.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 654

PostPosted: Thu Jul 17, 2008 10:27 am    Post subject:
Reply with quote

Hi,

I'm surprised to hear how often PDS become corrupted, surely it warrants investigating the problem.

I remember having the occasional one and found that utilities like IEBGENER, IDCAMS, SORT and even REXX's causing problems, I found by creating temporary PDS's and using IEBCOPY to copy the member to the target library, problems seemed to disappear.

I don't remember corruptions being caused by IEBCOPY.

Now that's not to say I don't use these utilities to write directly into the target libraries, but I try to avoid it.


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

Global Moderator


Joined: 23 Nov 2006
Posts: 8653
Location: 221 B Baker St

PostPosted: Thu Jul 17, 2008 7:36 pm    Post subject:
Reply with quote

Hi Gerry,

Quote:
I'm surprised to hear how often PDS become corrupted,
From what i've noticed (at least on this forum) it is often caused when people (who do not yet understand how things "work") use "their own" jcl to compile/link instead of the "standard" compile/link for their system.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1618
Location: germany

PostPosted: Thu Jul 17, 2008 7:55 pm    Post subject:
Reply with quote

or people writting rexx scripts to modify and don't bother creating and using a test (copy) pds first.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 511
Location: work

PostPosted: Thu Jul 17, 2008 9:13 pm    Post subject: Reply to: Partition dataset got corrupted and is giving I/O
Reply with quote

Instead of PDSs, I think people should use PDSEs. Functionality is the same. But the underlying organization is different. I think you can you avoid many of the problems that you might have with a PDS.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2