HSM and command LIST

Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems
samb01
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

HSM and command LIST

Postby samb01 » Mon Jan 21, 2019 9:33 pm

Hello,

i have deleted dataset mirgated in HSM getting from the list command :

Code: Select all


HSEND WAIT LIST LEVEL(X.GTFD) MCDS -    
SELECT(AGE(365))                        -
 


After deleting those datasets, i run this command list again
and i have the same list .
I can't anderstand why i have the same list because i have deleted the dataset of this list..

expat
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm

Re: HSM and command LIST

Postby expat » Tue Jan 22, 2019 12:32 pm

Was the dataset really deleted,

You say that it was, but where is the output to prove it. RACF problems perhaps ?
The fact that the listing says that it is there tends to make me believe HSM rather than you.

samb01
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

Re: HSM and command LIST

Postby samb01 » Tue Jan 22, 2019 2:39 pm

I'm sorry you can't believe me.
But i don't have anymore the sysout of the job wiche have deleted the dataset but i 've just run an extract for example :

Code: Select all


Command ===>                                                  Scroll ===> CSR  
****** ***************************** Top of Data ******************************
000001 1- DFSMSHSM CONTROL DATASET - MIGRATED DATASET-- LISTING ----- AT 10:05:
000002                                                                        
000003  DATASET NAME                                 MIG     LAST REF MIGRATED
000004                                               VOLUME     DATE    DATE  
000005                                                                        
000006  X.DEPT1.REPRISE                         751904  17/11/15 18/01/22
000007       ENCRYPTION TYPE = *******  KEYLABEL = ****************************
000008  X.EM.SUPAA.ATTSXXX.DX7101Y              801191  07/10/30 07/12/10
000009       ENCRYPTION TYPE = *******  KEYLABEL = ****************************
000010  X.EM.SUAAR.ATTSXXX.DX7102Y              801191  07/10/30 07/12/10
000011       ENCRYPTION TYPE = *******  KEYLABEL = ****************************

 


and for example, the dataset : X.DEPT1.REPRISE
is not migrated and not on catalog because it was deleted.

So i think there is a probleme with the MCDS...

NicC
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
Referer: Google
Location: Pushing up the daisies (almost)

Re: HSM and command LIST

Postby NicC » Tue Jan 22, 2019 3:04 pm

What happens when you try recalling X.DEPT1.REPRISE?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: HSM and command LIST

Postby willy jensen » Tue Jan 22, 2019 4:25 pm

As the datasets are still there, you could try the delete again and post the output.

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

Re: HSM and command LIST

Postby enrico-sorichetti » Tue Jan 22, 2019 5:19 pm

all depends on which delete command was used

one of them issues both a delete and an hdelete
the other one just a simple delete
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

samb01
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

Re: HSM and command LIST

Postby samb01 » Tue Jan 22, 2019 6:31 pm

we used thois jcl to suppress the dataset miragted :

Code: Select all


//HDELETE EXEC PGM=IKJEFT01,REGION=512K                          
//SYSPRINT DD SYSOUT=*                                          
//SYSTSPRT DD SYSOUT=*                                          
//SYSTSIN  DD *                                                  
 PROFILE NOPREFIX                                                
 HDELETE X.DEPT1.REPRISE
 HDELETE ...    
 


I can't do an hrecall of the dataset because tey were deleted by the batch...

May be there is a problem with the control dataset..

I found this link : https://www.ibm.com/support/knowledgece ... /fxcds.htm

may be i have to fix it ?

expat
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm

Re: HSM and command LIST

Postby expat » Tue Jan 22, 2019 7:56 pm

I would suggest at the very least that you perform an audit of the control datasets, as this picks out errors / anomolies in the xCDS datasets, along with the option to automatically apply fixes.


  • Similar Topics
    Replies
    Views
    Last post