Try checking out this link. It describes the DCOLLECT function http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm. zos.r11.idai200/dcoll.htm
What version of z/OS do you run? Do you use SAS, SAS/MXG, SAS/MICS, Tivoli or other analysis tools? ICETOOL? Perhaps you could use the ISMF Option G (report tool)? I am not sure why you are trying to limit to just migration data. I typically pull ALL DCOLLECT records and then use SAS/MXG to filter and summarize the data. MIGRATEDATA creates data records for all migrated data sets that reside on this system. BACKUPDATA creates data records for all backed up data sets on this system. Maybe try a simpler control card process //COLLECT3 JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=A //MCDS DD DSN=HSM.MCDS,DISP=SHR //BCDS DD DSN=HSM.BCDS,DISP=SHR //SYSIN DD * DCOLLECT - OUTDATASET(USER.DCOLLECT.OUTPUT) - MIGRATEDATA - VOL(*) Lizette -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Friday, July 19, 2013 9:07 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Dave, Thanks for the info. However I cannot find where I am selecting the D type records. Could you point it out? Thanks ________________________________ From: David Devine <david.dev...@sse.com> To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 11:56:05 AM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Hi Esmee, You've answered your own question. The problem is that you want to get a report on M type (migration) dcollect records and the job deck you are running will only select D type dataset records. If you are running the DFSMS RMM tape management system, it actually includes a dfsort/icetool report deck to strip out dcollect migrated data. >From tso ispf panel for RMM, select 1 User, then R report, then just hit enter to create a list of reports and the one you want is ARCGDM01 DCOLLECT MIGRATION DATA etc. If you don't have RMM you can use the DFSMS access methods services for Z/os manual appendix F to get a breakdown of M type records and their relative positions and lengths and build your own rexx or sort. There are probably examples on this forum you can use. Good luck! Dave ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN