background image

 

 

 

When operating with read intent, an incomplete Domain exception will not be
reported. The Internal Disk Subsystem will threshold unit checks for Incomplete
Domain exceptions. See “Nonsynchronous Operations” on page 4-19.

Search Operation:  

Certain Locate Record operations need orientation to a

specific record or record area before data transfer starts. Orientation is done by a
search operation.

When specifying index orientation, the device positions to index, but no search
operation is performed.

When specifying count or data area orientation (byte 0, bits 0 and 1 are ‘00’ or
‘10’), the search argument value (bytes 8 through 12) is compared with the
count-area record ID field of each record, including record zero, after the device
is at the proper sector. When the search operation starts, it continues until an
equal compare occurs, or until all record IDs on the track have been
processed. If no record ID on the track compares equal to the search
argument, the command is terminated with unit check status. The sense data
includes No Record Found.

When specifying home address orientation (byte 0, bits 0 and 1 are ‘01’), the
search argument (bytes 8 through 11) value is compared with the track address
field in the home address. (Byte 12 is not used.) If the comparison is unequal,
the command is terminated with unit check status. The sense data includes No
Record Found.

Nonsynchronous Operations:  

Nonsynchronous execution of write operation

implies transferring data from the channel to the Internal Disk and advancing the
channel program before the data is actually written on the disk subsystem.
Channel end status for each write command is presented after data transfer from
the channel is completed. If another write command is expected in the Locate
Record domain, device end status is presented together with channel end;
otherwise, device end status is presented when the write operation is complete at
the logical volume.

Channel command chaining flags on write commands are monitored in the domain
of the Locate Record. If chaining ends before the count of write commands is
exhausted, an Incomplete Domain exception condition is noted and the channel
program is immediately synchronized with the logical volume. The chaining flags
will usually provide an early indication of an Incomplete Domain exception, so that
the Internal Disk Subsystem can present channel end, harden the data from cache
to the disk subsystem, and then present device end. There are several cases
where the chaining flags indicate that chaining is to continue but the chain ends.

Several types of Incomplete Domain exception can arise:

An Incomplete Domain is detected. If no subsequent exception condition arises
when writing the data to the logical volume, the next channel program to that
logical volume may be rejected with unit check status, subject to thresholding.
The sense data contains command reject with incomplete domain (byte 0, bit
7).

If an Incomplete Domain exception condition is detected before final status is
presented for the last command in the chain and a subsequent exception
condition prevents data from being successfully written to the logical volume,
the channel program is immediately terminated with ending status that includes
unit check. The associated sense data describes the error that prevented the

   

Chapter 4. Command Descriptions

4-19

Summary of Contents for Multiprise 3000

Page 1: ...S 390 Multiprise 3000 Enterprise Server R IBM Internal Disk Subsystem Reference Guide SA22 1025 00 ...

Page 2: ......

Page 3: ...S 390 IBM Internal Disk Subsystem Reference Guide SA22 1025 00 ...

Page 4: ...ition November 1999 This edition SA22 1025 00 applies to the IBM Internal Disk Subsystem Copyright International Business Machines Corporation 1999 All rights reserved Note to U S Government Users Documentation related to restricted rights Use duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp ...

Page 5: ...mands and Facilities Not Supported 1 11 IOCP Definitions 1 11 RAS Characteristics 1 12 Chapter 2 Processing Commands and Presenting Status 2 1 Input Output Channel Interface 2 1 Command Processing 2 1 Status Presentation 2 1 Status Byte 2 1 Initial Status Byte 2 4 Status Pending Conditions 2 4 State Change Status 2 5 Effect of Subsystem and Device State on Status Presented to Command 2 5 Listing o...

Page 6: ... 54 Read Commands 4 61 Read Home Address 4 62 Read Record Zero 4 63 Read Count Key and Data 4 64 Read Key and Data 4 66 Read Data 4 68 Read Count 4 70 Read Multiple Count Key and Data 4 71 Read Track 4 72 Read Track Data 4 74 Read IPL 4 76 Search Commands 4 77 Search Home Address Equal 4 78 Search ID Equal 4 79 Search ID High 4 80 Search ID Equal or High 4 80 Search Key Equal 4 81 Search Key High ...

Page 7: ...se Byte 5 Low Cylinder Address 5 7 Sense Byte 6 High Cylinder Address and Track Address 5 7 Sense Byte 7 Format Message 5 7 Sense Bytes 8 through 23 Format Dependent Information 5 7 Sense Byte 25 Program Action Code 5 7 Sense Bytes 26 and 27 Configuration Data 5 8 Sense Bytes 29 through 31 Cylinder and Head Address 5 8 24 Byte Compatibility Sense Data Formats 5 10 Format 0 Program or System Checks...

Page 8: ...or Recovery Procedures 7 1 ERPs for 24 Byte Compatibility Sense 7 1 Error Recovery Actions 7 2 ERPs for ECKD 32 Byte Sense 7 5 ERP Actions 7 6 ERP Message Requirements 7 9 Appendix A Device Characteristics A 1 Appendix B Caching Algorithms B 1 Caching Algorithm Definitions B 1 Algorithms for Cache MISSES B 1 Algorithms for Cache HITS B 2 Algorithm Modifications due to Cache Hints B 2 Algorithm Spe...

Page 9: ... O subsystem within the CPC Unique to the Internal Disk subsystem are Hard Disk Drives HDDs and logic cards that carry adapter electronics The logic cards are called SSA adapter cards The Hard Disk Drives HDDs used in Internal Disk are 3 5 inch fixed block disk drives with a data capacity of 18 GB The SSA adapter card interfaces to the Multiprise 3000 via a PCI bus and provides an industry standar...

Page 10: ...de Control unit and data sharing among logical partitions Internal Disk RAID Fast Write IDRFW provides a fast write capability through the SSA adapter card Host Processor Internal Disk is packaged with the Multiprise 3000 which is a unique card on board package that takes advantage of Integrated RAID Storage Integrated Tape Integrated Communications Industry Standard PCI Adapters S 390 ESCON Chann...

Page 11: ... avoids a performance bottleneck that would occur if one drive were assigned all of the redundancy The 4 P arrangement has 80 of its HDD space available for user data Similarly the 6 P array may be thought of as having 6 HDDs for user data and a single Parity Drive Almost 86 of the 6 P array can contain user data A RAID 1 organization uses 50 of the disk space for user data and the other 50 for re...

Page 12: ...NVRAM is a centralized storage that dynamically services the most active HDDs on the SSA adapter card The NVRAM operates without a dependency upon the Internal Battery Feature The NVRAM retains all of its data in the event of a system or room Emergency Power Off EPO The operating system should issue a Sense Subsystem Status command to determine the RAID fast write status of the associated logical ...

Page 13: ...form all channel data transfers as non synchronous operations The logical volumes are emulated 3380 model J E or K volumes and 3390 model 1 2 3 or 9 volumes The 3380 model J has the same track format and number of cylinders as the 3380 Standard and the 3380 model D By emulating 3380 model J E or K volumes all of the members of the 3380 family are emulated The large capacity of the 18GB UltraStar 1...

Page 14: ...nance The 18GB UltraStar 18ZX HDDs used within Internal Disk incorporate their own internal media maintenance capabilities Internal Disk media maintenance strategy is to capitalize on the HDD capabilities wherever possible Media maintenance is performed internal to the storage subsystem Therefore defective sectors are reassigned internally and require no customer interaction Search Assist The Inte...

Page 15: ...g busy indication in some rare instances of subsystem failure as a means for having CCW chains redriven from the host system The 3990 Models 2 and 3 documentation used State Change Pending to describe the condition that is called Long Busy in this document Internal Disk Components The following section describes the basic components of the Internal Disk Subsystem The Internal Disk is ordered by ca...

Page 16: ...SSA Adapter Card include Support of 2 SSA loops Independent Packet Network IPN transactions Hardware scatter gather Full duplex communication HDD hot plugging Error detection and correction Data scrubbing HDD Packaging An HDD for use on Internal Disk is mounted on a carrier which facilitates installation and provides additional shock protection The HDD and its carrier are then mounted into either ...

Page 17: ...f 3390 3 would exceed the number of storage units available 64 logical volumes of 3390 1 can be accommodated using 64 of the 73 storage units and all 64 logical volumes 65 logical volumes of 3390 1 would exceed the number of logical volume addresses provided Table 1 2 Storage Units Provided by HDDs Number of HDDs in the Array Number of Storage Units 4 P 73 6 P 109 Note Does not include spare HDDs ...

Page 18: ...resses 0 to 63 x 00 to x 3F Second array 6 P addresses 64 to 159 x 40 to x 9F Third array 6 P addresses 160 to 255 x A0 to x FF Internal Disk Configuration Granularity The Internal Disk subsystem may consist of as little as one CPC frame containing one RAID array and as much as the CPC frame plus two expansion frames with a total of nine RAID arrays in the three frames Growth of a configuration wi...

Page 19: ...iguration Program IOCP utility is used to specify Internal Disk configuration to the hardware IOCP changes for Internal Disk include using the DSD Direct System Device channel type and unique rules for control units and devices defined on the new channel A channel path type of DSD Direct System Device is defined for Internal Disk interfaces The DSD CHPID can be dedicated or shared or reconfigurabl...

Page 20: ...CE statements are needed for each logical volume defined on each RAID 5 array on a SSA loop For details about the IOCP specifications of Internal Disk see Input Output Configuration Program User s Guide and ESCON Channel to Channel Reference GC38 0401 RAS Characteristics Internal Disk is a feature of the CPC platforms with which it is packaged The RAS characteristics of Internal Disk are intended ...

Page 21: ...rnal Disk Subsystem accepts and processes channel commands when The host system is powered on and initialized The logical path has been established between the Internal Disk Subsystem and the host system The logical volume address is within the range supported by the control unit The physical RAID array associated with the logical volume address is installed and on line A Logical Volume has been c...

Page 22: ...ier Bit 1 Bit 1 is set to a 1 With channel end and device end to show a Search High Search Equal or a Search High or Equal command completed and the condition is satisfied With unit check and channel end to show an unusual condition from the last operation The last channel command must be retried If device end is on immediate retry is requested See Channel Command Retry on page 2 9 Control Unit En...

Page 23: ...m Subsystem Function command on any interface with the same path group ID as the interface processing the command Channel end device end and unit check are for all other unit check conditions If status modifier and channel end are set with unit check command retry is requested If immediate retry is requested device end is included See Channel Command Retry on page 2 9 Note When Internal Disk prese...

Page 24: ...he busy bit is set to a 1 in the status byte The active busy bit shows that the logical volume is busy because of the outstanding status The status pending is cleared Status is pending in the subsystem if A cancel was signaled after initial status was accepted but before channel end was accepted for any CCW The ending status for the operation is pending when the operation is complete Note In some ...

Page 25: ...terruption Logical volume goes from not ready to the ready state Long busy condition no longer exists for the logical volume Set System Characteristics order changes stored values for a path group This state change is issued only to channels in the path group that changed See Set System Characteristics PSF Order Code x 1D on page 4 129 State change interruptions are sent to each LPAR Note For a st...

Page 26: ...Path Group ID 34 RSTA Reset Allegiance 44 UR Unconditional Reserve 14 RDC Read Device Characteristics 64 RCD Read Configuration Data FA SNSID Sense ID E4 SNSS Sense Subsystem Status 54 SNS Sense with contingent allegiance 04 Other Special Commands Another set of commands has the property of executing although the logical volume is either Long Busy or Not Available These commands do not execute thr...

Page 27: ...iance command The allegiance was broken but the resulting Unit Check status has not yet been presented Logical Volume Reset Notify A system reset has been received and executed The reset has removed any allegiance that was in place for the resetting LPAR Unit Check status is presented to the next initial selection by the resetting LPAR to indicate that a reset occurred An exception is made for Rea...

Page 28: ...equired or IDFW Exposed Unit Check 4 Accepted Accepted Accepted Accepted Unit Check 4 Accepted Accepted Unit Check 4 Accepted Accepted Accepted Accepted Accepted Accepted Accepted Accepted Accepted Unit Check 4 Logical Volume Reserved Different LPAR IOQueued Accepted Accepted Accepted Accepted IOQueued IOQueued IOQueued IOQueued Accepted Accepted IOQueued IOQueued IOQueued IOQueued IOQueued IOQueu...

Page 29: ...ume or it may be subsystem contingent allegiance on behalf of a particular LPAR and logical volume There are no cases in Internal Disk where a contingent allegiance at one logical volume impacts the use of other logical volumes The contingent allegiance lasts until a command other than No Op receives an initial status byte of all zeros for the channel and logical volume that generated the unit che...

Page 30: ...ffecting the cache image For write operations Internal Disk terminates the writing to the cache and discards the record The modified record is not written to the logical volume Effect of System Reset A system reset affects all logical volumes that have allegiance to the logical path issuing the reset Status is cleared for all affected logical volumes Logical volumes that were Reserved are Released...

Page 31: ...al volumes on the reset interface will receive unit check with sense data that includes equipment check The format 0 message 8 sense shows the host program that the path and reservation status of the subsystem may not be as expected Note If a reset occurs and the following selection is for a Read IPL command Internal Disk Subsystem does not present reset notification for that selection The reset n...

Page 32: ...2 12 Internal Disk Subsystem Reference Guide ...

Page 33: ...ecording area on the emulated device is a track Each track has a unique address The first record on a CKD track is a special single area record which is the home address The Internal Disk Subsystem does not actually record this area on the disk subsystem but keeps the CCHH value as part of the cache directory Following home address is record zero One or more user data records can be written on a t...

Page 34: ...hich is a state of awareness of the type of area that has just been processed If the control unit does not know this the control unit is not oriented Orientation occurs by finding either the start of the track index or the start of a count area other than the record zero count area As the channel program continues the control unit maintains orientation switching from one orientation state to anoth...

Page 35: ...e first and last tracks in the extent Defines attributes of and limitations on the commands that follow in the channel program Defines usage and control attributes for cache for the remaining channel program See Define Extent on page 4 8 for a complete description Locate Record and Locate Record Extended Commands The Locate Record command Specifies the operations and the number of consecutive reco...

Page 36: ...cord the length of the key or data areas of a record See page 4 82 for a list of the format write commands File Protection A file mask protects the integrity of data on the device from multiple users The file mask limits the write operations in a channel program It can also limit channel programs to operations on a single track or on a single cylinder The file mask is zero at the start of a channe...

Page 37: ...page A 1 See also IBM 3380 Direct Access Storage Introduction and IBM 3390 Direct Access Storage Introduction Chapter 3 Elements of Data Access 3 5 ...

Page 38: ...3 6 Internal Disk Subsystem Reference Guide ...

Page 39: ...causes the operation specified by the command code in the next CCW to start on normal completion of the current operation Suppress Length Indication SLI Bit 34 format 0 or bit 10 format 1 controls if an incorrect length indication is to be sent to the program When this bit is 1 and the CD flag is 0 incorrect length is suppressed When both the CC and SLI flags are 1 and the CD flag is 0 command cha...

Page 40: ...ect format 0 message 1 Command Operations Multitrack Operations Operations can be either inside or outside the domain of a Locate Record or Locate Record Extended Most data transfer operations in a Locate Record or Locate Record Extended domain may operate in multitrack mode That is when the operation continues past the end of the current track the control unit advances to the next track and conti...

Page 41: ...e sense data includes File Protected The current track is the last track in the cylinder The operation is terminated with unit check status The sense data includes End of Cylinder Defective Alternate Track Operations Media maintenance is accomplished at the physical device level Defective and alternate tracks are not allowed to be assigned by the host The Internal Disk examines the data transmitte...

Page 42: ...4 81 4 82 4 82 Write Commands Write Home Address Write Record Zero Write Count Key and Data Write Count Key and Data Next Track Erase Write Update Key and Data Write Key and Data Write Update Data Write Data Write Full Track Write Track Data WHA WR0 WCKD WCKDNT ERAS WUKD WKD WUD WD WFT WTD 19 15 1D 11 0D 05 9D 8D 85 95 A5 4 84 4 85 4 86 4 88 4 90 4 91 4 93 4 95 4 97 4 99 4 102 Sense Commands Sense...

Page 43: ...ge single track Mode Multitrack Mode Subsystem Commands Perform Subsystem Function Sense Subsystem Status Read Subsystem Data PSF SNSS RSSD 27 54 3E 4 130 4 136 4 139 Note 1 This command is valid on 3380 logical volumes not on 3390 logical volumes Chapter 4 Command Descriptions 4 5 ...

Page 44: ...iance 4 123 47 Locate Record 4 13 49 Search Key High 4 82 4B Locate Record Extended 4 27 51 Search ID High 4 80 54 Sense Subsystem Status 4 136 5B Suspend Multipath Reconnection 4 130 5E Read Multiple Count Key and Data 4 71 63 Define Extent 4 8 64 Read Device Characteristics 4 54 69 Search Key Equal or High 4 82 71 Search ID Equal or High 4 80 85 Write Update Data MT 4 95 86 Read Data MT 4 68 8D ...

Page 45: ...ciated with the command to the Internal Disk Control information can include some further action to be taken by the Internal Disk or logical volume or it can define the types of operations allowed or data areas that can be accessed The Read Sector and Read Device Characteristics commands in this group request the Internal Disk to transfer information about the addressed logical volume to the host ...

Page 46: ...k status The sense data contains command reject with format 0 message 3 The Internal Disk verifies the parameters and reserved fields in their order in Table 4 4 except it checks byte 1 bits 0 and 1 first If an exception condition exists in more than one parameter only the first exception is reported Ending Status The control unit presents channel end and device end status after it verifies the pa...

Page 47: ... than bypass cache Byte 0 Bit 2 Must be zero or the command is terminated with unit check status The sense data contains command reject with format 0 message 4 Table 4 5 Mask Byte Definition Byte 0 Bits Bit Value Mask Byte Function 0 1 Write Control 00 Permit all write operations except Write HA and Write R0 01 Inhibit all write operations 10 Permit update write operations only 11 Permit all write...

Page 48: ... Diagnostic Authorization with Inhibit Data Check Correction Retry can access all primary tracks If the Internal Disk Subsystem adds support for other track groups at a later time programs operating with this access authority will be able to access them Data Check Correction Retry by the operating system are not used by the subsystem therefore there is no conflict with an intent to Inhibit Retry B...

Page 49: ... when the actual record length is not known Byte 1 Bits 3 through 5 Subsystem Operation Mode Specify how to manage the cache in the command chain For details of how this parameter affects cache operations see Appendix B Algorithm Modifications due to Cache Hints on page B 2 000 Normal Cache Replacement The Internal Disk manages cache by using the least recently used algorithm for making cache spac...

Page 50: ...te Record or Locate Record Extended domain See Write Data 01 Operation Code on page 4 20 The proper blocksize value depends on what areas of the record are to be sent The value is one of the following The data length DL The key length KL plus DL The sum of DL and KL plus 8 for the count area If the blocksize exceeds the logical volume s track capacity maximum R1 length plus eight the command is re...

Page 51: ...the value in bytes 8 11 the command is rejected with unit check status The sense data contains command reject with format 0 message 4 See Appendix A Device Characteristics on page A 1 for valid track address ranges Locate Record Description The location and number of records to process and the operation to perform are specified in the Locate Record command parameters See Locate Record and Locate R...

Page 52: ...it presents device end after it retrieves track format information from the logical volume Locate Record Parameters The Locate Record parameters are shown in Table 4 7 Table 4 7 Locate Record Parameters Byte Parameter Name 0 Operation byte 1 Auxiliary byte 2 Reserved must be zero 3 Count 4 7 Seek address 8 12 Search argument 13 Sector number 14 15 Transfer length factor Operation Byte Byte 0 Byte ...

Page 53: ... the record that satisfied the search operation Data area orientation is valid with the Orient 00 Write Data 01 Read Data 06 and Read 16 operations only If bits 2 through 7 contain any other code when bits 0 and 1 are 10 the command is rejected with unit check status The sense data contains command reject with format 0 message 4 Index 11 specifies that data access for the CCW immediately following...

Page 54: ... 1 6 When any of these bits is set to a 1 the Locate Record command is rejected with unit check status The sense data contains command reject with format 0 message 4 Byte 1 Bit 7 When set to 1 specifies that the last data transfer CCW in the Locate Record domain will be a Read Count CCW The Read Count CCW is a suffix to the Locate Record domain The record it processes is included in the count of r...

Page 55: ...to the current or next I O operation to this logical volume address Seek Address Bytes 4 through 7 Bytes 4 through 7 specify a seek address cylinder and head CCHH The value in bytes 4 through 7 must be a valid track address for the logical volume If the seek address is not valid the command is rejected with unit check status The sense data contains command reject with format 0 message 4 See Append...

Page 56: ... the Locate Record command processing It also describes processing related to the data transfer commands that follow the Locate Record command The command descriptions show the processing that occurs as part of each data transfer command Each operation specifies the type of data transfer commands that the Locate Record domain expects and permits If any other command sequence is in the Locate Recor...

Page 57: ...he disk subsystem Channel end status for each write command is presented after data transfer from the channel is completed If another write command is expected in the Locate Record domain device end status is presented together with channel end otherwise device end status is presented when the write operation is complete at the logical volume Channel command chaining flags on write commands are mo...

Page 58: ...e track access in accordance with the seek address and sector number parameters When the Locate Record command is followed by a search or read command the search operations specified by the search argument and orientation modifiers is performed after the track access is complete When the Locate Record command is not followed by a search or read command a search operation is not performed The Locat...

Page 59: ...l Disk detects an invalid command sequence in the Locate Record domain the invalid command is rejected with unit check status The sense data contains command reject with format 0 message 2 If a multitrack operation continues after the last record on a track the control unit advances to the next track and updates the first user data record on the next track See Operations in the Domain of a Locate ...

Page 60: ...hen track access completes the control unit orients the logical volume by the orientation modifiers byte 0 bits 0 and 1 The Locate Record command must be followed by the number of formatting write commands specified by the count parameter Command sequence requirements for formatting write commands following the Locate Record command are When home address orientation is specified a Locate Record co...

Page 61: ...in the defined extent execution is terminated with unit check status The sense data includes End of Cylinder If CKD conversion is not specified the operation continues as described in Operations in the Domain of a Locate Record or Locate Record Extended on page 4 2 Write Track 0B Operation Code This operation code prepares the control unit to update write the data area of record zero and format th...

