Re: Where are the device codes (returned by LOCATE) defined?

2009-04-28 Thread Shane
On Tue, 2009-04-28 at 14:54 +1000, Stephen Mednick wrote:

   No such restriction exists!!!

G'day Steve - 'bout time someone rattled your chain again ...  :^)
Gotta keep these vendors on their toes.

Shane ...

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Binyamin Dissen
On Sun, 26 Apr 2009 20:30:46 -0400 Gerhard Postpischil gerh...@valley.net
wrote:

:Binyamin Dissen wrote:
: X’3010200E’ = 3380 DISK DEVICE CODE
 
: Where is the table defined?

:There is no one table. The basic information is similar, but not 
:identical to, fields UCBTBYT1-UCBTBYT4 in macro IEFUCBOB.

:UCBTBYT3 (the x'20' above) is the device category, DASD in this 
:case. These are defined in the UCB macro.

:UCBTBYT4 (x'0E') is the device type, 3380 in this case.

:The leading two bytes are device dependent, and may describe 
:device characteristics and optional features (e.g., shared 
:DASD). Some are in the UCB macro, most are not. They're 
:scattered in documentation all over the place, usually hardware 
:manuals or application notes.

I was hoping that there was some bit combination that would indicate a
migrated dataset.

Do all products (HSM, FDR, etc.) use the string MIGRAT as the VOLSER?

--
Binyamin Dissen bdis...@dissensoftware.com
http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Rob Scott
Binyamin,

My current list of volser values that indicate migrated datasets are :

MIGRAT
ARCIVE
ARCHIV

As far as I am aware, there is nothing in the catalog entry to indicate if a 
dataset is migrated or not - I was under the impression that the HSM_U_Like 
product gets control for dataset not found situations when the catalog entry 
is accessed.

One handy thing (for HSM anyway - not sure about others) is that the device 
type in the catalog entry does hint at the migratation level (ie if cat entry 
device type = DASD and volser=MIGRAT then dataset is on ML1). 


Rob Scott
Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.2305 
Email: rsc...@rs.com 
Web: www.rocketsoftware.com

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Binyamin Dissen
Sent: 27 April 2009 08:00
To: IBM-MAIN@bama.ua.edu
Subject: Re: Where are the device codes (returned by LOCATE) defined?

On Sun, 26 Apr 2009 20:30:46 -0400 Gerhard Postpischil gerh...@valley.net
wrote:

:Binyamin Dissen wrote:
: X'3010200E' = 3380 DISK DEVICE CODE
 
: Where is the table defined?

:There is no one table. The basic information is similar, but not :identical 
to, fields UCBTBYT1-UCBTBYT4 in macro IEFUCBOB.

:UCBTBYT3 (the x'20' above) is the device category, DASD in this :case. These 
are defined in the UCB macro.

:UCBTBYT4 (x'0E') is the device type, 3380 in this case.

:The leading two bytes are device dependent, and may describe :device 
characteristics and optional features (e.g., shared :DASD). Some are in the 
UCB macro, most are not. They're :scattered in documentation all over the 
place, usually hardware :manuals or application notes.

I was hoping that there was some bit combination that would indicate a migrated 
dataset.

Do all products (HSM, FDR, etc.) use the string MIGRAT as the VOLSER?

--
Binyamin Dissen bdis...@dissensoftware.com http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me, you should 
preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems, especially those 
from irresponsible companies.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Bill Fairchild
One could always force a data set to be migrated and then look at what was 
stored in this metadata field.

Bill Fairchild

Software Developer 
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.4503 * Mobile: +1.508.341.1715
Email: bi...@mainstar.com 
Web: www.rocketsoftware.com

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Binyamin Dissen
Sent: Monday, April 27, 2009 2:00 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Where are the device codes (returned by LOCATE) defined?

I was hoping that there was some bit combination that would indicate a
migrated dataset.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Vernooy, C.P. - SPLXM
I am pretty sure there is no migration indication in the devicetype
field, only the catalogued volser MIGRAT tells you (and others).
In CA-DISK I have the option to leave the devicetype of the archived
(migrated) dataset to the devicetype of the original volume or to set it
to zeros.

Kees.

Bill Fairchild bi...@mainstar.com wrote in message
news:94c476c03bff5e42ac3518fdac9643c4d046bf4...@hqmail.rocketsoftware.c
om...
 One could always force a data set to be migrated and then look at what
was stored in this metadata field.
 
 Bill Fairchild
 
 Software Developer 
 Rocket Software
 275 Grove Street * Newton, MA 02466-2272 * USA
 Tel: +1.617.614.4503 * Mobile: +1.508.341.1715
 Email: bi...@mainstar.com 
 Web: www.rocketsoftware.com
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Binyamin Dissen
 Sent: Monday, April 27, 2009 2:00 AM
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: Where are the device codes (returned by LOCATE) defined?
 
 I was hoping that there was some bit combination that would indicate a
 migrated dataset.
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
**
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee
only. If you are not the addressee, you are notified that no part
of the e-mail or any attachment may be disclosed, copied or
distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately
by return e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries
and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
Dutch Airlines) is registered in Amstelveen, The Netherlands, with
registered number 33014286 
**

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Binyamin Dissen
On Mon, 27 Apr 2009 07:51:41 -0400 Bill Fairchild bi...@mainstar.com wrote:

:One could always force a data set to be migrated and then look at what was 
stored in this metadata field.

Unfortunately I do not have access to all products that do migration.

:-Original Message-
:From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf 
Of Binyamin Dissen
:Sent: Monday, April 27, 2009 2:00 AM
:To: IBM-MAIN@bama.ua.edu
:Subject: Re: Where are the device codes (returned by LOCATE) defined?

:I was hoping that there was some bit combination that would indicate a
:migrated dataset.

--
Binyamin Dissen bdis...@dissensoftware.com
http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Gerhard Postpischil

Binyamin Dissen wrote:

I was hoping that there was some bit combination that would indicate a
migrated dataset.


Not to my knowledge. For HSM, a migrated data set has serial of 
MIGRAT, then third byte of x'20' for level 1, and 'x80' for 
level 2. IIRC, similar information is available from IDCAMS 
DCOLLECT.



Do all products (HSM, FDR, etc.) use the string MIGRAT as the VOLSER?


I'd love to find out also, but have only had the annoyance of 
HSM g


Gerhard Postpischil
Bradford, VT

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Vernooy, C.P. - SPLXM


Gerhard Postpischil gerh...@valley.net wrote in message
news:49f5b25d.8040...@valley.net...
 Binyamin Dissen wrote:
 
  Do all products (HSM, FDR, etc.) use the string MIGRAT as the
VOLSER?
 
 I'd love to find out also, but have only had the annoyance of 
 HSM g
 

Yes and no. CA-DISK uses ARCIVE as volume in the catalog, but in the
catalog locate intercept it returns MIGRAT to the requestor to satisfy
those applications, that know and react on HSM migrated datasets.

Kees.
**
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee
only. If you are not the addressee, you are notified that no part
of the e-mail or any attachment may be disclosed, copied or
distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately
by return e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries
and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
Dutch Airlines) is registered in Amstelveen, The Netherlands, with
registered number 33014286 
**

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Scott T. Harder
Hi Guys and Gals,

I'm back.

Bin...  The only other HSM-like product I have experience with is CA-DISK
(back before it was CA-DISK... can't even remember the name now offhand).
But - at least at the time - used a volser of ARCIVE.  I think it is still
the same.

All the best,
Scott T. Harder

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu]on Behalf
Of Gerhard Postpischil
Sent: Monday, April 27, 2009 9:26 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Where are the device codes (returned by LOCATE) defined?

Binyamin Dissen wrote:
 I was hoping that there was some bit combination that would indicate a
 migrated dataset.

Not to my knowledge. For HSM, a migrated data set has serial of
MIGRAT, then third byte of x'20' for level 1, and 'x80' for
level 2. IIRC, similar information is available from IDCAMS
DCOLLECT.

 Do all products (HSM, FDR, etc.) use the string MIGRAT as the VOLSER?

I'd love to find out also, but have only had the annoyance of
HSM g

Gerhard Postpischil
Bradford, VT

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Prices, software, charts  analysis.  Click here to open your online FX trading 
account.
http://thirdpartyoffers.netzero.net/TGL2241/fc/BLSrjpYV6oJGSrQm7cOG7ph2CcnHUjfzC72rMjzzkLSGAmtM6VlzCqSbHkk/

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Bill Fairchild
As Gerhard pointed out in an earlier post, the 3rd byte of the 4 bytes of 
device type info are documented in the UCB macro in the field UCBTBYT3, where 
X'80' denotes a tape device (which corresponds to HSM level 2) and X'20' 
denotes a direct access device (which corresponds to HSM level 1).

Bill Fairchild

Software Developer 
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.4503 * Mobile: +1.508.341.1715
Email: bi...@mainstar.com 
Web: www.rocketsoftware.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Gerhard Postpischil
Sent: Monday, April 27, 2009 8:26 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Where are the device codes (returned by LOCATE) defined?

Binyamin Dissen wrote:
 I was hoping that there was some bit combination that would indicate a
 migrated dataset.

Not to my knowledge. For HSM, a migrated data set has serial of 
MIGRAT, then third byte of x'20' for level 1, and 'x80' for 
level 2. IIRC, similar information is available from IDCAMS 
DCOLLECT.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Tom Marchant
On Mon, 27 Apr 2009 09:59:51 +0300, Binyamin Dissen wrote:

Do all products (HSM, FDR, etc.) use the string MIGRAT as the VOLSER?

FDR does.  Actually, it's ABR.  ISTR that this behavior is optional, but I
don't recall what is in the VOLSER if the option is not selected.  The
original VOLSER perhaps.

-- 
Tom Marchant

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Richards, Robert B.
Originally, they did not. Nowadays, I am not sure.

IIRC, ARCIVE was DMS/OS now CA_DISK

-
Robert B. Richards(Bob)   
US Office of Personnel Management
1900 E Street NW Room: BH04L   
Washington, D.C.  20415  
Phone: (202) 606-1195  
Email: robert.richa...@opm.gov 
-

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Gerhard Postpischil
Sent: Monday, April 27, 2009 9:26 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Where are the device codes (returned by LOCATE) defined?

Binyamin Dissen wrote:
 I was hoping that there was some bit combination that would indicate a
 migrated dataset.

Not to my knowledge. For HSM, a migrated data set has serial of 
MIGRAT, then third byte of x'20' for level 1, and 'x80' for 
level 2. IIRC, similar information is available from IDCAMS 
DCOLLECT.

 Do all products (HSM, FDR, etc.) use the string MIGRAT as the VOLSER?

I'd love to find out also, but have only had the annoyance of 
HSM g

Gerhard Postpischil
Bradford, VT

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Joseph Butz
In ABR, this is an option (MIGRAT) that is set in the FDR Global Options.  

By default, if ABR Archive recatalogs an archived dataset for automatic
recall, the catalog entry will retain the original volser unless MIGRAT=YES
is specified.  This option can be overridden at run time.  

The Innovation recommended setting is MIGRAT=YES unless the ABR LOCATE exit
is not being used.

Joseph Butz
jb...@fdrinnovation.com
Innovation Data Processing


-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf
Of Tom Marchant
Sent: Monday, April 27, 2009 10:02 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Where are the device codes (returned by LOCATE) defined?

