Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Data set not migrated even though all MC rules met

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
upendrasri

New User


Joined: 28 Sep 2017
Posts: 99
Location: India

PostPosted: Sat Feb 22, 2020 12:26 pm    Post subject: Data set not migrated even though all MC rules met
Reply with quote

Hi All,

One of my data set is with MIGFILES MC and MC rules as below
Code:

                                                 
Expiration Attributes                             
                                                 
  Expire after Days Non-usage  . : 35             
  Expire after Date/Days . . . . : NOLIMIT       
  Retention Limit  . . . . . . . : 0             
                                                 
                                                 
Migration Attributes                       
  Primary Days Non-usage  . : 0             
  Level 1 Days Date/Days  . : 0             
  Level 2 Days Non-usage  . : NOLIMIT       
  Command or Auto Migrate . : BOTH         
  Size Less Than or Equal to:               
   Action . . . . . . . . . :               



As per the MC, File should be migrated to ML2 directly but the below file
TEST.USER.MIGPC155 Which was created on 2014.113 and not in use

Listc details as below:-
Code:

CLUSTER ------- TEST.USER.MIGPC155                                   
     IN-CAT --- USER.U00O001.CATALOG                                         
     HISTORY                                                                 
       DATASET-OWNER-----(NULL)     CREATION--------2014.113                 
       RELEASE----------------2     EXPIRATION------0000.000                 
     SMSDATA                                                                 
       STORAGECLASS ---STANDARD     MANAGEMENTCLASS-MIGFILES                 
       DATACLASS -----------SCR     LBACKUP ---0000.000.0000                 
       CA-RECLAIM---------(YES)                                               
       EATTR-------------(NULL)                                               
       BWO STATUS------00000000     BWO TIMESTAMP---00000 00:00:00.0         
       BWO---------------(NULL)                                               


My file is not getting Migrated. I have verified ACS Routines and everything looks okay. And other files belongs to this MC are getting Migrated as expected.

Any suggestions on this.

Thanks!
Back to top
View user's profile Send private message

Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 147
Location: Germany

PostPosted: Sat Feb 22, 2020 2:28 pm    Post subject:
Reply with quote

It can have certain reasons why a dataset is not migrated or scratched. In this case I'd suggest you have a look on the DFHSM activity log and act accordingly to the RET/RSN codes.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Sun Feb 23, 2020 8:39 pm    Post subject:
Reply with quote

Normal reason is that a backup does not exist where the MGMTCLAS states that one should
Back to top
View user's profile Send private message
Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 147
Location: Germany

PostPosted: Sun Feb 23, 2020 11:41 pm    Post subject:
Reply with quote

@expat: That brings you back to what I have written. Look at RET/RSN codes.
Back to top
View user's profile Send private message
upendrasri

New User


Joined: 28 Sep 2017
Posts: 99
Location: India

PostPosted: Mon Feb 24, 2020 11:29 am    Post subject:
Reply with quote

Hi Expact and Joerg,

There is no backup as per MC rules as below

Code:

CDS Name  . . . . . . : ACTIVE                           
Management Class Name : MIGFILES                         
                                                         
Backup Attributes                                       
  Backup frequency  . . . . . . . . . . . :             
  Number of backup versions . . . . . . . :             
     (Data Set Exists)                                   
  Number of backup versions . . . . . . . :             
     (Data Set Deleted)                                 
  Retain days only backup version . . . . :             
     (Data Set Deleted)                                 
  Retain days extra backup versions . . . :             
                                                         
  Admin or User Command Backup  . . . . . : NONE         
  Auto Backup . . . . . . . . . . . . . . : NO           
  Backup copy technique . . . . . . . . . : STANDARD


Thanks!
Back to top
View user's profile Send private message
Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 147
Location: Germany

PostPosted: Mon Feb 24, 2020 11:45 am    Post subject:
Reply with quote

Let us know the RET/RSN code from the DFHSM log.
Back to top
View user's profile Send private message
upendrasri

New User


Joined: 28 Sep 2017
Posts: 99
Location: India

PostPosted: Mon Feb 24, 2020 12:37 pm    Post subject:
Reply with quote

Hi Joerg,

I have searched information about the above file in DFHSMLOG but no details found.

Please let me know is there any specific way to find RET/RSN code?

Thanks!
Back to top
View user's profile Send private message
Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 147
Location: Germany

PostPosted: Mon Feb 24, 2020 12:42 pm    Post subject:
Reply with quote

When you try to migrate the DSN to ML2, it should bring something up. Please try that.
Back to top
View user's profile Send private message
upendrasri

New User


Joined: 28 Sep 2017
Posts: 99
Location: India

PostPosted: Mon Feb 24, 2020 12:43 pm    Post subject:
Reply with quote

Hi Joerg,

Sure, I will Migrate it manually and will get the details from DFHSMLOG

Thanks!
Back to top
View user's profile Send private message
upendrasri

New User


Joined: 28 Sep 2017
Posts: 99
Location: India

PostPosted: Tue Feb 25, 2020 11:13 am    Post subject:
Reply with quote

Hi Joerg,

I have manually Migrated dataset to ML2 but no information about this dataset in DFHSMLOG.

But I have executed the below command
Code:

HLIST DA('TEST.USER.MIGPC155')MCDS


Output of the above command :
Code:

DSN=TEST.USER.MIGPC155                  MIGVOL=N08269 DSO=VS  SDSP=NO
 LAST REF=14/04/13 MIG=20/02/24 TRKS=00000698 2K BLKS= ******* TIMES MIG= 00001
  16K BLKS=0000001895  LAST MIGVOL=*NONE*


Looks like HSM is excluding this dataset?

Thanks!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Outrec IFTHEN builds data in wrong po... saikarthik94 DFSORT/ICETOOL 6 Sun Mar 01, 2020 2:14 pm
No new posts How to free (unalloc) data sets and d... Ricardo Viegas TSO/ISPF 4 Wed Jan 15, 2020 5:19 am
No new posts Load Module compare showing mismatche... Aditya.Srivastava PL/I & Assembler 5 Tue Dec 10, 2019 8:26 pm
No new posts Identifying Packed Decimal data in a ... sojivarkey TSO/ISPF 4 Sat Dec 07, 2019 5:36 am
No new posts Reading the CSV data in COBOL and mov... wik123 COBOL Programming 4 Tue Dec 03, 2019 5:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us