Page 62: ...ransfer all records from one or more consecutively addressed tracks to the channel Data transfer starts with the first record including record zero following the orientation specified by the search argument and orientation modifier parameters The number of tracks to use is specified in the count parameter The control unit uses the seek address and sector number parameters to start track access Whe...

Page 63: ...ed with unit check status The sense data contains command reject with format 0 message 4 The control unit uses the seek address and sector number parameters to start track access If index or home address orientation is specified a sector value of zero is used for track access The sector number parameter is not used When track access is complete the control unit orients the logical volume according...

Page 64: ...If no user data record is detected on the track the command is rejected with unit check status The sense data includes No Record Found If the operation continues after reading the last record on a track the control unit advances to the next track and reads the first user data record on the next track See Operations in the Domain of a Locate Record or Locate Record Extended on page 4 2 If the next ...

Page 65: ...racks to be processed the operation to be performed and if an extended operation is specified the number of extended parameter bytes required The extended parameters contain additional control information for those extended operations requiring them The subsystem initially requests 20 bytes of parameters from the channel if the channel sends fewer than 20 bytes the command is rejected with unit ch...

Page 66: ...yte 2 Reserved must be zero 3 Count 4 7 Seek address 8 12 Search argument 13 Sector number 14 15 Transfer length factor 16 Reserved must be zero 17 Extended Operation byte 18 19 Extended Parameter Length 20 21 Extended Parameter Operation Byte Byte 0 Byte 0 specifies the orientation to establish when track access is complete It also specifies the operations to perform in the Locate Record Extended...

Page 67: ... not process any areas of the record that satisfied the search operation Data area orientation is valid with the Extended 3F Write Data 01 and Read 16 Operation codes only If the Operation code is x 3F the extended operation byte must specify Update Write Trackset byte 17 x 13 If bits 2 through 7 contain any other code when bits 0 and 1 are 10 the command is rejected with unit check status The sen...

Page 68: ... nv Combination is not valid Auxiliary Byte Byte 1 Byte 1 is for verifying optional fields in the Locate Record Extended parameter list The auxiliary byte is shown in Table 4 14 Byte 1 Bit 0 When 1 specifies that bytes 14 and 15 contain a transfer length factor that overrides any larger blocksize parameter in the Define Extent command Byte 1 Bits 1 6 When any of these bits is set to a 1 the Locate...

Page 69: ...ns on page 4 34 describes each operation code The count must not be zero If the Read Count command suffix byte 1 bit 7 is set to 1 the count must be greater than 1 If the count does not satisfy these requirements the command is rejected with unit check status The sense data contains command reject with format 0 message 4 Note The user must ensure that the count is accurate If the number of write C...

Page 70: ...tain a transfer length factor The control unit uses the transfer length factor to determine the number of data bytes to request from the channel for each write command that follows a Locate Record Extended command specifying Write Data 01 The product of the value in bytes 14 and 15 and the count parameter determines the total number of bytes to be sent in a Locate Record Extended domain specifying...

Page 71: ...ic Locate Record Extended operation codes Table 4 15 Extended Operation Codes Hex Code Extended Operation Code 09 Write Any 0A Read Any 0E Read Trackset 10 Prestage Trackset 11 Write Trackset 13 Update Write Trackset Extended Parameter Length Bytes 18 19 Bytes 18 19 specify the total number of extended parameter bytes required by the extended operation code specified in byte 17 The format and cont...

Page 72: ...data transfer commands that follow the Locate Record Extended command The command descriptions show the processing that occurs as part of each data transfer command This section describes only those operations unique to the Locate Record Extended command For a general operations description and operation codes common with Locate Record refer to Locate Record Operations on page 4 18 Read Any 0A Ext...

Page 73: ...the last record on a track the control unit orients to the beginning of the count area of the first data record on the track and prepares to operate on that record If the number of read commands exceeds the number of data records on the track one or more of the data records will be read again No exception is reported The record ID of the first record is contained in the first count field or can be...

Page 74: ...e followed by the number of Write Update Data commands sufficient to process the specified number of records in the count parameter When the auxiliary byte bit 7 is 1 the Locate Record Extended command must be followed by a number of Write Update Data commands that is one less than the value specified by the count parameter and the last channel command in the Locate Record Extended domain must be ...

Page 75: ...ata on the specified track is to be read a 0 shows that the specified track is to be skipped The first bit in the bit map must be 1 and represents the track whose address is specified in the seek address parameter bytes 4 7 Subsequent addressed tracks are in ascending order The number of 1 bits in the bit map must equal the value in the Count Parameter byte 3 If the first bit in the map is not a 1...

Page 76: ...ck that is outside of the extent may be honored a later attempt to access the prestaged data will be required to be within extent limits The first bit must be a 1 and represents the track whose address is specified in the Seek Address parameter bytes 4 7 of the LRE parameters Subsequent bits represent consecutively addressed tracks in ascending order If the first bit is not a 1 the Locate Record E...

Page 77: ... map must be equal to the value in the Count parameter byte 3 otherwise Locate Record Extended is terminated with status that includes unit check Command Reject format 0 message 4 Invalid Parameter All tracks in the bit map represented by 1 bits must be within the defined extent otherwise Locate Record Extended is terminated with status that includes unit check File Protected Track access is initi...

Page 78: ...s is specified in the Seek Address parameter bytes 4 7 Subsequent bits represent consecutively addressed tracks in ascending order If the first bit is not a 1 Locate Record Extended is terminated with status that includes unit check Command Reject format 0 message 4 Invalid Parameter The number of 1 bits in the bit map must be equal to the value in the Count parameter byte 3 otherwise Locate Recor...

Page 79: ...Disk would encounter Invalid Command Sequence rather than Invalid Command in this instance Chapter 4 Command Descriptions 4 41 ...

Page 80: ...at is issued within the domain of a prior Locate Record or Locate Record Extended command is terminated with status that includes unit check Sense data will indicate Command Reject with format 0 message 2 Invalid Command Sequence Internal Disk requests a minimum of 64 bytes of parameters from the channel if the channel provides fewer than 64 bytes execution is terminated with status that includes ...

Page 81: ...nt Field Valid 1 0 Time Stamp in bytes 28 35 invalid Ignored by Internal Disk 1 Time Stamp in bytes 28 35 valid Ignored by Internal Disk 2 7 0 Not used Table 4 19 Prefix Byte 3 Auxiliary Byte Bits Value Definition 0 1 Suspend Multipath Reconnection Ignored by Internal Disk 1 3 Ignored by Internal Disk 4 0 Check all parameters in the Define Extent and Locate Record Extended fields 1 Parameter valid...

Page 82: ...tended Format Byte x 01 The parameter list has the following format Byte Parameter 0 Format 1 Flags 2 Not used 3 Auxiliary byte 4 11 Not used 12 43 Define Extent Parameters 44 63 Locate Record Extended 44 Operation byte 45 Auxiliary byte 46 Reserved 47 Count 48 51 Seek address 52 56 Search argument 57 Sector number 58 59 Transfer length factor 60 Reserved 61 Extended operation byte 62 63 Extended ...

Page 83: ...meter 62 63 Perform Subsystem Function Common Bytes 44 Operation byte 62 PSF Order 63 PSF Flags 64 NN PSF Order unique parameters NN is dependent on the order and can be 65535 Chapter 4 Command Descriptions 4 45 ...

Page 84: ... the seek operation does not complete successfully the command is terminated with unit check status If the device starts the seek operation before the channel program ends and the operation cannot complete successfully the control unit presents unit check status This status is for a command other than the seek command that specified the operation The sense data describes the condition that prevent...

Page 85: ...ewer than 6 bytes the command is rejected with unit check status The sense data contains command reject with format 0 message 3 The track address is checked for validity for the current access authorization and the logical volume type See Appendix A Device Characteristics on page A 1 If the seek address parameter is not valid the command is rejected with unit check status The sense data contains c...

Page 86: ...channel sends fewer than 6 bytes the command is rejected with unit check status The sense data contains command reject with format 0 message 3 The track address is checked for validity for the current access authorization and the logical volume type See Appendix A Device Characteristics on page A 1 If the seek address parameter is not valid the command is rejected with unit check status The sense ...

Page 87: ...channel sends fewer than 6 bytes the command is rejected with unit check status The sense data contains command reject with format 0 message 3 The track address is checked for validity for the current access authorization and the logical volume type See Appendix A Device Characteristics on page A 1 If the seek address parameter is not valid the command is rejected with unit check status The sense ...

Page 88: ... command is in a Locate Record or Locate Record Extended domain it is rejected with unit check status The sense data contains command reject with format 0 message 2 If the file mask inhibits Recalibrate commands bits 3 and 4 are not 00 or specifies diagnostic authorization bits 5 and 6 are 10 the command is terminated with unit check status file protected If the Recalibrate command is preceded in ...

Page 89: ...et File Mask command Is received on a 3390 logical volume address and the command was preceded in the channel program by a Read IPL command The control unit requests a single byte transfer from the channel If the channel does not send a data byte the command is rejected with unit check status The sense data contains command reject with format 0 message 3 The control unit checks that the mask byte ...

Page 90: ...used Previous values are discarded Any sector value stored and not used at normal or unit check completion of command chaining is discarded Chaining and Restrictions Unit check status with the sense data containing command reject with format 0 message 2 occurs if This command is in the domain of a Locate Record or Locate Record Extended This command is not preceded in the command chain by a comman...

Page 91: ...ions If this command is in a Locate Record or Locate Record Extended domain it is rejected with unit check status The sense data contains command reject with format 0 message 2 If a read write or search command does not immediately precede this command a valid but unpredictable sector value goes to the channel If the immediately preceding search or data transfer command processed home address or r...

Page 92: ...nd model will be X 00 and all model dependent data will be zeros bytes 2 5 12 13 28 29 32 33 36 41 Chaining and Restrictions If this command is in a Locate Record or Locate Record Extended domain it is rejected with unit check status The sense data contains command reject with format 0 message 2 See Effect of Subsystem and Device State on Status Presented to Command on page 2 5 for the operation o...

Page 93: ... Track capacity calculation factors F1 through F5 28 29 First alternate cylinder address 30 31 Number of alternate tracks 32 33 First diagnostic cylinder address 34 35 Number of diagnostic tracks 36 37 First device support cylinder address 38 39 Number of device support tracks 40 MDR record ID 41 OBR record ID 42 Control Unit type code 43 Read Trackset parameter length 44 45 Maximum record zero le...

Page 94: ...imal digits Byte 5 Contains the device model and device features Bytes 6 through 9 Shows the program visible facilities in the device and the control unit The active bits show Table 4 21 Byte 2 Definition Bits Value Definition 0 1 b 11 ECKD Architecture 2 b 1 Nonsynchronous mode 3 4 b 00 Reserved 5 7 b 010 Control unit model 4 56 Internal Disk Subsystem Reference Guide ...

Page 95: ...e 4 Subsystem supports Set System Characteristics PSF Order Code x 1D set to one 5 Set System Characteristics has been received for this Path Group 6 Subsystem supports the Prefix Command 7 Reserved set to zero 7 Bits Definition 0 Subsystem supports Prestage Trackset 0C operation 1 7 Reserved set to zeros 8 Bits Definition 0 3 Reserved set to zeros 4 Subsystem supports Read Track Data 5 Subsystem ...

