Re: DCOLLECT QUESTION -RESULTS PUZZLING -
Lizette, Thanks for your help. I did run 2 separate reports. The first with all options and the other only for MIGRATDATA. The first report had the dsns displayed while the other was empty. This confirms what you have been saying. Thanks. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Saturday, July 20, 2013 4:15:21 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - I ran this process and received data in the DATASET.REPORT file. But it was only for ONLINE dasd. This is expected. Your messages indicate the process ran. Most likely no data to format. Please run a FULL DCOLLECT for all record types then try this process again. Remember my comment: ACBQBAR7 does not get MIGRATED data. Only ONLINE data. It only parses D records not M records. To test this I have a full DCOLLECT dataset. Has all of the Migrated, Capd, vols, etc. when it was run. I run the ACBQBAR7 against that file and only ONLINE datasets were in the list. If it was migrated or tape it was not in the list. Does that help? Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 11:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lisa, Just to let you know that I was able to get the dsn list with the job (examples in the z/OS V1R12.0 DFSMSdfp Storage Administration SC26-7402-14 pages 382 383) however for some reason it does not list any of the MIGRATED dsns. I tried another test just to select MIGRATEDATA there are no dsns listed. David spotted my error but I couldn't find it where it is. Hopefully he will see this post and let me know where it is. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Saturday, July 20, 2013 10:38:12 AM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - According to the Naviquest manual: ACBQBAR7 is called by SYS1.SACBCNTL member ACBJBARD to generate a flat file from DCOLLECT data taken from data set records and lists the fields of your choice, in the order you specify. Does not appear to handle Migrated data. So, you could run a plain dcollect as I described, or review the Naviquest manual (you can find them on the IBM.COM website) http://www.redbooks.ibm.com/abstracts/sg244720.html http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm. zos.r11.idas200/naviquest.htm Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 6:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, Here is what I had said earlier (see below). I cannot figure out why the output dsn SYS2.DATASET.REPORT does not show is that dsn list but only system stats. David Devine said that 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. I cannot seem to find where the M type records are being selected in the job deck. This is where my problem is. 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() //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() 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 - From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
Thanks for the confirmation. I would suggest you work with your sysprogs group to get the Option G in ISMF working. It is not a lot of effort and will provide you with a lot more reporting processes than Naviquest. IBM is enhancing that function more than Naviquest. I think this is all you need to add to your TSO Logon process to gain access to the Option G RMM Report in ISMF From z/OS V1R12.0 DFSMSrmm Implementation and Customization Guide SC26-7405-11 Make the DFSMSrmm panel library, tables, skeletons, messages, and REXX execs available to users. If you are not using LIBDEF, Table 8 shows the names of the default libraries that you concatenate to the DD statements in the TSO logon procedure or a user-supplied start-up CLIST. If you are using LIBDEF, the EDGRMLIB EXEC allocates these default libraries to the user. If you changed the names of the target libraries on your system, modify the EDGRMLIB exec to contain the new library names. Table 8 lists the DFSMSrmm libraries by the default target names. Table 8. Default Libraries to Concatenate DFSMSrmm Data Set NameDD Statement Content SYS1.SEDGEXE1 SYSPROC (or SYSEXEC)REXX execs SYS1.SEDGMENU ISPMLIB English messages SYS1.SEDGPENU ISPPLIB English panels SYS1.DGTSLIBISPSLIB Skeletons SYS1.DGTTLIBISPTLIB Tables The target library SYS1.SEDGEXE1 has a fixed-block record format. The SYS1.DGTSLIB library and the SYS1.DGTTLIB library are shared with other DFSMS components. To customize the DFSMSrmm Report Generator library names, you can modify the EDGRMAIN member of SYS1.SEDGEXE1. Refer to z/OS DFSMSrmm Reporting for details. Use the ISPF ISPPREP facility to build preprocessed versions of the panels. For more information on using ISPPREP, see z/OS ISPF User's Guide Vol I. Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Tuesday, July 23, 2013 7:05 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, Thanks for your help. I did run 2 separate reports. The first with all options and the other only for MIGRATDATA. The first report had the dsns displayed while the other was empty. This confirms what you have been saying. Thanks. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Saturday, July 20, 2013 4:15:21 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - I ran this process and received data in the DATASET.REPORT file. But it was only for ONLINE dasd. This is expected. Your messages indicate the process ran. Most likely no data to format. Please run a FULL DCOLLECT for all record types then try this process again. Remember my comment: ACBQBAR7 does not get MIGRATED data. Only ONLINE data. It only parses D records not M records. To test this I have a full DCOLLECT dataset. Has all of the Migrated, Capd, vols, etc. when it was run. I run the ACBQBAR7 against that file and only ONLINE datasets were in the list. If it was migrated or tape it was not in the list. Does that help? Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
Hi Esmee, It is a little convoluted, but if you follow the code in the job deck, you can see it calls ACBQBAR7, check that code and you find that it calls ACBQADR3 and in there you find this:- DO WHILE(eof = 'no') dcolrec = rec.1 /* check to see if this a D record */ IF ((SUBSTR(dcolrec,5,1) = 'D') (SUBSTR(dcolrec,5,2) ¬= 'DC')) THEN DO /***/ /*initialize variables */ /***/ So it's only even going to select D types. Regards, Dave *** Dave, Thanks for the info. However I cannot find where I am selecting the D type records. Could you point it out? Thanks -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
On 21/07/2013 7:15 PM, John McKown wrote: Such as? I will grant that REXX is old. But so are PERL, awk, and many other UNIX tools. Him, perhaps lua. But there is a port of lua to z/OS. A person here was kind enough to send it to me. If anybody is interested in Lua drop me a line. I've been having lots of fun with it and have recently been getting my feet wet with co-routines. Co-routines are analogous to generators in Javascript and Python and are very powerful for implementing non pre-emptive, collaborative multi-threading. The idea is to turn a function call inside out. They really are neat for creating very elegant patterns. I'm a big fan of unix pipes and co-routines can implement sources, sinks and filters in a very concise way. The following example is a little test driver I knocked up to simulate processing CICS CMF records with different types of filters for serializing to JSON, ZLIB compression etc. io = require(io) zlib = require(zlib) json = require(cjson) socket = require(socket) -- ZLIB compression filter function zip(prod) return coroutine.create(function () local dstream = zlib.deflate(zlib.BEST_SPEED) while true do local status, value = coroutine.resume(prod) if not status then break end coroutine.yield(dstream(value, full)) end end) end -- filter to serialize a lua table to a JSON string function jsonify(prod) return coroutine.create(function () while true do local status, value = coroutine.resume(prod) if not status or not value then break end coroutine.yield(json.encode(value) .. \n) end end) end -- filter to translate EBCDIC to ASCII function e2a(prod) return coroutine.create(function () while true do local status, value = coroutine.resume(prod) if not status or not value then break end coroutine.yield(os.e2a(value)) end end) end -- file sink - defaults to QSAM but could take parameters function file_sink(prod) local o, msg = io.open(SMF.OUTPUT, wb, type=record, noseek) if not o then print(msg) os.exit(8) end while true do local status, rec = coroutine.resume(prod) if not status or not rec then break end print(rec) o:write(rec) end end -- socket sink to send stuff over the wire function socket_sink(prod) local host = 172.17.70.3 local port = 6870 local c = socket.connect(host, port) while true do local status, rec = coroutine.resume(prod) if not status or not rec then break end c:send(rec) end end -- simulate reading an SMF file function file_source() return coroutine.create(function () for n = 1, 1500 do local smfrec = {} smfrec.type = 110 -- CMF record smfrec.applid = CICSWARE smfrec.sysid = MVS1 coroutine.yield(smfrec) end end) end -- main file_sink(zip(jsonify(file_source( file_sink(zip(file_source())) file_sink(jsonify(file_source())) socket_sink(e2a(jsonify(file_source( socket_sink(zip(e2a(jsonify(file_source() Lua is very fast. I've profiled it extensively using IBM Application Performance Analyzer and the interpreter overhead is 10%. The majority of the time is spent in fast C library code. Oh course, I do the same. But I do it to save on z/OS MSUs. On Jul 21, 2013 2:40 AM, Shane Ginnane ibm-m...@tpg.com.au wrote: On Sat, 20 Jul 2013 22:48:00 -0700, Lizette Koehler wrote: If you go to CBTTAPE.ORG and go for FILE206, it seems to have a REXX parser for DCOLLECT records Some (not too many) years ago I lifted a cbt offering to mangle dcollect records - needed some mods for what I wanted, but did the job admirably. Not sure if this was it, but as always, the cbt has things you can use - or use as templates at least. Maybe If I was doing it today I'd flick the file to zLinux and use tools more applicable to this century than Rexx. Shane ... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
On Sat, 20 Jul 2013 22:48:00 -0700, Lizette Koehler wrote: If you go to CBTTAPE.ORG and go for FILE206, it seems to have a REXX parser for DCOLLECT records Some (not too many) years ago I lifted a cbt offering to mangle dcollect records - needed some mods for what I wanted, but did the job admirably. Not sure if this was it, but as always, the cbt has things you can use - or use as templates at least. Maybe If I was doing it today I'd flick the file to zLinux and use tools more applicable to this century than Rexx. Shane ... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
Such as? I will grant that REXX is old. But so are PERL, awk, and many other UNIX tools. Him, perhaps lua. But there is a port of lua to z/OS. A person here was kind enough to send it to me. Oh course, I do the same. But I do it to save on z/OS MSUs. On Jul 21, 2013 2:40 AM, Shane Ginnane ibm-m...@tpg.com.au wrote: On Sat, 20 Jul 2013 22:48:00 -0700, Lizette Koehler wrote: If you go to CBTTAPE.ORG and go for FILE206, it seems to have a REXX parser for DCOLLECT records Some (not too many) years ago I lifted a cbt offering to mangle dcollect records - needed some mods for what I wanted, but did the job admirably. Not sure if this was it, but as always, the cbt has things you can use - or use as templates at least. Maybe If I was doing it today I'd flick the file to zLinux and use tools more applicable to this century than Rexx. Shane ... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
Lizette, Here is what I had said earlier (see below). I cannot figure out why the output dsn SYS2.DATASET.REPORT does not show is that dsn list but only system stats. David Devine said that 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. I cannot seem to find where the M type records are being selected in the job deck. This is where my problem is. 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() //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() 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 - From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 1:25:08 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Then I would run DCOLLECT with all the parms (MIGD, CAPD VOL(*) etc...) and then check SYSPRINT and see what records are being produced. There is a summary at the end of the message indicating how many of each record is found. For example IDC01811I NUMBER OF 'D ' RECORDS PROCESSED WAS 442789 IDC01811I NUMBER OF 'A ' RECORDS PROCESSED WAS 378331 IDC01811I NUMBER OF 'V ' RECORDS PROCESSED WAS 1333 IDC01811I NUMBER OF 'M ' RECORDS PROCESSED WAS 38429 IDC01811I NUMBER OF 'B ' RECORDS PROCESSED WAS 61141 IDC01811I NUMBER OF 'C ' RECORDS PROCESSED WAS 3405 IDC01811I NUMBER OF 'T ' RECORDS PROCESSED WAS 3 It helps us that you try things and provide details back. Each shop is unique and we need to see the details in order to help. Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Friday, July 19, 2013 10:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, I was limiting to using MIGRATEDATA just to ensure that DCOLLECT was working
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
According to the Naviquest manual: ACBQBAR7 is called by SYS1.SACBCNTL member ACBJBARD to generate a flat file from DCOLLECT data taken from data set records and lists the fields of your choice, in the order you specify. Does not appear to handle Migrated data. So, you could run a plain dcollect as I described, or review the Naviquest manual (you can find them on the IBM.COM website) http://www.redbooks.ibm.com/abstracts/sg244720.html http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm. zos.r11.idas200/naviquest.htm Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 6:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, Here is what I had said earlier (see below). I cannot figure out why the output dsn SYS2.DATASET.REPORT does not show is that dsn list but only system stats. David Devine said that 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. I cannot seem to find where the M type records are being selected in the job deck. This is where my problem is. 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() //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() 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 - From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 1:25:08 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Then I would run DCOLLECT with all the parms (MIGD, CAPD VOL(*) etc...) and then check SYSPRINT and see what records are being produced. There is a summary at the end of the message indicating how many of each record is found. For example IDC01811I NUMBER OF 'D ' RECORDS PROCESSED WAS 442789 IDC01811I NUMBER OF 'A ' RECORDS PROCESSED WAS 378331 IDC01811I NUMBER OF 'V ' RECORDS PROCESSED WAS 1333 IDC01811I NUMBER OF 'M ' RECORDS PROCESSED WAS 38429 IDC01811I NUMBER OF 'B ' RECORDS PROCESSED WAS 61141 IDC01811I NUMBER OF 'C ' RECORDS PROCESSED WAS 3405 IDC01811I NUMBER OF 'T ' RECORDS PROCESSED WAS 3 It helps us that you try things and provide details back. Each shop is unique and we need to see the details in order to help. Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Friday, July 19, 2013 10:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, I was limiting to using MIGRATEDATA just to ensure that DCOLLECT was working correctly. We are running z/OS 1.13. I cannot use the ISMF Option G because some of the RMM modules have not been installed. (confirmed by the MVS group). I am using SAS to parse the output once the records from the DCOLLECT has been created. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 12:40:47 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - 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
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
Lizette, Thanks for your help. I have the NAVIQUEST manual and I will take a look. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Saturday, July 20, 2013 10:38:12 AM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - According to the Naviquest manual: ACBQBAR7 is called by SYS1.SACBCNTL member ACBJBARD to generate a flat file from DCOLLECT data taken from data set records and lists the fields of your choice, in the order you specify. Does not appear to handle Migrated data. So, you could run a plain dcollect as I described, or review the Naviquest manual (you can find them on the IBM.COM website) http://www.redbooks.ibm.com/abstracts/sg244720.html http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm. zos.r11.idas200/naviquest.htm Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 6:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, Here is what I had said earlier (see below). I cannot figure out why the output dsn SYS2.DATASET.REPORT does not show is that dsn list but only system stats. David Devine said that 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. I cannot seem to find where the M type records are being selected in the job deck. This is where my problem is. 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() //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() 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 - From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 1:25:08 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Then I would run DCOLLECT with all the parms (MIGD, CAPD VOL(*) etc...) and then check SYSPRINT and see what records are being produced. There is a summary at the end of the message indicating how many of each record is found. For example IDC01811I NUMBER OF 'D ' RECORDS PROCESSED WAS 442789 IDC01811I NUMBER OF 'A ' RECORDS PROCESSED WAS 378331 IDC01811I NUMBER OF 'V ' RECORDS PROCESSED WAS 1333 IDC01811I NUMBER OF 'M ' RECORDS PROCESSED WAS 38429 IDC01811I NUMBER OF 'B ' RECORDS PROCESSED WAS 61141 IDC01811I NUMBER OF 'C ' RECORDS PROCESSED WAS 3405 IDC01811I NUMBER OF 'T ' RECORDS PROCESSED WAS 3 It helps us that you try things and provide details back. Each shop is unique and we need to see the details in order to help. Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Friday, July 19, 2013 10:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, I was limiting to using MIGRATEDATA just to ensure that DCOLLECT was working correctly. We are running z/OS 1.13. I cannot use the ISMF Option G because some of the RMM modules have not been installed. (confirmed by the MVS group). I am using SAS to parse the output once the records from the DCOLLECT has been created. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 12:40:47 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Try checking
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
Lisa, Just to let you know that I was able to get the dsn list with the job (examples in the z/OS V1R12.0 DFSMSdfp Storage Administration SC26-7402-14 pages 382 383) however for some reason it does not list any of the MIGRATED dsns. I tried another test just to select MIGRATEDATA there are no dsns listed. David spotted my error but I couldn't find it where it is. Hopefully he will see this post and let me know where it is. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Saturday, July 20, 2013 10:38:12 AM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - According to the Naviquest manual: ACBQBAR7 is called by SYS1.SACBCNTL member ACBJBARD to generate a flat file from DCOLLECT data taken from data set records and lists the fields of your choice, in the order you specify. Does not appear to handle Migrated data. So, you could run a plain dcollect as I described, or review the Naviquest manual (you can find them on the IBM.COM website) http://www.redbooks.ibm.com/abstracts/sg244720.html http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm. zos.r11.idas200/naviquest.htm Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 6:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, Here is what I had said earlier (see below). I cannot figure out why the output dsn SYS2.DATASET.REPORT does not show is that dsn list but only system stats. David Devine said that 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. I cannot seem to find where the M type records are being selected in the job deck. This is where my problem is. 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() //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() 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 - From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 1:25:08 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Then I would run DCOLLECT with all the parms (MIGD, CAPD VOL(*) etc...) and then check SYSPRINT and see what records are being produced. There is a summary at the end of the message indicating how many of each record is found. For example IDC01811I NUMBER OF 'D ' RECORDS PROCESSED WAS 442789 IDC01811I NUMBER OF 'A ' RECORDS PROCESSED WAS 378331 IDC01811I NUMBER OF 'V ' RECORDS PROCESSED WAS 1333 IDC01811I NUMBER OF 'M ' RECORDS PROCESSED WAS 38429 IDC01811I NUMBER OF 'B ' RECORDS PROCESSED WAS 61141 IDC01811I NUMBER OF 'C ' RECORDS PROCESSED WAS 3405 IDC01811I NUMBER OF 'T ' RECORDS PROCESSED WAS 3 It helps us that you try things and provide details back. Each shop is unique and we need to see the details in order to help. Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Friday, July 19, 2013 10:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, I was limiting to using MIGRATEDATA just to ensure that DCOLLECT was working correctly. We are running z/OS 1.13. I cannot use the ISMF Option G because some of the RMM
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
I ran this process and received data in the DATASET.REPORT file. But it was only for ONLINE dasd. This is expected. Your messages indicate the process ran. Most likely no data to format. Please run a FULL DCOLLECT for all record types then try this process again. Remember my comment: ACBQBAR7 does not get MIGRATED data. Only ONLINE data. It only parses D records not M records. To test this I have a full DCOLLECT dataset. Has all of the Migrated, Capd, vols, etc. when it was run. I run the ACBQBAR7 against that file and only ONLINE datasets were in the list. If it was migrated or tape it was not in the list. Does that help? Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 11:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lisa, Just to let you know that I was able to get the dsn list with the job (examples in the z/OS V1R12.0 DFSMSdfp Storage Administration SC26-7402-14 pages 382 383) however for some reason it does not list any of the MIGRATED dsns. I tried another test just to select MIGRATEDATA there are no dsns listed. David spotted my error but I couldn't find it where it is. Hopefully he will see this post and let me know where it is. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Saturday, July 20, 2013 10:38:12 AM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - According to the Naviquest manual: ACBQBAR7 is called by SYS1.SACBCNTL member ACBJBARD to generate a flat file from DCOLLECT data taken from data set records and lists the fields of your choice, in the order you specify. Does not appear to handle Migrated data. So, you could run a plain dcollect as I described, or review the Naviquest manual (you can find them on the IBM.COM website) http://www.redbooks.ibm.com/abstracts/sg244720.html http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm. zos.r11.idas200/naviquest.htm Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 6:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, Here is what I had said earlier (see below). I cannot figure out why the output dsn SYS2.DATASET.REPORT does not show is that dsn list but only system stats. David Devine said that 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. I cannot seem to find where the M type records are being selected in the job deck. This is where my problem is. 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() //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() 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 - From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 1:25:08 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Then I would run DCOLLECT with all the parms (MIGD, CAPD VOL(*) etc...) and then check SYSPRINT and see what records are being produced. There is a summary at the end of the message indicating how many of each record is found. For example IDC01811I NUMBER OF 'D ' RECORDS PROCESSED WAS 442789 IDC01811I NUMBER OF 'A ' RECORDS PROCESSED WAS 378331
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
If you go to CBTTAPE.ORG and go for FILE206, it seems to have a REXX parser for DCOLLECT records /*TOTAL FROM D, M AND B RECORDS: */ /* L0+ML1+ML2 DSN COUNT */ /* TOTAL L0 + ML1 +ML2 ALLOCATED*/ /* TOTAL BACKUP KBYTES */ /* L0 DSN COUNT */ /* L0 ALLOCATED KBYTES */ /* L0 USED KBYTES */ /* SMS DSN COUNT*/ /* SMS ALLOCATED KBYTES */ /* ML1 DSN COUNT*/ /* ML1 ALLOCATED KBYTES */ /* ML1 ORIGINAL KBYTES */ /* ML2 DSN COUNT*/ /* ML2 ALLOCATED KBYTES */ /* ML2 ORIGINAL KBYTES */ /* This may do what you want. It takes a DCOLLECT input file and creates a report. I have not tried it yet, but this maybe helpful. Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lizette Koehler Sent: Saturday, July 20, 2013 1:15 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - I ran this process and received data in the DATASET.REPORT file. But it was only for ONLINE dasd. This is expected. Your messages indicate the process ran. Most likely no data to format. Please run a FULL DCOLLECT for all record types then try this process again. Remember my comment: ACBQBAR7 does not get MIGRATED data. Only ONLINE data. It only parses D records not M records. To test this I have a full DCOLLECT dataset. Has all of the Migrated, Capd, vols, etc. when it was run. I run the ACBQBAR7 against that file and only ONLINE datasets were in the list. If it was migrated or tape it was not in the list. Does that help? Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 11:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lisa, Just to let you know that I was able to get the dsn list with the job (examples in the z/OS V1R12.0 DFSMSdfp Storage Administration SC26-7402-14 pages 382 383) however for some reason it does not list any of the MIGRATED dsns. I tried another test just to select MIGRATEDATA there are no dsns listed. David spotted my error but I couldn't find it where it is. Hopefully he will see this post and let me know where it is. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Saturday, July 20, 2013 10:38:12 AM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - According to the Naviquest manual: ACBQBAR7 is called by SYS1.SACBCNTL member ACBJBARD to generate a flat file from DCOLLECT data taken from data set records and lists the fields of your choice, in the order you specify. Does not appear to handle Migrated data. So, you could run a plain dcollect as I described, or review the Naviquest manual (you can find them on the IBM.COM website) http://www.redbooks.ibm.com/abstracts/sg244720.html http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm. zos.r11.idas200/naviquest.htm Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Saturday, July 20, 2013 6:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, Here is what I had said earlier (see below). I cannot figure out why the output dsn SYS2.DATASET.REPORT does not show is that dsn list but only system stats. David Devine said that 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. I cannot seem to find where the M type records are being selected in the job deck. This is where my problem is. 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() //SYSIN DD * DSN VOLSER ALLOCSP RECFM TITLE=DATA SET REPORT FROM DCOLLECT DATA - 17/07/2013 TOTALS BLKSIZE DSORG
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 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
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
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
Then I would run DCOLLECT with all the parms (MIGD, CAPD VOL(*) etc...) and then check SYSPRINT and see what records are being produced. There is a summary at the end of the message indicating how many of each record is found. For example IDC01811I NUMBER OF 'D ' RECORDS PROCESSED WAS 442789 IDC01811I NUMBER OF 'A ' RECORDS PROCESSED WAS 378331 IDC01811I NUMBER OF 'V ' RECORDS PROCESSED WAS 1333 IDC01811I NUMBER OF 'M ' RECORDS PROCESSED WAS 38429 IDC01811I NUMBER OF 'B ' RECORDS PROCESSED WAS 61141 IDC01811I NUMBER OF 'C ' RECORDS PROCESSED WAS 3405 IDC01811I NUMBER OF 'T ' RECORDS PROCESSED WAS 3 It helps us that you try things and provide details back. Each shop is unique and we need to see the details in order to help. Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of esmie moo Sent: Friday, July 19, 2013 10:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - Lizette, I was limiting to using MIGRATEDATA just to ensure that DCOLLECT was working correctly. We are running z/OS 1.13. I cannot use the ISMF Option G because some of the RMM modules have not been installed. (confirmed by the MVS group). I am using SAS to parse the output once the records from the DCOLLECT has been created. From: Lizette Koehler stars...@mindspring.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, July 19, 2013 12:40:47 PM Subject: Re: DCOLLECT QUESTION -RESULTS PUZZLING - 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 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: DCOLLECT QUESTION -RESULTS PUZZLING -
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... //STEP1EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=A //MCDS DD DSN=HSM.MCDS,DISP=SHR //BCDS DD DSN=HSM.BCDS,DISP=SHR //SYSINDD * 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