Keyboard Shortcuts
Likes
Search
problem meet when run dfsmsdss restore
hi all, i have built?4.6.0.10941-SDL-g65c97fd6 on?Linux-5.14.0-284.25.1.el9_2.x86_64.
the hercules runs well. and i built an standalone ickdsf to initialize the cckd volume.? INIT UNITADDRESS(52C1) NOVERIFY VTOC(300,0,600) VOLID(DCAT50) ICK003D REPLY U TO ALTER VOLUME 52C1 CONTENTS, ELSE T? ? ? ? ? ? ? ? ? ? ?
ENTER INPUT/COMMAND:? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
U? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
ICK31061I 52C1 VTOC INDEX CREATION SUCCESSFUL: VOLUME IS IN INDEX FORMAT??
ICK061I? ?52C1 VTOC INDEX CREATION SUCCESSFUL: VOLUME IS IN INDEX FORMAT??
ICK01317I VTOC-INDEX IS LOCATED AT CCHH=X'0154 0000' AND IS? ? 32 TRACKS.?
ICK01314I VTOC IS LOCATED AT CCHH=X'012C 0000' AND IS? ?600 TRACKS.? ? ? ?
ICK00001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0? ? ? ? ? ? ? ??
? ? ? ? ? 14:35:28? ? 03/05/24? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? below tape is an aws tape converted by tapeconv.jcl? restore frmdv(tape) frmadr(0300) toadr(52C1) vfy(DCAT50) ?RESTORE FRMDV(TAPE) FRMADR(0300) TOADR(52C1) VFY(DCAT50)? ? ? ? ? ? ? ? ? ? ? ?
ADRY0500I NEXT TRACK TO WRITE:? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
? ? ? ? ? TRACK C:H = X'0000000:0'? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
? ? ? ? ? 15:05:07? ? 03/05/24? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
ADRY2765I 52C1 INVALID TRACK FORMAT? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
CSW = 05D9D0 0E000000? ?CCW = 1D12B288 4000E4A6? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
SENSE = 00400000 00FFFF00 00000000 00000000 00000000 00000000 00000080 00001206?
ADRY0700I 52C1 TRACK CCHH = X'0012 0006'? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
ADRY2765I 52C1 INVALID TRACK FORMAT? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
CSW = 05DA20 0E000000? ?CCW = 1D1302DD 4000F1EF? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
SENSE = 00400000 00FFFF00 00000000 00000000 00000000 00000000 00000080 00006C06?
ADRY0700I 52C1 TRACK CCHH = X'006C 0006'? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
ADRY3818I 52C1 INCORRECT LENGTH? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
CSW = 05DA68 0E40082C? ?CCW = 9E000000 5000082C? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
SENSE = 00080000 00FFFF00 00000000 00000000 00000000 00000000 00000080 00006C0C?
ZARCHITECTURE? 5650-ZOS DFSMSDSS STAND-ALONE V2.02.0? ? ? ? ? ? ? TIME: 15:04:55
? ? ? ? 03/05/24? ? ?PAGE? ?2? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
ADRY0700I 52C1 TRACK CCHH = X'006C 000C'? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
ADRY3003I FUNCTION TERMINATED. CONDITION CODE IS 12? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? 0300? ? 3590? ? /home/hercules/volume/TAPE/100001.tap[root@lx-hemu-app-u1 ~]# sh /home/hyperion/cckdcdsk -f -3 /home/hercules/volume/DASD/DCAT50.52C1
HHC02499I Hercules utility lt-cckdcdsk - DASD CCKD image verification - version 4.6.0.10941-SDL-g65c97fd6
HHC01414I (C) Copyright 1999-2023 by Roger Bowler, Jan Jaeger, and others
HHC01417I ** The SDL 4.x Hyperion version of Hercules **
HHC01415I Build date: Feb? 6 2024 at 18:15:52
HHC00379I 0:0000 CCKD file /home/hercules/volume/DASD/DCAT50.52C1: starting lt-cckdcdsk level 3...
HHC00371W 0:0000 CCKD file /home/hercules/volume/DASD/DCAT50.52C1: trk[746] offset 0x00000000000B80D8 len 6237 validation error
HHC00007I Previous message from function 'cckd_chkdsk' at cckdutil.c(1858)
HHC00371W 0:0000 CCKD file /home/hercules/volume/DASD/DCAT50.52C1: trk[779] offset 0x00000000000C0726 len 5320 validation error
HHC00007I Previous message from function 'cckd_chkdsk' at cckdutil.c(1858)
HHC00371W 0:0000 CCKD file /home/hercules/volume/DASD/DCAT50.52C1: trk[1626] offset 0x0000000000114547 len 2987 validation error
HHC00007I Previous message from function 'cckd_chkdsk' at cckdutil.c(1858)
HHC00371W 0:0000 CCKD file /home/hercules/volume/DASD/DCAT50.52C1: trk[1631] offset 0x0000000000119571 len 10885 validation error
HHC00007I Previous message from function 'cckd_chkdsk' at cckdutil.c(1858)
HHC00373I 0:0000 CCKD file /home/hercules/volume/DASD/DCAT50.52C1: 0 trk images recovered
HHC00377I 0:0000 CCKD file /home/hercules/volume/DASD/DCAT50.52C1: free space rebuilt
HHC00380W 0:0000 CCKD file /home/hercules/volume/DASD/DCAT50.52C1: lt-cckdcdsk level 3 complete; rc=2
HHC00007I Previous message from function 'main' at cckdcdsk.c(149)
part? config as below: ? CPUSERIAL 002623? ? ? ? ? ? ? # CPU serial number
# CPUMODEL? 3090? ? ? ? ? ? ? ? # CPU model number
? CPUMODEL? 8562? ? ? ? ? ? ? ? # CPU model number
? MODEL? ? ?L01? ? ? ? ? ? ? ? ?# STSI returned model
? PLANT? ? ?ZZ? ? ? ? ? ? ? ? ? # STSI returned plant
? MANUFACTURER HRC? ? ? ? ? ? ? # STSI returned manufacturer
# LPARNAME? HERCULES? ? ? ? ? ? # DIAG 204 returned lparname
? LPARNAME? DEVE? ? ? ? ? ? ? ? # DIAG 204 returned lparname
? CPUVERID? 00? ? ? ? ? ? ? ? ? # CPU Version Identification
# MAINSIZE? 64? ? ? ? ? ? ? ? ? # Main storage size in megabytes
? MAINSIZE? 8192? ? ? ? ? ? ? ? # Main storage size in megabytes
? XPNDSIZE? 0? ? ? ? ? ? ? ? ? ?# Expanded storage size in megabytes
# NUMCPU? ? 1? ? ? ? ? ? ? ? ? ?# Number of CPUs
? NUMCPU? ? 8? ? ? ? ? ? ? ? ? ?# Number of CPUs
# NUMVEC? ? 1? ? ? ? ? ? ? ? ? ?# Number of Vector Processors
# MAXCPU? ? 8? ? ? ? ? ? ? ? ? ?# Maximum number of CPUs
? MAXCPU? ? 8? ? ? ? ? ? ? ? ? ?# Maximum number of CPUs
? ARCHLVL? ?z/Arch? ? ? ? ? ? ? # Architecture mode S/370, ESA/390 or z/Arch
? FACILITY? DISABLE 006_ASN_LX_REUSE? ?# ASN-and-LX-Reuse facility
# ECPSVM? ? DISABLE? ? ? ? ? ? ?# VM Assist : NO or Level (20 recommended)
# LOADPARM? 0120....? ? ? ? ? ? # IPL parameter
? LOADPARM? 52C109M.? ? ? ? ? ? # IPL parameter
# OSTAILOR? LINUX? ? ? ? ? ? ? ?# OS tailoring
? OSTAILOR? z/OS? ? ? ? ? ? ? ? # OS tailoring
? SYSEPOCH? 1900? ? ? ? ? ? ? ? # Base year for initial TOD clock
# TZOFFSET? +0200? ? ? ? ? ? ? ?# Using UTC (GMT)
? TZOFFSET? +0800? ? ? ? ? ? ? ?# Using UTC (GMT)
?
? 52C1? ? 3390? ? /home/hercules/volume/DASD/DCAT50.52C1 any suggestion is? much?appreciated! |
HI,
is the data you are restoring from the same device type as you are restoring too ? Your target is a 3390, is the source dumped from a 3390 ? I think that DFSMSdss doesn't convert from one device type to another but expects them to be the same CC HH configuration. It's a long time since I did dump / restore of this type, I understand it can be faster than doing it by datasets, but restoring datasets can cross disk types and add them to the vtoc as it does it. If the restore tape you are using contains a vtoc then the dasd is probably going to be mis-configured because you have already configured a vtoc, and I doubt that having 2 vtoc's will work. Regards, Tom. |
Hi Tom, thanks for your reply.? yes, the source dumped from a 3390-9.
the backup procedure is as below: //BACKUP? ?PROC VSN=' ',LB=' ',VOLSER=' '? ? ? ? ? ? ? ??
//STEP1? ? EXEC PGM=ADRDSSU,REGION=0M? ? ? ? ? ? ? ? ? ??
//SYSPRINT DD? ?SYSOUT=*? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
//DASD1? ? DD UNIT=3390,VOL=SER=&VSN,DISP=SHR? ? ? ? ? ??
//TAPE1? ? DD DSN=V&VSN,DISP=(NEW,KEEP,DELETE),? ? ? ? ??
//? ? ? ? ?UNIT=TTAPE,LABEL=(&LB,SL),? ? ? ? ? ? ? ? ? ??
//? ? ? ? ?VOL=(,RETAIN,,,SER=&VOLSER),? ? ? ? ? ? ? ? ??
//? ? ? ? ?DCB=(BLKSIZE=64K,RECFM=U,TRTCH=COMP)? ? ? ? ??
//SYSIN? ? DD * DUMP INDDNAME(DASD1) OUTDDNAME(TAPE1) COMPRESS OPT(4) -??
ALLDATA(*) ALLEXCP WAIT(0,0) FULL? ? ? ? ? ? ? ? ? ? ? ??
|
¿ªÔÆÌåÓýI believe you should be able to restore to the SAME or LARGER target ¨C Since you indicate that you dumped from a M9 ¨C you will need to restore to a M9 or larger ¨C However, NOT to a smaller model ¨C You are doing a PHYSICAL track for track restore ¨C ? You might try a LOGICAL restore ¨C to restore all DATA SETS ¨C vs a physical restore ¨C If you have enough room on the pack ¨C (how full was that M9) ¨C you might get it to work. ? ?
-J- ? Jeff Bassett (301) 424-3362 (office) (240) 388-7148 Cell ? Time spent flying? - is NOT deducted from one¡¯s lifespan ? From: [email protected] <[email protected]>
On Behalf Of shixinlong via groups.io
Sent: Thursday, March 7, 2024 4:12 AM To: [email protected] Subject: Re: [H390-MVS] problem meet when run dfsmsdss restore ? Hi Tom, thanks for your reply.? yes, the source dumped from a 3390-9. //BACKUP? ?PROC VSN=' ',LB=' ',VOLSER=' '? ? ? ? ? ? ? ?? //STEP1? ? EXEC PGM=ADRDSSU,REGION=0M? ? ? ? ? ? ? ? ? ?? //SYSPRINT DD? ?SYSOUT=*? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //DASD1? ? DD UNIT=3390,VOL=SER=&VSN,DISP=SHR? ? ? ? ? ?? //TAPE1? ? DD DSN=V&VSN,DISP=(NEW,KEEP,DELETE),? ? ? ? ?? //? ? ? ? ?UNIT=TTAPE,LABEL=(&LB,SL),? ? ? ? ? ? ? ? ? ?? //? ? ? ? ?VOL=(,RETAIN,,,SER=&VOLSER),? ? ? ? ? ? ? ? ?? //? ? ? ? ?DCB=(BLKSIZE=64K,RECFM=U,TRTCH=COMP)? ? ? ? ?? //SYSIN? ? DD * DUMP INDDNAME(DASD1) OUTDDNAME(TAPE1) COMPRESS OPT(4) -?? ALLDATA(*) ALLEXCP WAIT(0,0) FULL? ? ? ? ? ? ? ? ? ? ? ?? ? |
The problem is not the dasd volume, it's the tape.? You probably reformatted the tape into AWS format, but DFDSS does not understand the record formats you are trying to install to the disk.
To copy a volume from a mainframe to Hercules, you need to upload the tape dataset to your PC in binary format and then upload that dataset to an empty DASD volume on your hercules based z/OS and restore it from there. Alternatively, I think there is a mod somewhere that you can use on the original mainframe that causes DFDSS to create the AWS format dataset that you can use with hercules.? DFDSS expects each block to be a track image, but I think when you made the AWS tape, you changed the blocks to be quite a bit smaller, but the DFDSS you are using under hercules doesn't "know" that it needs to combine blocks to get a real track image. There are several methods you can use to copy your data from a mainframe to hercules, but the one you are using isn't one that I have heard of previously.? Anyway, there are several tried and true methods to transfer the data. Brian |
Hi Brian, yes i followed the step on the hercules home page. i converted the backup tape to aws format. and want to load it to the dasd inited.
after i restored the resident volume i can ipl the zos system in hercules. Could you kindly provide some step-by-step instructions on?copy a volume from a mainframe to Hercules. Your help is greatly appreciated. Thank you |
CCKDDUMP program on actual system. On Sat, Mar 9, 2024 at 7:58?AM <shixinlong@...> wrote:
--
Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? |
This procedure works 100% of the time.
On the source system, (the real mainframe in your case): This first step uses DFdss to dump the volume to a temporary dataset that we will process with TRS to make it portable //DUMPDASD EXEC PGM=ADRDSSU????????????????????????????????????????? ? //SYSPRINT DD SYSOUT=*?????????????????????????????????????????????? ? //DISK1??? DD UNIT=3390,VOL=SER=Z25PTS,DISP=SHR??????? <-- this is the volume that you want to copy to Hercules (or any system) ????????????? //TAPE1??? DD DSN=SMSTAPE.Z25PTS.VOLUME.BACKUP,????? <-- this is the output file, which for me is on DASD, but can be on tape but the next step runs faster on DASD ?????????????? //??????????? DISP=(,CATLG,DELETE),????????????????????????????????? ? //??????????? UNIT=3390,SPACE=(TRK,(6000,6000),RLSE)???????????????? ? //SYSIN??? DD *????????????????????????????????????????????????????? ? ?PARALLEL??????????????????????????????????????????????????????????? ? ?DUMP FULL INDDNAME(DISK1) OUTDDNAME(TAPE1) CANCELERROR -??????????? ? ?? COMPRESS OPT(4) ADMINISTRATOR???????????????????????????????????? ? //*??????????????????????? This step makes the temporary dataset portable.? It can be sent via FTP to anywhere in BINARY format.? ?????????????????????????????????????????? //PACK0 EXEC PGM=TRSMAIN,PARM=PACK??????????????? <-- this step compresses the data in IBM's TRS format ?????????????????? //SYSPRINT DD SYSOUT=*?????????????????????????????????????????????? ? //INFILE DD DISP=(OLD,DELETE),DSN=SMSTAPE.Z25PTS.VOLUME.BACKUP??????? <-- this is the dataset created in the first step //OUTFILE DD DSN=BRIANW.Z25PTS.TERSED,DISP=(NEW,CATLG),?????????????? <-- this is the output that will be FTP'ed to your PC MAKE sure to transfer in BINARY format //??????? UNIT=TAPE,LABEL=(1,SL),RETPD=3,??????????????????????????? ? //??????? DCB=(RECFM=FB,DSORG=PS,LRECL=1024)????????????? The OUTFILE above needs to be FTP'ed in BINARY format to wherever you are sending it.? If to your PC, you will need to then FTP it to Hercules, but you can also FTP it directly to your hercules instance thereby removing the need to FTP it twice.? I use the FTP to the PC so that I have a copy of the dataset that I can fall back to if something happens.? ??????????? On the target Hercules system, first create a new dataset to FTP the file from the previous step into.? You need to manually create it because FTP doesn't like sending really large datsets without pre-allocation, but you could certainly use SITE commands to control the space and LRECL etc.? I jsut pre-allocate it because it's quicker for me. That dataset on your Hercules instance should ALWAYS be created as FB lrecl=1024 You then need to run another TRSMAIN to UNPACK the dataset that you just FTPed (same as previous step, but with parm=UNPACK make sure to use binary transfer in the FTP, preallocate as DSNTYPE=LARGE, because if you are sending 3390-9 or larger they tend to be big Most are very big pri=4000,sec=4000 in cylinders.? Most volumes are much smaller, but I have 8 3390-54 volumes that are just for transferring volumes in one big SMS pool.? I delete them and copy the compressed CCKD 64 volumes every time I bring up hercules, so they are always empty when I start up. //UNPACK0 EXEC PGM=TRSMAIN,PARM=UNPACK??????????????? <-- this step decompresses the data from IBM's TRS format ?????????????????? //SYSPRINT DD SYSOUT=*?????????????????????????????????????????????? ? //INFILE DD DISP=(OLD,DELETE),DSN=BRIANW.Z25PTS.TERSED??????? <-- this is the output that will be FTP'ed to your PC //OUTFILE DD DSN=BRIAN.Z25SYS.VOLUME,DISP=(NEW,CATLG),?????????????? <-- This is the input to the next step TRS will set the DCB back to the original in the first step //??????? UNIT=3390,VOL=SER=TRAN01,?????????? <-- one of my 3390-54 volumes used as a temp holing area. ???????????????? //??????? SPACE=(CYL,(4000,4000)),DSNTYPE=LARGE Then run DFDSS restore on hercules system? (if needed, this can be a SArestore): ?? //STEP1? EXEC? PGM=ADRDSSU, REGION=0M ???????????????????????????????????? //*??????????????????????????????????????????????????????????? ? //*??????????????????????????????????????????????????????????? ? //SYSPRINT? DD? SYSOUT=*?????????????????????????????????????? ? //OUTDD1?? DD??? VOL=SER=G25SYS,UNIT=3390,DISP=OLD????????? <--- the volume you are making ?? //INDD1 DD DSN=BRIAN.Z25SYS.VOLUME,???????? <-- this is the dataset you ftped ?????????????????? // DISP=(OLD,KEEP,KEEP)??????????????????????????????????????? ? //SYSIN??? DD??? *???????????????????????????????????????????? ? ?RESTORE FULL -??????????????????????????????????????????????? ? ???????? INDDNAME(INDD1) -???????????????????????????????????? ? ???????? OUTDDNAME(OUTDD1) -?????????????????????????????????? ? ???????? CANCELERROR -???????????????????????????????????????? ? ???????? WAIT(2,2) PURGE ADMIN COPYV?????????????????????????? ? /*????????????????? This process needs to run for each volume you want to use.? It seems like a lot of work, but actually it's very straightforward. There are two other methods that I know of that also always work, but this is the one I use the most. There is no limit to the volume size, I have moved terabyte EAS 3390 volumes with no issues. Brian ???????????????????????????????????????? |
Hi Brian,
Thanks so much for your time and detail steps. Two more questions per your reply: The first? is about pre-allocate datasets on hercules. Can i use dasdinit64 command to create it? or some command else? The second is from where can i run the unpack procedure as i don't have a z/os system up on hercules. I have only a standalone ickdsf and a standalone dfsmsdss restore.? My dasd device is 3390-9,original z/os version is 2.2. the hardware is z15. I need to restore the resident volume and catalog volume to hercules first so that i can ipl my system and restore the rest volumes via JCL. Thanks again for your kindly and patient guidance. |
Hi Shixinlong,
Have a look at wwwunterse, it runs on windows platforms and Linux also There is a Download button on the web page, which will ask you for some name and email details. You must not publish the files to any forum or public download, if you wish to tell someone about wwunterse then please only pass the link Regards, Tom |
Sorry, I had assumed you had a running system already.
The absolute simplest way to get a driving system up is to use Customized Offerings Driver (COD).? It's a single volume z/OS at V2.4 (or 2.3), that you can IPL direct from a USB drive.? You can order it from ShopZseries and I think there is no cost so long as you already have a mainframe and access to ShopZ. ? It's a full fledged system, but is only meant to be used to install a new OS when you have a new box that doesn't support your old z/OS, or you have no previous z/OS to start with.? The process is actually jsut IPLing DFDSS and creating the volume, then when you are done, you IPL the single volume system you just created.? From that point you can use it to install your volume copies or install from a z/OSMF installation package. You could also build your backup with AWSTAPE on your mainframe platform and use that tape for the stand alone install, but COD is way easier.? There are also unterse products that run on the PC platform which would get you to where you need to be also. |