Page 96: ... for the logical volume A value of X 01 specifies that the amount of space occupied by a record is given by the formula Space FL1 FL2 Where Each FL1 and FL2 are rounded up to an integral multiple of F1 FL1 F2 DL FL2 F3 KL FL2 is set to zero when the key length is zero DL is data length and KL is key length F1 is an 8 bit unsigned binary value contained in byte 23 F2 is a 16 bit unsigned binary val...

Page 97: ...vice Byte 42 Contains an 8 bit subsystem type code that identifies the control unit type model and features Byte 43 Contains an unsigned 8 bit binary value A value of X 02 specifies that the subsystem does support the Read Trackset extended operations and that 2 bytes is the maximum length of the extended parameters Bytes 44 and 45 Contains an unsigned 16 bit binary value that shows the maximum da...

Page 98: ...ntained in byte 50 Bytes 51 53 Reserved Byte 54 Identifies the device and control unit features The active bits show Byte 55 Reserved Byte 56 Contains an 8 bit Real Control Unit type code that identifies the actual control unit type model and features Byte 42 contains the emulated Control Unit Type code Byte 57 Contains an 8 bit Real Device type code that identifies the actual device type model an...

Page 99: ...e extent limits described by the preceding Define Extent command If the track is not in the specified boundaries the read command is terminated with unit check status The sense data includes File Protected Most read commands can be in multitrack mode See Operations Outside the Domain of a Locate Record or Locate Record Extended on page 4 3 Only two of the read commands accepted by Internal Disk Re...

Page 100: ... before it transfers data a multitrack Read HA command always causes the control unit to switch to the next track before it transfers any data Chaining and Restrictions Unit check status with the sense data containing command reject with format 0 message 2 occurs if this command is Not preceded in the command chain by a Seek Seek Cylinder Locate Record Locate Record Extended or Read IPL command In...

Page 101: ...he record to the channel Note When in a Locate Record or Locate Record Extended domain if the control unit is not oriented to home address when starting a multitrack Read R0 the command always advances to the next track before sending record zero Chaining and Restrictions Unit check status with the sense data containing command reject with format 0 message 2 occurs if this command is Not preceded ...

Page 102: ...er data record to the channel See Operations in the Domain of a Locate Record or Locate Record Extended on page 4 2 If the track does not have a user data record the command is terminated with unit check status The sense data includes No Record Found If end of track is detected before a count area is found when not in a Locate Record or Locate Record Extended domain the operation continues accordi...

Page 103: ...ontrol unit presents channel end and device end status when data transfer completes When the command completes the control unit is oriented to the data area of the record that was read Chapter 4 Command Descriptions 4 65 ...

Page 104: ...ted with unit check status The sense data includes No Record Found If the multitrack bit is 1 the control unit advances to the next track It sends the key and data areas of the first user data record to the channel See Operations in the Domain of a Locate Record or Locate Record Extended on page 4 2 If the track does not have a user data record the command is terminated with unit check status The ...

Page 105: ...and is terminated with channel end device end and unit exception status Ending Status The control unit presents channel end and device end status when data transfer completes When the command completes the control unit is oriented to the data area of the record that was read Chapter 4 Command Descriptions 4 67 ...

Page 106: ... No Record Found If the multitrack bit is 1 the control unit advances to the next track It sends the data area of the first user data record to the channel See Operations in the Domain of a Locate Record or Locate Record Extended on page 4 2 If the track does not have a user data record the command is terminated with unit check status The sense data includes No Record Found If end of track is dete...

Page 107: ...ontrol unit presents channel end and device end status when data transfer completes When the command completes the control unit is oriented to the data area of the record that was read Chapter 4 Command Descriptions 4 69 ...

Page 108: ... unit advances to the next track It sends the count area of the first user data record to the channel See Operations in the Domain of a Locate Record or Locate Record Extended on page 4 2 If the track does not have a user data record the command is terminated with unit check status The sense data includes No Record Found If end of track is detected before a count area is found when not in a Locate...

Page 109: ...control unit continues reading data until the end of the current track then presents channel end and device end status The control unit does not report an exception condition when the channel truncates data transfer If an exception condition occurs after the channel truncates data transfer the status includes channel end device end and unit check If a read or search command other than Read Multipl...

Page 110: ...Read Track command in a Locate Record or Locate Record Extended domain is oriented to the first count area including R0 following the orientation established by the Locate Record command The control unit sends each count key and data area on the track until end of track If the orientation is to home address and there is no record zero the command is terminated with unit check status The sense data...

Page 111: ...ta area nor reports an exception status The read operation continues with the next count area if any on the track Ending Status The control unit presents channel end and device end status when data transfer completes When the command completes the control unit is oriented to the data area of the last record on the track Chapter 4 Command Descriptions 4 73 ...

Page 112: ...user record on the track The last track uses the TLF Track Length Factor specified in the Locate Record or Locate Record Extended command If either bit 0 of the auxiliary byte TLF specified or the TLF is zero then all data fields from point of orientation through index on the last track of the domain are to be transferred If bit 0 of the auxiliary byte TLF specified is a one and the TLF is not zer...

Page 113: ...Parameter Channel End and Device End status is presented at the completion of data transfer If a zero length data area is encountered execution is terminated with status that includes Unit Exception If the channel truncates data transfer due to exhaustion of the CCW byte count execution is terminated with status that includes unit check Command Reject format 0 message 3 CCW byte count less than re...

Page 114: ...ent address is the highest primary track address on the logical volume Locate Record Operation byte is X 86 Auxiliary byte is X 00 Count is X 02 Seek address search argument sector number and transfer length factor are zeros Note If a reset occurs and the following selection is for a Read IPL command Internal Disk does not present reset notification for that selection The reset notification condit...

Page 115: ...nd causes processing of only one record The control unit shows a successful compare operation by including status modifier in the ending status Search commands are not valid in the domain of a Locate Record or Locate Record Extended If a search command is in the domain of a Locate Record that command is rejected with unit check status The sense data contains command reject with format 0 message 2 ...

Page 116: ...de the Domain of a Locate Record or Locate Record Extended on page 4 3 Chaining and Restrictions Unit check status with the sense data containing command reject with format 0 message 2 occurs if this command is Not preceded in the command chain by a Seek Seek Cylinder Locate Record Locate Record Extended or Read IPL command In the domain of a Locate Record or Locate Record Extended Ending Status T...

Page 117: ...nse data includes No Record Found If the multitrack bit is 1 the control unit advances to the next track and continues to a record zero count area or until the operation is terminated with an end of cylinder exception See Operations Outside the Domain of a Locate Record or Locate Record Extended on page 4 3 Chaining and Restrictions Unit check status with the sense data containing command reject w...

Page 118: ...he record identifier cylinder CC head number HH and record R 5 Search ID Equal or High Description The Search ID Equal or High command operates the same as a Search ID Equal command except that status modifier is included in the ending status when the record ID compares equal or high to the search argument Hex Code Data Address Count 71 Multitrack F1 The main storage location for the record identi...

Page 119: ...he key area of the same record If the control unit is not oriented to a count area it is oriented to the count area of the next user data record on the track It then reads the key area of that record If end of track is detected before a count area is found the operation continues according to the state of the multitrack bit bit 0 in the CCW If the multitrack bit is 0 the control unit is oriented t...

Page 120: ...update areas of existing records on the track Write commands are either format write commands or update write commands Format Write Commands Establish a count area on the track and format the key and data areas of a record These commands if not followed immediately by another format write command erase the remaining portion of the track after writing the last area of a record The format write comm...

Page 121: ...write is chained from a format write and device padding is used the command can operate as a command that is not oriented That is device padding does not establish index orientation Therefore if the channel reconnects after index the next command operates whenever reconnection occurs Record Padding If the CCW byte count for any write command is less than that required to fill the record areas oper...

Page 122: ...a Locate Record or Locate Record Extended domain and is not preceded by a Search Home Address Equal command that compared equal on all 4 bytes of the track address field The file mask does not permit writing HA bits 0 and 1 not 11 This command is in a Locate Record or Locate Record Extended domain specifying other than a Format Write 03 operation and home address orientation byte 0 bits 0 and 1 ar...

Page 123: ...ed with unit check The sense data contains command reject with format 0 message 4 Record zero formats without a key area If the channel sends fewer than DL bytes binary zeros fill the remaining bytes of the data area If this command is not followed by a Write CKD command the remaining portion of the track is erased Chaining and Restrictions Unit check status with the sense data containing command ...

Page 124: ...n end of file record If not followed by another Write CKD command the remaining portion of the track is erased Chaining and Restrictions Unit check status with the sense data containing command reject with format 0 message 2 occurs if This command is not in a Locate Record or Locate Record Extended domain and is not preceded by one of the following A Search ID Equal or Search Key Equal command tha...

Page 125: ...ocate device end will be presented with channel end Otherwise channel end will be presented when the data transfer is complete to the cache When the command completes the control unit is oriented to the data area of the record just written Chapter 4 Command Descriptions 4 87 ...

Page 126: ...or Locate Record Extended on page 4 2 If no record zero is on the next track the operation is terminated with unit check status The sense data includes No Record Found After the count area transfers the control unit requests the key and data areas from the channel The key and data area lengths are defined in the count area If the key length KL is zero the record formats without a key area If the d...

Page 127: ...cate device end will be presented with channel end Otherwise channel end will be presented when the data transfer is complete to the cache When the command is complete the control unit is oriented to the data area of the record just written Chapter 4 Command Descriptions 4 89 ...

Page 128: ... ends Chaining and Restrictions Unit check status with the sense data containing command reject with format 0 message 2 occurs if This command is in the domain of a Locate Record or Locate Record Extended that does not specify a Write Track 0B operation This command is not in the domain of a Locate Record or Locate Record Extended and is not preceded by either A Search ID Equal or Search Key Equal...

Page 129: ...ed in the Locate Record transfer length factor parameter or the Define Extent block size parameter if no transfer length factor was specified If the channel provides fewer than KL DL bytes binary zeros fill the remaining bytes of the key and data areas If the transfer length factor or blocksize value is not equal to the sum of the count area key length and data length fields of the record to be up...

Page 130: ... did not specify a Write Data 01 operation code Ending Status Channel end is presented when data transfer from the channel is complete If additional write commands are expected in the domain device end will be presented with channel end Otherwise channel end will be presented when the data transfer is complete to the cache When the command completes the control unit is oriented to the data area of...

Page 131: ...bal Attributes If CKD Conversion mode is not specified byte 1 bit 2 is 0 the record is not updated The operation is terminated with unit check status The sense data will be 24 byte Compatibility format and includes Invalid Track Format If CKD Conversion mode is specified byte 1 bit 2 is 1 the control unit does the following If key and data length are both zero no data transfer is attempted The ope...

Page 132: ... in the count area key length KL and data length DL fields If the channel sends fewer than KL DL bytes binary zeros fill the remaining bytes of the key and data areas Chaining and Restrictions This command must be immediately preceded by a Search ID Equal command that compares equal on all bytes of the ID field If it is not the command is terminated with unit check status The sense data contains c...