On Mon, 27 Apr 2009 09:59:51 +0300, Binyamin Dissen wrote:

Do all products (HSM, FDR, etc.) use the string MIGRAT as the VOLSER?

FDR does.  Actually, it's ABR.  ISTR that this behavior is optional, but I
don't recall what is in the VOLSER if the option is not selected.  The
original VOLSER perhaps.

-- 
Tom Marchant

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Greg Price
Tom Marchant wrote:
 On Mon, 27 Apr 2009 09:59:51 +0300, Binyamin Dissen wrote:
 Do all products (HSM, FDR, etc.) use the string MIGRAT as the VOLSER?
 
 FDR does.  Actually, it's ABR.  ISTR that this behavior is optional, but I
 don't recall what is in the VOLSER if the option is not selected.  The
 original VOLSER perhaps.
 

Another point to note is that ABR sets the high-order bit on in the
DSCB CCHHR field of the catalog entry when the data set is archived
and the original volume serial is retained.

I do not know if this bit setting occurs or not when the volume serial
of MIGRAT is used.

I believe that the usual restriction of VTOCs must be in the first 64K
cylinders of a volume must therefore become VTOCs must be in the
first 32K cylinders of a volume when ABR (without MIGRAT at least)
is used to archive data sets.

I would guess that all volumes had less than one thousand cylinders
when this logic was devised.

Cheers,
Greg

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-27 Thread Stephen Mednick
 

 
 Another point to note is that ABR sets the high-order bit on 
 in the DSCB CCHHR field of the catalog entry when the data 
 set is archived and the original volume serial is retained.
 

No quite correct. ABR records in the field DSCBTTR a pointer
to the entry in ABR's Archive Control File. This helps to avoid
lengthy searches thru the ACF.


 I do not know if this bit setting occurs or not when the 
 volume serial of MIGRAT is used.

The entry is used to support ABR's Auto-Recall via the
ABR Locate Exit. ABR requires the use of the volser MIGRAT
when migrating datasets off SMS Managed volumes.


 
 I believe that the usual restriction of VTOCs must be in the 
 first 64K cylinders of a volume must therefore become VTOCs 
 must be in the first 32K cylinders of a volume when ABR 
 (without MIGRAT at least) is used to archive data sets.
 
 I would guess that all volumes had less than one thousand 
 cylinders when this logic was devised.
 

No such restriction exists!!!



Stephen Mednick
Computer Supervisory Services
Sydney, Australia
 
Asia/Pacific representatives for
Innovation Data Processing, Inc.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Where are the device codes (returned by LOCATE) defined?

2009-04-26 Thread Binyamin Dissen
For example, 

X’3010200E’ = 3380 DISK DEVICE CODE

Where is the table defined?

--
Binyamin Dissen bdis...@dissensoftware.com
http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-26 Thread Richard Peurifoy

Binyamin Dissen wrote:
For example, 


X’3010200E’ = 3380 DISK DEVICE CODE

Where is the table defined?



You can use the EDTINFO macro to get this.
If this is not what you are looking for, can you be more specific.

--
Richard

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Where are the device codes (returned by LOCATE) defined?

2009-04-26 Thread Gerhard Postpischil

Binyamin Dissen wrote:

X’3010200E’ = 3380 DISK DEVICE CODE

Where is the table defined?


There is no one table. The basic information is similar, but not 
identical to, fields UCBTBYT1-UCBTBYT4 in macro IEFUCBOB.


UCBTBYT3 (the x'20' above) is the device category, DASD in this 
case. These are defined in the UCB macro.


UCBTBYT4 (x'0E') is the device type, 3380 in this case.

The leading two bytes are device dependent, and may describe 
device characteristics and optional features (e.g., shared 
DASD). Some are in the UCB macro, most are not. They're 
scattered in documentation all over the place, usually hardware 
manuals or application notes.



Gerhard Postpischil
Bradford, VT

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html