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

HSM Issue


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Thu Aug 07, 2008 9:27 pm
Reply with quote

Somehow, the catalog entry for a dataset and HSM's entry in the MCDS are different. The catalog entry shows it as off to an ML2 volume (MIGRAT2). When I run an HSM command to show me what's in the MCDS, it tells me its on an ML1 volume.

I am trying to do a delete noscratch and then a recatalog on the dataset to volume MIGRAT and devtyp(3390).

I am getting messages:

IDC3014I CATALOG ERROR
IDC3007I ** VSAM CATALOG RETURN CODE IS 38

I could've sworn I have been able to do an IDCAMS delete nscr on a migrated dataset before. Hints anyone ?
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: Fri Aug 08, 2008 12:01 am
Reply with quote

Hello,

If you want to delete the dataset, you might try HDEL.

I've not ever tried to catalog a dataset to migrat status icon_confused.gif The system always does this.

Talking with your storage management people might be a good thing to do. . .
Back to top
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Fri Aug 08, 2008 12:29 am
Reply with quote

Dick,

I am the storage admin. ;-)

Anyways, I wound up exorcising it from the catalog and now, I'm trying to fix the MCDS record with a whole series of FIXCDS PATCH commands.

Long story short, I really want to be able to recall this dataset.
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: Fri Aug 08, 2008 1:48 am
Reply with quote

Hello,

Quote:
I am the storage admin. ;-)
Oh icon_redface.gif

Not my best area, but i seem to recall some hsm utility that would allow dragging a "deleted" file out of an archive and bypassing all of the normal hsm "rules".

The rescued dataset could then be copied back onto the system and be under hsm control again. My memory may have gone over to the dark side also. . . icon_wink.gif

My current gig does not have proximity with any storage admins, so i can't simply ask. Maybe soon one of the forum storage heavies will be back online.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Aug 08, 2008 1:52 am
Reply with quote

HDEL has always worked for me and so has HMIG (when my userid was authorized).
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Aug 08, 2008 11:48 am
Reply with quote

HDEL would wipe the dataset out both from the catalog and HSM.

Which may be OK if a valid backup of the dataset exists. If it does, then issue the HDEL and then recover from the backup and remigrate. This puts HSM and the catalog in sync again. Or even better - RECOVER NEWNAME just to make sure that you can recover before doing HDEL.

If HSM says the dataset is ML1 why do you want to apply FIXSCDS commands to it. Does the corresponding HSMname dataset exist on the ML1 volume specified ? Is there a valid TTOC entry for an ML2 volume for the dataset.
Back to top
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Fri Aug 08, 2008 8:28 pm
Reply with quote

HDEL probably works but I definitely didn't want to wipe it out from BOTH the catalog and the MCDS. I did a delete from 3.4 it as a last resort and had to reconstruct the entry (hence the FIXCDS commands). I just wanted to wipe it from the catalog, do a define for the dataset to volume MIGRAT and devtype 3390 (as opposed to 3590 which it had).

There were no easily accessible backups either from HSM nor FDR. I also failed to mention (my fault) than we were trying to recover from corrupted BCDS and MCDS. That's been done from the last viable CDS backup and journals.

It was fun setting bits. Havn't worked on a bit level since coding exits.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Sat Aug 09, 2008 2:08 am
Reply with quote

I should have added that the only data sets I've ever used HDEL or HMIG on were my own ('userid.xxx.xxx'). I wouldn't recommend it for data sets belonging to someone else unless authorized to do so. icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Facing ABM3 issue! CICS 3
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top