Page 133: ...bility format and includes Invalid Track Format If CKD Conversion mode byte 1 bit 2 is 1 is specified in the Define Extent the control unit does the following If the data length is zero no data transfer is attempted The operation is rejected with status that includes unit exception If the actual length of the data field is not zero the operation is rejected with unit check status The sense data is...

Page 134: ...resented when the write operation is completed at the logical volume When the command completes the control unit is oriented to the data area of the record just updated 4 96 Internal Disk Subsystem Reference Guide ...

Page 135: ...action depends upon whether the Define Extent specified CKD conversion mode If CKD Conversion mode byte 1 bit 2 is 0 is not specified the record is not updated The operation is terminated with unit check status The sense data will be 24 byte Compatibility format and includes Invalid Track Format If CKD Conversion mode byte 1 bit 2 is 1 is specified in the Define Extent the control unit does the fo...

Page 136: ...eject with format 0 message 2 will occur if This command is not preceded by a Search ID Equal command that compares equal on all ID field bytes or by a Search Key Equal command that compares equal on all key area bytes The file mask does not permit update write operations bits 0 and 1 are 01 If the record to update has a data area length of zero no data transfer occurs The command is terminated wi...

Page 137: ... execution is terminated with status that includes unit check Command Reject format 0 message 3 CCW byte count less than required The Write Full Track command formats a new Record Zero on the track similarly to a Write Record Zero operation Accordingly restrictions on the content of the information to be placed in the Record Zero are consistent with the restrictions of a Write Record Zero operatio...

Page 138: ... map orient to Home Address transfer the track image and write the track image on the device Channel End and Device End status is presented when data transfer from the channel is complete If this is the last Write Full Track command in the domain this status will be delayed until the update has been committed If the control unit determines that there is insufficient space on the track to write the...

Page 139: ...a Count Key Count Key Count Key Count Data Data Data 8 bytes 8 bytes 8 bytes 8 bytes 8 8 byte DL KL DL KL DL KL DL bytes R R1 R2 Rn Figure 4 1 Track Image format for Write Trackset Extended Operation code Chapter 4 Command Descriptions 4 101 ...

Page 140: ...nated with status that includes unit check No Record Found The second and subsequent Write Track Data commands in a domain attempt to advance to the next track orient to first data area excluding R0 transfer each data area on the track until End of Track is reached If no user data area is detected on the next track execution is terminated with status that includes unit check No Record Found The ne...

Page 141: ...he Extended Parameter then device end status is included with channel end After data transfer for the last track device end status is presented when the write operation is completed at the logical volume At the completion of command execution the control unit is oriented to the data area of the last record on the track Chapter 4 Command Descriptions 4 103 ...

Page 142: ...ot valid in the domain of a Locate Record or Locate Record Extended If the Sense command is in a Locate Record or Locate Record Extended domain it is rejected with unit check status The sense data contains command reject with format 0 message 2 A stand alone Sense command issued during a contingent allegiance causes the control unit to send the sense data to the host channel However due to its pri...

Page 143: ...haining and Restrictions This command is not valid in the domain of a Locate Record or Locate Record Extended If this command is in a Locate Record or Locate Record Extended domain it is rejected with unit check status The sense data contains command reject with format 0 message 2 Ending Status The control unit presents channel end and device end status when data transfer completes Hex Code Data A...

Page 144: ...Table 4 26 Page 2 of 2 Data Sent to Channel by Sense ID Command Bytes Description Value 16 19 Command Interface Word CIW for Read Node Identifier X 423E0040 4 106 Internal Disk Subsystem Reference Guide ...

Page 145: ...ts of records For example a channel program with a No Operation command between a Read Count and a Read Data command reads the data area of a following record Also a channel program with a No Operation command between a command that reads the data area N 1 and a command that processes the count area N can skip one or more records and process the count area of a following record Then the record len...

Page 146: ...tistics for the read devices attached to the Internal Disk Subsystem are reported through Read Subsystem Data See Read Subsystem Data on page 4 139 The format of the 32 bytes is device dependent Separate tables that follow show the formats for the emulated 3390 and 3380 logical volumes Chaining and Restrictions If this command is in the domain of a Locate Record or Locate Record Extended it is rej...

Page 147: ... 4 7 are format of sense bytes 17 19 for the exception class Set to X 1 7 Unused Set to zero 8 9 Reserved for Count of Motion Seeks Set to zeros 10 14 Reserved for device serial number Set to zeros 15 19 Reserved for storage control serial number Set to zeros 20 21 Subsystem ID SSID 22 Set to X 6F 23 25 Reserved set to zeros 26 Set to 01001110 b X 4E To indicate Bit 1 DLSE Bit 4 Non Gap Synchronou...

Page 148: ...r Bytes Read Set to zeros 12 13 Reserved for Seek Count Set to zeros 14 Unused set to zeros 15 19 Reserved for Subsystem serial number Set to zeros 20 21 Subsystem ID SSID 22 23 Symptom code Set to X 6F00 24 Logging Messaging Set to X 04 25 Reserved set to zeros 26 Set to 01001110 b X 4E To indicate Bit 1 DLSE Bit 4 Non Gap Synchronous Bit 5 ESCON Bit 6 EREP Exception Report 27 31 27 31 Reserved S...

Page 149: ...fect of Subsystem and Device State on Status Presented to Command on page 2 5 for the operation of this command when other subsystem and device status conditions occur Ending Status The control unit presents channel end and device end status when data transfer is complete Response Format The response to the Read Configuration Data command for the Internal Disk Subsystem is similar to that for a 39...

Page 150: ...l Disk subsystem type number which is IDSK 10 12 10 12 Model Number EBCDIC set to the Internal Disk subsystem model number which is 002 13 15 13 15 Manufacturer EBCDIC set to IBM 16 17 16 17 Manufacturing Plant Code 3 EBCDIC 18 21 18 21 Sequence Number High EBCDIC this portion of the sequence number field is used to hold the control unit number These characters are in EBCDIC notation representing ...

Page 151: ...EBCDIC this portion of the sequence number field is used to hold the control unit number These characters are in EBCDIC notation representing four hexadecimal characters This allows for up to X FFFF control units 54 61 22 29 Sequence Number Low EBCDIC this portion of the sequence number field is used to hold the 5 character box sequence number 4 for the Internal Disk subsystem Included in this fie...

Page 152: ...eight characters are in EBCDIC notation 94 95 30 31 Tag this field is used to uniquely identify the Logical Subsystem containing the Logical Volume Bit Description 0 7 Reserved set to zeros 8 15 CHPID Number Bytes 96 127 NED4 contains the Token NED for the Subsystem 96 0 Flags Bit Description 0 1 Field Identifier set to B 11 to indicate a NED 2 Token Indicator set to B 1 3 4 Serial number Indicato...

Page 153: ...e Out DDTO set to 0 to indicate the default value of 15 seconds to perform the internal error recovery 229 5 Reserved set to zeros 230 6 Primary Time out Value for Missing Interrupt Handler MIH Bit Description 0 1 Scaling Factor for Time out 00 Seconds 01 10s of Seconds 10 100s of Seconds 11 1000s of Seconds 2 7 Base Value for Time out the value in these six bits 0 63 is scaled according to the Sc...

Page 154: ...r in parenthesis is the byte number within the NED NEQ 2 Bytes 4 31 are called the node element identifier and represent a world wide unique ID for the Internal Disk volume 3 Manufacturing Plant Code This code may not contain the characters I J O or S due to the requirements of the SSD Serial Number format 4 Sequence Number This five character sequence number is made up of five alphanumeric charac...

Page 155: ...ons The Restore command is valid only on 3380 logical volumes not on 3390 logical volumes If the command is received on a 3390 the command is terminated with unit check status The sense data contains command reject with format 0 message 1 This command is not valid in the domain of a Locate Record or Locate Record Extended If the Restore command is in a Locate Record or Locate Record Extended domai...

Page 156: ...ical volume is reserved to the path group If the command is received on a channel path that is not grouped the addressed logical volume is reserved to that channel path The device reservation lasts until that channel or any channel in the channel path group successfully completes a Device Release command to the logical volume or all paths where the logical volume is reserved are reset by a system ...

Page 157: ...main of a Locate Record or Locate Record Extended command This command was not the first command in the channel program or chained directly from a Suspend Multipath Reconnection command that was the first command in the chain Ending Status The control unit presents channel end and device end after data transfer completes Chapter 4 Command Descriptions 4 119 ...

Page 158: ...mand When a Device Release command is sent to a logical volume in the contingent allegiance state much logical volume status testing normally done during initial selection is bypassed This is so the control unit can present zero initial status and report the error information from the last unit check The Sense Device Reserve Device Release and Unconditional Reserve commands bypass the normal logic...

Page 159: ...ional Reserve command can be issued Issuing this command can interrupt operations on other LPARs Device control is established if the LPAR has the logical volume reserved or the LPAR has a CCW chain in progress between the Start I O instruction with a condition code 0 and the ending interruption If the LPAR sends this command to a logical volume not assigned to it one of the following conditions m...

Page 160: ...al volume and sent a Sense command for that logical volume after the Unconditional Reserve command was received The Unconditional Reserve command resets contingent allegiance for the affected logical volume for all interfaces Ending Status The control unit presents channel end after data transfer completes and device end when the operation is complete 4 122 Internal Disk Subsystem Reference Guide ...

Page 161: ...ata present sense data to the next initial selection to the failing logical volume 1 Reserved set to zero 2 3 Reservation Status Value Definition 00 Device is not reserved 01 Device is reserved to another channel or path group 10 Device is reserved to this channel or path group 11 Not used reserved 4 5 Allegiance reset for the Addressed Device Value Definition 00 No allegiance was reset for the ad...

Page 162: ...at 3 message F Note If another channel is currently selecting the logical volume either unit check status or a Unconditional Disconnect sequence may occur Any sense data pending on this logical volume for a different channel or path group changes The sense data contains equipment check with format 3 message F The logical volume will be selected if possible If selection is successful any CCW that c...

Page 163: ...ies to device reserve release and reconnection The path group identifier should be assured unique by the using host system This command operates even if the logical volume is busy or not ready See Effect of Subsystem and Device State on Status Presented to Command on page 2 5 for the operation of this command when other subsystem and device status conditions occur The control unit requests 12 byte...

Page 164: ...d becomes a stand alone channel If the addressed logical volume was reserved to the channel path group at the time the command was processed the reservation remains with the remaining members of the group Chaining and Restrictions Unit check status with sense data containing command reject with format 0 message 2 occurs if this command Is not the only command in the channel program or chained dire...

Page 165: ...e bit is not the same The function control byte bits 1 and 2 are 11 Bits 3 through 7 of the function control byte are not zeros Ending Status The control unit presents channel end and device end after it validates the parameters Chapter 4 Command Descriptions 4 127 ...

Page 166: ...ptable ID for this interface Hex Code Data Address Count 34 The main storage location for the first byte of path group identification 12 Table 4 33 Sense Path Group ID Byte 0 Definition Byte 0 Bits Value Description 0 1 00 Reset No Set Path Group ID command has been accepted on this channel since the last system reset or power on reset 01 Reserved 10 Not grouped A valid path group ID for this chan...

Page 167: ... channel program or chained directly from a suspend multipath reconnection that was the first command in the channel program If any command follows this command in the chain it is rejected with unit check status The sense data contains command reject with format 0 message 2 Ending Status The control unit presents channel end and device end after it completes the data transfer to the channel Chapte...

