Good Morning Gentle Readers 

 
I reran the DCOLLECT job using these parms:
//GENDAT   EXEC PGM=IDCAMS,REGION=4M,TIME=1440           
//SYSPRINT DD SYSOUT=*                                   
//MCDS     DD DSN=SYS2.HSM.MCDS,DISP=SHR                 
//OUTDS    DD DSN=SYS2.DCOLLECT.DATA1,                   
//    RECFM=VB,LRECL=988,DSORG=PS,UNIT=SYSALLDA,         
//    SPACE=(1,(300,300),RLSE),AVGREC=M,                 
//    DISP=(,CATLG,DELETE)                               
//SYSIN    DD *                                          
   DCOLLECT OFILE(OUTDS) MIGRATEDATA                          
  /*                                                       
I checked the output and it shows IDC01811I NUMBER OF 'M ' RECORDS PROCESSED 
WAS 416361
 
Next I ran the following job  (I took this from the IBM manual z/OS V1R12.0 
DFSMSdfp Storage Administration SC26-7402-14) : 
 
//GENREP   EXEC  ACBJBAOB,                                     
//        PLIB1=SYS1.DGTPLIB,                                  
//        TABL2=SYS2.TEST.ISPTABL                              
//DCOLIN  DD  DSN=SYS2.DCOLLECT.DATA1,DISP=SHR                 
//ISPFILE DD  DSN=SYS2.DATASET.REPORT,DISP=OLD                 
//SYSTSIN  DD *                                                
PROFILE PREFIX(ZWA6PWG)                                        
ISPSTART CMD(ACBQBAR7) +                                       
BATSCRW(132) BATSCRD(27) BREDIMAX(3) BDISPMAX(99999999)        
//SYSIN DD  *                                                  
DSN                                                            
VOLSER                                                         
ALLOCSP                                                        
RECFM                                                          
TITLE=DATA SET REPORT FROM DCOLLECT DATA - 17/07/2013          
TOTALS                                                         
BLKSIZE                                                        
DSORG                                                          
MGMTCLAS                                                       
STORGRP                                                        
/*                            
However, when I check the output dsn   SYS2.DATASET.REPORT this is what I find 
and I cannot understand why. 
READY                                                                           
PROFILE PREFIX(ZWA6PWG)                                                         
 
READY                                                                           
ISPSTART CMD(ACBQBAR7) BATSCRW(132) BATSCRD(27) BREDIMAX(3) BDISPMAX(99999999)  
Number 1 parameter was: DSN                                                     
Number 2 parameter was: VOLSER                                                  
Number 3 parameter was: ALLOCSP                                                 
Number 4 parameter was: RECFM                                                   
Number 5 parameter was: TITLE                                                   
Number 6 parameter was: TOTALS                                                  
Number 7 parameter was: BLKSIZE                                                 
Number 8 parameter was: DSORG                                                   
Number 9 parameter was: MGMTCLAS                                                
Number 10 parameter was: STORGRP                                                
      Time                *** ISPF transaction log ***                   Us     
             Userid: ZWA6PWG    Date: 13/07/19   Page: 1      
                                                                                
      08:41   Start of ISPF Log - - -  - Session # 1 ---------------------------
      08:41      TSO     - Command  -  - ACBQBAR7     
      08:54    End of ISPF Log - - - - - Session # 1 -------------              
          
 
************************************************************               
 TOTALS                                                                    
 Allocated Space: KB=0  MB=0  GB=0                                         
 Used Space     : KB=0  MB=0  GB=0                                         
 Used Space (%) : 0.00%                                                    
************************************************************               
                                                                           
                                                                           
************************************************************               
*             L E G E N D                                  *               
************************************************************               
                                                                           
 %USED       - PERCENT OF USED SPACE FOR THE DSN.                          
 #EXT        - NUMBER OF EXTENTS THE DATA SET HAS.                         
 BLKSIZE     - BLOCKSIZE|CISIZE FOR THE DATA SET.                          
 BLOCKNU     - NUMBER OF UNUSED BLOCKS FOR THE DSN.                        
 CHGIND      - IF YES, DSN CHANGED SINCE BACKUP.                           
CREATEDT    - CREATION DATE OF DATA SET.           
DATACLAS    - DATACLAS OF DATA SET, IF ANY.        
DATASETNAME - DATA SET NAME.                       
DSORG       - DATA SET ORGANIZATION                
ENTRYTYPE   - DATA SET ENTRY TYPE                  
EXPDATE     - DATA SET EXPIRATION DATE, IF ANY.    
LASTBKUP    - DATA OF LAST BACKUP (DFHSM ONLY).    
LASTREF     - LAST REFERENCE DATE OF DSN.          
LRECL       - LOGICAL RECORD LENGTH OF DSN.        
MGMTCLAS    - MANAGEMENT CLASS OF DSN, IF ANY.     
MULTV?      - IS THE DSN MULTI-VOLUME?             
PDS/E?      - IS THE DATA SET A PDS/E?             
REBLOCK?    - IS REBLOCK IND. SET FOR DSN?         
RECFMT      - RECORD FORMAT OF DATA SET.           
SECALLOC    - SECONDARY ALLOCATION FOR DATA SET.   
SIZEALLOC   - ALLOCATE SIZE, (IN KB) FOR DATA SET. 
SMS?        - IS THE DATA SET SMS MANAGED?         
STORCLAS    - STORAGE CLASS OF DSN, IF ANY.        
STORGRP     - STORAGE GROUP OF DSN, IF ANY.        
STRPCNT     - STRIPE COUNT.                                  
VOLSEQ      - VOLUME SEQUENCE NUMBER OF DSN.                 
VOLSER      - VOLUME SERIAL OF DSN.                          
VVR?        - IF VSAM|SMS, DOES IT HAVE A VVR/NVR?           
SPACEUSD    - SPACE USED.                                    
EATTR       - CAN THE DATA SET SUPP EXTENDED ATTR?           
 
 I tried the same jobs using the following parms and I was able to get the 
stats.  
   DCOLLECT +          
   OFILE(OUTDS) +      
   VOLUME(*) +         
   STORAGEGROUP(*) +   
   SMSDATA(ACTIVE) +   
   MIGRATEDATA +       
   CAPPLANDATA                                                              
/*                                   
I GOOGLED this and I found that someone else had posted this same question 
however there was no answer or follow up.  Could someone find help me find my 
error?            
 
I think that the problem happens only  if  the DCOLLECT is run  for MIGRATEDATA 
only.                                           

________________________________
From: "Staller, Allan" <[email protected]>
To: [email protected] 
Sent: Thursday, July 18, 2013 8:49:41 AM
Subject: Re: DCOLLECT QUESTION


In that case, I would expect to see type M records in the OUTDS file.
Try a test, only requesting MIGRATEDATA and see what shows up in OUTDS.

i.e. DCOLLECT OFILE(OUTDS) MIGRATEDATA

<snip>
Yes.  It is.  Here is the jcl:
 
...snippage

Is the MCDS in your execution JCL?

<snip>
  I noticed that eventhough I am including MIGRATEDATA however when I check the 
output it does not show any of the migrated dsns.
 
 DCOLLECT +        
 OFILE(OUTDS) +    
 VOLUME(*) +       
 STORAGEGROUP(*) + 
 SMSDATA(ACTIVE) + 
 MIGRATEDATA +     
 CAPPLANDATA +     
 BACKUPDATA        

</snip>
________________________________

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to