INIT volume ended with 4



Discuss about all tools related to Mainframes but usable in a PC/Computer like Mainframe Simulators, Emulators, Abend Assist etc...

INIT volume ended with 4

Postby kingo » Thu May 24, 2018 9:55 pm

Hi all,

I am trying to Initialize my volume and I am getting return code 04

I am unable to decipher what is that I am missing here,could anyone provide me pointers of what I am missing here?

Below is the output

 INIT UNITADDRESS(0AB3) NOVERIFY VOLID(PVOL01) OWNER(KINGO) -              
  VTOC(0,1,1)                                                                    
ICK00700I DEVICE INFORMATION FOR 0AB3 IS CURRENTLY AS FOLLOWS:                  
          PHYSICAL DEVICE = 3340-35M                                            
          STORAGE CONTROLLER = 3830                                            
          STORAGE CONTROL DESCRIPTOR = 02                                      
          DEVICE DESCRIPTOR = 01                                                
ICK03091I EXISTING VOLUME SERIAL READ = PVOL01                                  
ICK10710I I/O ERROR OCCURRED ON DEVICE 0AB3                                    
CSW = 100B90 0E000000   CCW = 070FB091 40000006   FILEMASK = C4                
000FB091  +  00   0000015E 0008                                                
SENSE = 80008100 10000004 00000000 00000000 00000000 00000000                  
ICK12107I CONTINUE FUNCTION CANCELLED                                          
ICK01307I DEFECTIVE-TRACK LIST IN HEXADECIMAL FOR VOLUME PVOL01                
ICK01310I NO DEFECTIVE TRACKS WERE FOUND.                                      
ICK01313I VOLUME CONTAINS 12    ALTERNATE TRACKS -- 12    AVAILABLE.            
ICK01314I VTOC IS LOCATED AT CCHH=X'0000 0001' AND IS     1 TRACKS.            
ICK00001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 4            
kingo
 
Posts: 5
Joined: Wed Aug 15, 2007 8:06 am
Has thanked: 2 times
Been thanked: 0 time

Re: INIT volume ended with 4

 

Re: INIT volume ended with 4

Postby steve-myers » Fri May 25, 2018 1:57 am

You have to be semi expert in DASD I/O to interpret this. To be honest, I don't really know what's going on here

CSW = 100B90 0E000000 CSW (Channel Status Word) is a System/360 hardware data area that no longer exists. This is a z/Architecture data area that is recast to simulate a CSW. The E in the 0E00 is the first thing you look at.
E 1111
  ||||
  |||+Unit exception
  ||+-Unit check
  |+--Device end
  +---Channel end

 

You normally see C and D. I don't think I have ever seen Unit check.

The 100B90 is a hint as to the last executed CCW. I can only hope the error formatter in ICKDSF formatted the correct CCW.

CCW = 070FB091 40000006 CCW (Channel Command Word) is an instruction to the channel, control unit and device. The 07 is the instruction. The 40 tells the channel another CCW follows this CCW. I had to look the instruction up as this is an instruction an OS/360 EXCP programmer rarely, if ever, writes. It is a seek command, a directive to the device to physically move the access mechanism to cylinder 015E and select head 8. Us EXCP types tend to say "full seek" to differentiate it from a "seek head" command.

FILEMASK = C4 The "file mask" is bits that tell the device and control unit which commands the channel program can execute. Now I don't have these bits memorized and I'm not going to look then up for this as I don't think they are pertinent to this discussion. I hope I'm right! The real channel program is something like

Seek -- position the access mechanism
Set file mask -- Send the file mask to the device
Transfer to the channel program the OS/360 EXCP programmer wrote

PHYSICAL DEVICE = 3340-35M I never dealt with a real 3340. I'd bet a buck or two the last real 3340 was hauled off for recycling 30 years ago. I vaguely recall there were two flavors of 3340s, a "standard" density and a "double" density.

I'm only guessing here, but I'd guess the Hercules file that simulates the 3340 is too small.
steve-myers
Global moderator
 
Posts: 1932
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 206 times

Re: INIT volume ended with 4

Postby kingo » Fri May 25, 2018 7:45 am

Hi Steve,

Thanks for your reply.

I gave up pondering over the issue and I created a 3390 type successfully.
kingo
 
Posts: 5
Joined: Wed Aug 15, 2007 8:06 am
Has thanked: 2 times
Been thanked: 0 time


Return to Simulators & Emulators