Page 168: ...and Device State on Status Presented to Command on page 2 5 for the operation of this command when other subsystem and device status conditions occur Ending Status The control unit presents channel end and device end after the command completes Hex Code Data Address Count 5B Ignored See the description Subsystem Commands The commands in this section are associated with the subsystem Perform Subsys...

Page 169: ...it accepts only the number of bytes required by the order If the channel sends fewer bytes than the order requires the command is rejected with unit check status The sense data contains command reject with format 0 message 3 See the description of the specific order for any additional requirements Ending Status See the specific order Table 4 34 Perform Subsystem Function Orders and Flags Byte Desc...

Page 170: ...not report an error See Read Subsystem Data on page 4 139 for the content of the buffer Table 4 35 Parameter Bytes for Prepare for Read Subsystem Data X 18 Bytes Definition 1 Flag byte Must be set to zero 2 5 Reserved 6 Suborder defining the data to place in the buffer Value Description of the suborder 00 The status of the subsystem 01 Cache performance statistics 02 Reserved 03 Read Attention Mes...

Page 171: ...Processing a selective reset or a Suspend Multipath Reconnection command does not reset the logical volume address to normal conditions Ending Status Unit check status with the sense data containing command reject with format 0 message 2 will occur if this command is not the first command in the chain or is not immediately preceded by a Suspend Multipath Reconnection command that is first in a cha...

Page 172: ...at 0 message F Status Not as Required Reason Code 46 This command is subject to Set Special Intercept Condition If this order has previously been executed for the device on any interface in the path group then the command is terminated with status that includes unit check Command Reject Environmental Data Present Format 0 message F Reason Code 80 with a program action code of 70 This order require...

Page 173: ...ace ID for each emulated 3990 2 disk subsystem If Flag byte bits 6 and 7 are 01 then byte 2 must be set to x 00 and byte 3 must contain the CHPID number of the disk subsystem Otherwise the order is terminated with unit check Command Reject format 0 message F Status Not as Required Reason Code 34 Only a Read Subsystem Data may be chained from a Perform Subsystem Function command with this order If ...

Page 174: ...en other subsystem and device status conditions occur Chaining and Restrictions Unit check status with the sense data containing command reject with format 0 message 2 occurs if This command is in the domain of a Locate Record or Locate Record Extended This command is not the first command in the chain or it is not chained directly from a Read Device Characteristics command Read Configuration Data...

Page 175: ...x aa Logical Volume Address 2 x nn Number of Logical Volumes with Statistics 3 x 01 Number of Statistics Sets per Logical Volume 4 x 00 Overall caching status set to zeros 5 x 00 Overall nonvolatile storage status set to zeros 6 7 x 00C0 Size of Statistics Record per Logical Volume 192 Bytes 8 9 x 0000 Reserved set to zero 10 13 x n n Installed Cache Capacity in Bytes 14 17 x n n Available Cache C...

Page 176: ...and 3 are used to reflect the state of Internal Disk RAID Fast Write IDRFW for the logical volume The codes are assigned as follows Bits 2 3 Description b 00 IDRFW Operational b 01 Not Used b 10 Not Used b 11 IDRFW Deactivated Performance is impacted Bits 4 7 are reserved and set to zeros Bytes 38 39 SSID Subsystem Identifier for Internal Disk 4 138 Internal Disk Subsystem Reference Guide ...

Page 177: ...or the requested data the CCW count determines the number of bytes transferred The format of the data returned depends on the order specified in the preceding Perform Subsystem Function command and in the case of a Prepare for Read Subsystem Data order the suborder specified in byte 6 The data types associated with each valid suborder byte 6 are Ending Status Channel end and device end occurs when...

Page 178: ...le and all counts are zero 1 Logical Volume Address 2 3 Status of the RAID array that contains the logical volume These bytes are identical to the data returned in bytes 26 27 of Sense Subsystem status See Sense Subsystem Status on page 4 136 4 7 Search or read normal I O operations The number of operations that had at least one search or read command but no write command 8 11 Search or read norma...

Page 179: ... of operations that had at least one Locate Record with Write Intent or CKD Write command If byte 2 bits 2 3 indicate that IDRFW is deactivated this field will be set to zeros 80 83 Internal Disk RAID Fast Write sequential I O operations The number of operations that had at least one write command The Define Extent command specified sequential access If byte 2 bits 2 3 indicate that IDRFW is deact...

Page 180: ...he Internal Disk Subsystem model number which is 002 13 15 Manufacturer EBCDIC set to IBM 16 17 Manufacturing Plant Code EBCDIC 18 21 Host Machine Type EBCDIC set to 7060 22 29 Sequence Number Low EBCDIC this portion of the sequence number field is used to hold the control unit box sequence number for the Internal Disk Subsystem Included in this field are three leading zeros All eight characters a...

Page 181: ...rd describes an interface as defined below Bits Description 0 1 Entry Type Internal Disk sets it to b 01 to indicate a valid entry 2 3 Reserved set to zeros 4 7 Interface Protocol Type set to b 0010 to indicate ESCON I O Internal Disk setting 8 11 Reserved set to zeros 12 15 Sub assembly Type set to b 0000 to indicate unspecified Internal Disk setting 16 23 Reserved set to zeros 24 31 The only val...

Page 182: ...4 144 Internal Disk Subsystem Reference Guide ...

Page 183: ...atible with the 24 sense bytes of previous attachments The 24 byte compatibility sense data is used to report All control unit equipment checks All program checks on all logical volume addresses format 0 except the following nonsynchronous mode exceptions End of extent with imprecise ending Incorrect TLF in CKD conversion mode with invalid track format Incomplete domain Equipment and data checks o...

Page 184: ...h 3 of this byte show the format for bytes 8 through 23 Table 5 1 shows the formats Bits 4 through 7 of byte 7 show the message codes within the format Table 5 2 on page 5 3 is a summary of the 24 byte compatibility sense bytes Table 5 1 Formats 24 Byte Compatibility Byte 7 Bits 0 3 Format Category or Condition Page 0 Program or System Checks 5 10 1 Device Equipment Checks 5 11 2 Internal Disk Con...

Page 185: ...ero Environmental Data Present Reserved set to zero Imprecise Ending Reserved set to zero 5 6 3 Count 5 6 4 Logical Volume Address for Formats 1 and 4 Contains the address of the logical volume when a device data check or a device equipment check occurs For all other conditions this byte is set to zeros 5 Low Cylinder Address 5 7 6 High Cylinder Address and Head Address 5 7 7 Format and Message 5 ...

Page 186: ...a Locate Record tries to access a track that is outside the primary track group File protected Byte 1 bit 5 is also set 7 A Write Data command with CKD conversion presented a channel end then found that the transfer length factor did not match the formatted record length Invalid track format byte 1 bit 1 is also set Byte 0 Bit 1 Intervention Required Shows that the addressed logical volume is in o...

Page 187: ... the channel status residual count in the interrupted CCW chain should not be used to determine the track capacity The residual count may not be accurate There is no guarantee that any data transfer will take place in the key and data fields Byte 1 Bit 2 End of Cylinder Shows that a Read Multitrack or Search Multitrack operation outside the domain of a Locate Record or Locate Record Extended tried...

Page 188: ...terminated due to an error related to the execution of a write command that has already received normal ending status Imprecise ending can only be set with format 0 When this bit is set on the residual channel status count may not indicate the track capacity This bit is a duplicate of byte 2 bit 5 Byte 2 Bit 3 Environmental Data Present Shows that the sense information is not associated with the c...

Page 189: ...3 of byte 7 identify the specific format of the remaining sense bytes Bits 4 through 7 of byte 7 have an encoded message that describes the specific error condition The codes are included in the Format descriptions that start on page 5 10 Table 5 3 Format Assignments Byte 7 Bits 0 3 Value Description 0 Program or system checks 1 Device equipment checks 2 Internal Disk control unit errors 3 Allegia...

Page 190: ...onfiguration Data These bytes contain information to identify unique conditions The active bits show Table 5 4 Sense Bytes 26 and 27 Byte Bits Description 26 0 Reserved set to zero 1 DLSE Mode 2 3 Reserved set to zero 4 Nonsynchronous operation 5 ESCON channel 6 Put in System Exception Report 7 Reserved set to zero 27 0 24 Byte compatibility sense data Set to 1 1 Logical volume address in byte 4 i...

Page 191: ...through 31 Byte Bits Content 30 0 1 2 3 4 5 6 7 Cylinder 128 Cylinder 64 Cylinder 32 Cylinder 16 Cylinder 8 Cylinder 4 Cylinder 2 Cylinder 1 31 0 3 4 5 6 7 Reserved Head 8 Head 4 Head 2 Head 1 Chapter 5 24 Byte Compatibility Sense Data 5 9 ...

Page 192: ...Sequence Occurs when commands are not in the correct sequence See the specific command for the possible reason for this message Message 3 CCW Count Less Than Required Occurs when the byte count in the channel command word is less than required See the specific command for the possible reason for this message Message 4 Invalid Parameter Occurs when a data argument of a command is not valid See the ...

Page 193: ...ce that was busy and the I O was started with either a Sense ID Read Device Characteristics Read Configuration Data or a Sense Subsystem Status Command 50 7F Reserved 80 Trying to do a specific command on an interface that was disabled for specific commands by the Perform Subsystem Function command with the Set Special Intercept Condition order See Set Special Intercept Condition x 1B on page 4 11...

Page 194: ...An example is a media error on both HDDs of a mirrored pair while doing resynchronization Also Internal Disk uses this Unit Check when a record sequence number mismatch occurs on only one HDD The operation terminates but when the track is reaccessed internal recovery procedures are used to resync the HDDs and correct the sequence number mismatch Intervention required is indicated by byte zero bit ...

Page 195: ...efinition 8 10 Reserved may contain error codes and additional data or be set to zero 11 12 Hardware level ID for field replaceable unit 13 19 Reserved set to zeros 20 21 SSID Subsystem Identifier 22 23 Reserved may contain error codes and additional data or be set to zero Format 2 Messages The following messages are for format 2 Table 5 10 Format 2 Messages Byte 7 Bits 4 7 Value Format 2 Message ...

Page 196: ...rted with equipment check Note The Reset Allegiance and Unconditional Reserve are normally issued by the Missing Interrupt Handler MIH Format 4 Unrecovered Data Checks Format 4 is used when there is an unrecovered Data Check on an emulated 3380 logical volume Sense Bytes 8 through 23 for Format 4 Format 4 sense bytes 8 through 23 contain the following Table 5 13 Sense Bytes 8 23 Format 4 Bytes Def...

Page 197: ...sage 0 Long Busy Set to x F90C for Message C Indeterminate Internal Disk RAID Fast Write Status Format F Messages There are two valid messages for Format F Message 0 Long Busy Message C IDWF status of a logical volume cannot be determined Format F Message 0 Operation Terminated This message occurs when the subsystem rejects or terminates an operation related to an active channel program as the res...

Page 198: ...5 16 Internal Disk Subsystem Reference Guide ...

Page 199: ...e data is used for 3390 logical volume errors When byte 27 bit 0 is 0 the sense data is ECKD 32 byte format mode ECKD 32 byte sense data is used to report Equipment checks and data checks Program exceptions exception class 0 for the following Internal Disk detected exceptions End of extent with imprecise ending Incorrect TLF in CKD conversion mode with invalid track format Nonstandard R0 with inva...

Page 200: ... the Exception Class in bits 0 3 of byte 22 and the format in bits 4 7 of byte 6 Table 6 1 shows the Exception Classes Table 6 2 on page 6 3 summarizes the 32 byte sense data Table 6 1 Exception Classes for ECKD 32 Byte Sense Data Byte 22 Bits 0 3 Value Exception Class Description Page 0 I O program exceptions 6 10 1 3 Reserved 4 Data Exceptions 6 12 5 D Reserved E Device Errors 6 13 F Reserved 6 ...

Page 201: ...cal Volume Address 6 5 5 Device Type Code 6 6 6 Content and Format 6 6 7 19 Dependent on format byte 6 bits 4 7 and exception class byte 22 bits 0 3 6 6 20 21 SSID Subsystem Identifier 6 6 22 23 Exception Code Bits 0 3 of byte 22 contain the exception class see Table 6 1 The remaining bits in bytes 22 and 23 depend on the exception class and category 6 6 24 0 3 4 5 6 7 Logging and Message Control ...

Page 202: ...otor is off or is powering on 3 The HDD has been disabled via the Service Element 4 The SSA Adapter Card has been removed for service Byte 0 Bit 3 Equipment Check Shows that an unusual hardware condition originated in the subsystem Byte 0 Bit 4 Data Check Indicates that a data exception has been detected in the information received from the drive Byte 0 Bit 7 Incomplete Domain When set to 1 this b...

Page 203: ...command being processed by the Internal Disk This condition can occur when a write operation is terminated due to an error related to the execution of a write command that has already received normal ending status This bit with other bits in bytes 0 1 is set to indicate that the error may not be associated with the CCW that was unit checked Sense Byte 2 Control Unit Type This byte contains an 8 bi...

Page 204: ...it identified in byte 5 1 0 The logical volume address in byte 4 is not valid 1 The logical volume address in byte 4 is valid 2 0 The track address in bytes 29 31 is not valid 1 The track address in bytes 29 31 is valid 3 0 Reserved set to zero 4 7 ffff b Format Sense Bytes 7 through 19 The contents of sense bytes 7 14 depend on the format byte 6 bits 4 7 and the exception class byte 22 bits 0 3 S...

Page 205: ...sts through all retry actions on a path Bits 6 and 7 Operator Message Control Bits 6 and 7 define the handling of an operator message Byte 28 contains a message code that in combination with the exception class in byte 22 identifies a unique message to be sent The definition of the bits are The message action is to be performed in addition to any other program action that is specified in the sense...

Page 206: ... details on the recovery actions Sense Bytes 26 and 27 Configuration Data Internal Disk sets these bytes to 4E60 x The active bits in bytes 26 and 27 show Table 6 7 Bytes 26 and 27 32 Byte Sense Byte Bits Description 26 0 Reserved set to zero 1 DLSE Mode 2 3 Reserved set to zero 4 Nonsynchronous operation 5 ESCON channel 6 Put in System Exception Report 7 Reserved set to zero 27 0 24 Byte compatib...

Page 207: ...Cylinder 4096 Cylinder 2048 Cylinder 1024 Cylinder 512 Cylinder 256 30 0 1 2 3 4 5 6 7 Cylinder 128 Cylinder 64 Cylinder 32 Cylinder 16 Cylinder 8 Cylinder 4 Cylinder 2 Cylinder 1 Sense Byte 31 Head Address If byte 6 bit 2 is 1 this byte contains a valid value For exception classes 4 and E this byte contains the head address of the most recent seek argument accepted from the channel or executed by...

Page 208: ...on code byte 23 X 12 Category 5 Protection Exception This exception is reported when a Locate Record or Locate Record Extended domain extends beyond the extent boundary This error is reported as follows Format byte 6 bits 4 7 X 2 Bytes 0 1 X 0005 file protected and imprecise ending Program action code byte 25 X 15 Exception code byte 23 X 02 Category 7 Track Format Exception This exception conditi...

Page 209: ...X 2 Byte Contents 3 Count Byte Contains the number of records or tracks remaining to be transferred 7 9 Values received in the locate record parameters Byte Definition 7 Operation Byte byte 0 8 Auxiliary Byte byte 1 9 Reserved Byte byte 2 10 Reserved 11 15 Search Argument bytes 8 12 The record ID of the last successfully transferred record or if no records transferred the search argument from the ...

Page 210: ...gory 23 X 12 Exception Code 24 Bits Description 0 3 Reserved 4 5 01 Log Unconditionally 6 7 01 Send Message Unconditionally 25 X 10 Program Action Code 28 X 01 Message Code 29 31 Contains the track address CCH where the exception occurred Exception Class 4 Data Exceptions This exception class is for DASD data exceptions on emulated 3390 logical volumes The format byte 6 bits 4 7 for this class is ...

Page 211: ... 7 Error Type X 0 Device fails to respond X 1 Predictive failure analysis X 2 Microcode detected data discrepancy Category 0 Device Fails to Respond This exception is reported when Internal Disk detects that an installed physical device no longer responds to commands Format 1 sense bytes 6 through 25 contain the following Category 1 Predictive failure analysis This exception is reported when a dev...

Page 212: ... this Unit Check when a record sequence number mismatch occurs on only one HDD The operation terminates but when the track is reaccessed internal recovery procedures are used to resync the HDDs and correct the sequence number mismatch Format 2 sense bytes 6 through 25 contain the following Table 6 15 Exception Class E Category 1 Bytes 6 25 Byte Contents 6 x C2 Content and Format 7 19 Reserved set ...

Page 213: ...5 Byte Contents 6 x E1 Content and Format 7 19 Reserved set to zero 20 21 Subsystem ID SSID 22 X E3 Exception Class and Type 23 Set to zero 24 X 0A Log and message once 25 X 83 Retry CCW chain and do 255 retries Chapter 6 ECKD 32 Byte Sense Data 6 15 ...

Page 214: ...6 16 Internal Disk Subsystem Reference Guide ...

Page 215: ...in Table 7 1 represent all valid combinations Message to operator and imprecise ending can be active with several combinations Table 7 1 Page 1 of 2 Error Conditions Byte Bit Sense Data Condition Act Log 0 0 Command Reject Programming error 2 No 0 2 0 3 Command Reject Environmental Data Present Trying to perform a special command on an interface disabled by the Perform Subsystem Function command w...

Page 216: ...annel status information is pointing If the channel status information is pointing to a user s TIC command the ERP must TIC to the command address specified in the user s TIC This is done to prevent a program check when a TIC is followed by a TIC Action 1 Post the job with a permanent error See Message 1 on page 7 5 Action 2 Exit with programming error or unusual condition indication Action 3 1 Re...

Page 217: ...interrupted CCW is a Perform Subsystem Function command do Action 2 2 If the interrupted CCW is not a Seek Seek Cylinder or Seek Head a If the seek address is still in the current extent go to step 2b Otherwise determine the seek address by locating the next extent If no seek address exists do Action 2 b If a Define Extent command was performed go to step 2d on page 7 4 Otherwise continue with ste...

Page 218: ...ote If the modified seek argument is not in the user s extent the correct seek argument within another user s extent must be constructed before doing a seek If that is not possible then Action 2 is required e Continue the operation with the following CCW chain Seek Argument from step 2a Set File Mask Same as original TIC The first non TIC CCW following the interrupted CCW Seek Argument from step 2...

Page 219: ...mand had a Write Data operation then the Locate Record command in this step must have data area orientation TIC To the interrupted CCW Error Message The following type of error message should be included in the operating environment of all Internal Disk users Message 1 The following type of message should be used on all hard errors and include the following types of information Message Code Failin...

Page 220: ... bit indicators are in bits 1 7 of byte 25 when bit 0 of byte 25 is 1 The indicators are Byte 25 Bit 6 7 Specifies the number of times to retry an operation If the exception condition persists perform any other recovery action indicated If no other error recovery action is indicated exit with a permanent error indication Bits Definition 1 5 Reserved 6 7 Retry count Binary Value Meaning 00 Do not r...

Page 221: ...fer length factor or the block size The preceding Define Extent command indicated CKD conversion mode Sense bytes 17 and 18 contain the actual record length determined by the control unit Restart the channel program with the following channel program Note If a value is specified for the block size parameter in the Define Extent command and the block size is smaller than the actual data length used...

Page 222: ...he first data transfer command of the restarted channel program must be ECKD 3 Restart the channel program using the following Notes 1 If one CCW remains and the original Locate Record specifies read count suffixing then the Locate Record in the restart must specify Read 16 and no read count suffixing 2 If the original Locate Record has write data then the Locate Record in the restart must have a ...

Page 223: ... orientation If the Locate Record Operation code is Format Write the first data transfer command of the restarted channel program must be a ECKD 3 Restart the channel program using the following Action 1C FF Not used Define Extent From the original channel program Locate Record As follows Bytes Contents 0 1 From sense bytes 7 8 see step 2 above 2 From sense byte 9 3 From sense byte 3 4 5 The Seek ...

Page 224: ...r message control can specify messages to be sent unconditionally sent once during an ERP sequence or sent if the procedure is unsuccessful See Sense Byte 24 Logging and Message Control on page 6 7 7 10 Internal Disk Subsystem Reference Guide ...

Page 225: ... Shows expansions of the device characteristics data Table A 3 on page A 5 3390 Access Authorization Address Range Shows the track addresses that may be reached with Normal or Device Support Authorization 3380 Logical Volumes Table A 4 on page A 6 3380 Model J E K Device Characteristics Shows the device characteristics information returned by the Read Device Characteristics command when an emulate...

Page 226: ...1 b 0 b 1 b 1 b 0 7 Subsystem and device facilities Bits Definition 0 Subsystem supports Prestage Trackset 0C operation 2 7 Reserved b 1 b 0000000 8 Subsystem and device facilities Bits Definition 0 3 Reserved 4 Subsystem supports Read Track Data 5 Subsystem supports Update Write Trackset 6 Subsystem supports Write Trackset 7 Reserved b 0000 b 0 9 Subsystem and device facilities Bits Definition 0 ...

Page 227: ... F2F3 x 1309 26 27 Factor F4F5 x 0674 28 29 First alternate cylinder x 0000 30 31 Number of alternate tracks x 0000 32 33 First diagnostic cylinder x 0000 34 35 Number of diagnostic tracks x 0000 36 37 First device support cylinder x 0000 38 39 Number of device support tracks x 0000 40 MDR record ID 3390 1 3390 2 3390 3 3390 9 x 26 x 27 x 24 x 32 41 OBR record ID 3390 1 3390 2 3390 3 3390 9 x 26 x...

Page 228: ...d in decimal unless noted otherwise Description Emulated 3390 Record zero R0 length bytes 8 Maximum record 1 R1 length bytes per track 56664 Data cylinders per logical volume 3390 1 1113 Cyl 3390 2 2226 Cyl 3390 3 3339 Cyl 3390 9 10017 Cyl 1113 2226 3339 10017 Tracks per cylinder 15 Capacity per logical volume MegaBytes 3390 1 1113 Cyl 3390 2 2226 Cyl 3390 3 3339 Cyl 3390 9 10017 Cyl 946 MB 1892 M...

Page 229: ...390 3 3339 Cyl 3390 9 10017 Cyl x 00000000 x 0458000E x 08B1000E x 0D0A000E x 2720000E Device Support Low High 3390 1 1113 Cyl 3390 2 2226 Cyl 3390 3 3339 Cyl 3390 9 10017 Cyl x 00000000 x 0458000E x 08B1000E x 0D0A000E x 2720000E Note Shows the device s specific track addresses in hexadecimal as CCHH 4 bytes Appendix A Device Characteristics A 5 ...

Page 230: ... Subsystem and device facilities Bits Definition 0 Subsystem supports Prestage Trackset 0C operation 2 7 Reserved b 1 b 0000000 8 Subsystem and device facilities Bits Definition 0 3 Reserved 4 Subsystem supports Read Track Data 5 Subsystem supports Update Write Trackset 6 Subsystem supports Write Trackset 7 Reserved b 0000 b 0 9 Subsystem and device facilities Bits Definition 0 1 Reserved 2 Subsys...

Page 231: ... 34 35 Number of diagnostic tracks x 0000 36 37 First device support cylinder x 0000 38 39 Number of device support tracks x 0000 40 MDR record ID 3380 J 3380 E 3380 K x 21 x 1B x 23 41 OBR record ID 3380 J 3380 E 3380 K x 21 x 2E x 23 42 Control unit type code x 05 43 Read Trackset Parameter Length x 02 44 45 Maximum Record Zero length x 0008 46 Reserved x 00 47 Track Set Size x 01 48 Factor F6 x...

Page 232: ...gth bytes 8 Maximum record 1 R1 length bytes per track 47476 Data cylinders per logical volume 3380 J 885 Cyl 3380 E 1770 Cyl 3380 K 2655 Cyl 885 1770 2655 Tracks per cylinder 15 Capacity per logical volume MegaBytes 3380 J 885 Cyl 3380 E 1770 Cyl 3380 K 2655 Cyl 630 MB 1260 MB 1891 MB Sectors per track 222 Range of valid sector numbers 0 221 Rotational position sensing Yes Defective alternate tra...

Page 233: ...380 J 885 Cyl 3380 E 1770 Cyl 3380 K 2655 Cyl x 00000000 x 0374000E x 06E9000E x 0A5E000E Device Support Low High 3380 J 885 Cyl 3380 E 1770 Cyl 3380 K 2655 Cyl x 00000000 x 0374000E x 06E9000E x 0A5E000E Note Shows the device s specific track addresses in hexadecimal as CCHH 4 bytes Appendix A Device Characteristics A 9 ...

Page 234: ...A 10 Internal Disk Subsystem Reference Guide ...

Page 235: ... have either a predictable or unpredictable format The control unit saves information describing the track format for predictable tracks This information allows the control unit to perform certain operations such as search ID without accessing the track data This information is not available for unpredictable tracks The following definitions apply if no cache hints are specified in the Define Exte...

Page 236: ...e the channel program using the cache image and MRU the track at the end of the operation Write Operation Stage the track from index to the end of data Execute the channel program using the cache image Do not keep a cache image of the track Note In the rare event that the track format is unknown stage all blocks possibly associated with the logical track and build the data for the track informatio...

Page 237: ...ncountered End of extent is encountered End of file is encountered This is the case when a record has a data length of zero and is the last record on the track This is detectable only for an predictable track format A cache hit is encountered on a pre stage candidate A out of cache segments condition is encountered Sequential Pre stage Internal Disk treats this setting the same as Normal Cache Rep...

Page 238: ...B 4 Internal Disk Subsystem Reference Guide ...

Page 239: ...y not be new and may have been previously installed Regardless of the Machine s production status IBM s warranty terms apply The IBM Warranty IBM warrants that each Machine 1 is free from defects in materials and workmanship and 2 conforms to IBM s Official Published Specifications IBM calculates the expiration of the warranty period from the Machine s Date of Installation The date on your receipt...

Page 240: ...m replaced It is your responsibility to 1 obtain authorization from the owner for example your lessor to have IBM or your reseller service a Machine that you do not own 2 where applicable before service is provided a follow the problem determination problem analysis and service request procedures that IBM or your reseller provide b secure all programs data and funds contained in a Machine c inform...

Page 241: ...roperty and 2 the amount of any other actual loss or damage up to the greater of 100 000 or the charge for the Machine that is the subject of the claim Under no circumstances is IBM liable for any of the following 1 third party claims against you for losses or damages other than those under the first item listed above 2 loss of or damage to your records or data or 3 economic consequential damages ...

Page 242: ... and display the Code as necessary to maintain the Specific Machine You agree to acquire any replacement for or additional copy of Code directly from IBM in accordance with IBM s standard policies and practices You also agree to use that Code under these terms You may transfer possession of the Code to another party only with the transfer of the Specific Machine If you do so you must 1 destroy all...

Page 243: ...4 lease the Code or any copy of it Appendix C Warranties C 5 ...

Page 244: ...C 6 Internal Disk Subsystem Reference Guide ...

Page 245: ...SS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF NON INFRINGEMENT MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE Some states do not allow disclaimer of express or implied warranties in certain transactions therefore this statement may not apply to you This information could include technical inaccuracies or typographical errors Changes are periodically made to the informat...

Page 246: ...ccordance with the instructions contained in the installation manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Properly shielded and grounded cables and connectors must be used in order to meet FCC emission lim...

Page 247: ...da Cet équipement ne dépasse pas les limites de Classe A d émission de bruits radioélectriques pour les appareils numériques telles que prescrites par le Règlement sur le brouillage radioélectrique établi par le ministère des Communications du Canada L exploitation faite en millieu résidentiel peut entrainer le brouillage des réceptions radio et télé ce qui obligerait le propriétaire ou l opérateu...

Page 248: ...D 4 Internal Disk Subsystem Reference Guide ...

Page 249: ...ngth EBCDIC Extended binary coded decimal interchange code EMIF ESCON Multiple Image Facility EOF End of file ERDS Error recording data set EREP Environmental Record Editing and Printing program ESCD Enterprise System Connection Director ESCON Enterprise System Connection ESDS Entry sequenced data set ESQA Extended system queue area EXCP Execute channel program FBA Fixed block architecture FRU Fie...

Page 250: ...er system interface SF Support facility SIM Service information message SLR Service Level Reporter SMF System Management Facilities SML MVS Storage Management Library SMS Storage Management Subsystem SSID Subsystem identifier TCO Triple Capacity Option TPF Transaction Processing Facility TSO Time sharing option TTR Track record UA Unit address UCB Unit control block UCW Unit control word VIO Virtu...

Page 251: ... capability that enables a customer to perform maintenance on a track while allowing user access to that track s data control unit A hardware unit that controls the reading writing or displaying of data at one or more input output devices See also storage control count key data CKD A DASD data recording format employing self defining record formats in which each record is represented by a count ar...

Page 252: ...ata transfer operation to the storage control to optimize the data transfer operation See also count key data and nonsynchronous operation extent A set of consecutively addressed tracks that a channel program can access The limits of an extent are defined by specifying the addresses of the first and last tracks in the extent G gigabyte GB 109 I ICKDSF See Device Support Facilities program input ou...

Page 253: ...tion message SIM A message generated by a storage subsystem that is the result of error event collection and analysis A SIM indicates that some service action is required See also media SIM software transparency For the Internal Disk products a logical emulation with the actual hardware being transparent to the host system SIM Alert message An operator console message that notifies the operator th...

Page 254: ...X 6 Internal Disk Subsystem Reference Guide ...

Page 255: ...t retry CCW 5 10 characteristics device A 1 Characteristics Set System order 4 133 CKD conversion mode 4 11 command channel 4 3 descriptions 4 1 Define Extent 4 8 4 13 Device Release 4 120 Device Reserve 4 118 Erase 4 90 Locate Record 4 13 Locate Record Extended 4 27 4 41 No Operation 4 107 Perform Subsystem Function 4 130 4 136 Prefix 4 42 4 45 Read and Reset Buffered Log 4 108 Read CKD 4 64 Read...

Page 256: ...8 delayed selection 2 10 device characteristics 3380 A 1 end status 2 3 device continued pending status 2 4 status effect on command 2 5 Device Release command 4 120 Device Reserve command 4 118 device support authorization 4 10 diagnostic authorization 4 10 mask byte Define Extent parameter 4 10 track facility 4 10 disband channel path group 4 126 domain 3 3 E ECKD 32 byte sense data description ...

Page 257: ...10 status byte 2 4 Intercept Condition Set Special order 4 132 intercepting certain commands 4 132 intervention required sense 5 4 6 4 invalid command 5 10 invalid continued command sequence 5 10 parameter 5 10 track Format sense byte 5 5 K key length 4 64 4 85 4 86 KL See key length L Locate Record command description 4 13 domain 3 3 Read Count suffix 4 16 4 31 functions 3 3 operations 4 18 Forma...

Page 258: ...valid message 5 10 Locate Record 4 14 4 18 pending status causes 2 4 conditions 2 4 logical volume 2 4 Perform Subsystem Function 4 130 4 136 Prepare for Read Subsystem Data 4 131 Set Interface Identifier 4 135 Set Special Intercept Condition 4 132 Set System Characteristics 4 133 permanent error sense byte 5 5 predictive failure analysis 1 6 Prepare for Read Subsystem Data order 4 131 Prestage Tr...

Page 259: ...parameter 4 31 address Locate Record parameter 4 17 commands 4 46 Seek command 4 47 Seek Cylinder command 4 48 Seek Head command 4 49 Seek Operations command 4 46 selective reset 2 10 sense 24 byte compatibility data summary 5 2 bytes 0 31 24 byte compatibility 5 4 bytes 0 31 ECKD 32 byte 6 4 bytes 8 23 24 byte compatibility 5 10 command reject 5 4 6 4 conditions 5 1 6 1 data check 6 4 end of cyli...

Page 260: ... Unconditional Reserve command 4 121 unit check status 2 3 2 4 unit exception status 2 3 3 4 unoriented 3 2 update write commands 4 82 Update Write Trackset Locate Record Extended operation 4 40 user data record 3 1 W write commands 4 82 4 98 4 103 format commands 4 82 padding 4 83 Write Any Locate Record Extended operation 4 35 Write CKD Next Track command 4 88 Write Count Key and Data command 4 ...

Page 261: ... without incurring any obligation to you and all such information will be considered nonconfidential No postage stamp necessary if mailed in the U S A Elsewhere an IBM office or representative will be happy to forward your comments or you may mail directly to the address in the Edition Notice on the back of the front cover or title page Note Do not use this form to report system problems or to req...

Page 262: ... and Tape NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST CLASS MAIL PERMIT NO 40 ARMONK NEW YORK POSTAGE WILL BE PAID BY ADDRESSEE International Business Machines Corporation Information Development Department C9MG 1701 North Street ENDICOTT NY 13760 9987 Fold and Tape Please do not staple Fold and Tape SA22 1025 00 ...

Page 263: ......

Page 264: ...IBM Printed in the United States of America on recycled paper containing 10 recovered post consumer fiber SA22 1 25 ...

Reviews: