Re: REXX file information question

2010-02-12 Thread McKown, John
Most weird! I just did the REXX below from the ISPF TSO prompt (option 6) and 
got zeroes.

/* REXX */
xx=listdsi(sysexec file)
say xx=xx  sysreason=sysreason

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.
 Sent: Thursday, February 11, 2010 2:22 PM
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: REXX file information question
 
 That's what I tried. In my test case it ends with return code 
 16, reason
 code 2. 
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
 Behalf Of McKown, John
 Sent: Thursday, February 11, 2010 14:15 
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: REXX file information question
 
 Curiously it is the self-same LISTDSI command.
 
 xx=LISTDSI(DDNAME FILE)
 
 --
 John McKown 
 Systems Engineer IV
 IT
 
 Administrative Services Group
 
 HealthMarkets(r)
 
 9151 Boulevard 26 * N. Richland Hills * TX 76010
 (817) 255-3225 phone * (817)-961-6183 cell
 john.mck...@healthmarkets.com * www.HealthMarkets.com
 
 Confidentiality Notice: This e-mail message may contain 
 confidential or
 proprietary information. If you are not the intended recipient, please
 contact the sender by reply e-mail and destroy all copies of the
 original message. HealthMarkets(r) is the brand name for products
 underwritten and issued by the insurance subsidiaries of 
 HealthMarkets,
 Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life
 Insurance Company of TennesseeSM and The MEGA Life and Health 
 Insurance
 Company.SM
 
  
 
  -Original Message-
  From: IBM Mainframe Discussion List 
  [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.
  Sent: Thursday, February 11, 2010 2:10 PM
  To: IBM-MAIN@bama.ua.edu
  Subject: REXX file information question
  
  Is there a way in REXX to obtain the filename from a //ddname 
  PATH ?
  
   
  
  Kinda like a LISTDSI does for a dsname?
  
   
  
  Thanks,
  
   
  
  Alan 
  
   
  

  
  
  
 --
  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
 
 --
 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: REXX file information question

2010-02-12 Thread Baraniecki, Ray
From the Rexx Reference on LISTDSI.



filename  the name of an allocated file (ddname) about which you want to

  retrieve information.



file  you must specify the word FILE if you specify filename instead

  of data-set-name. If you do not specify FILE, LISTDSI assumes

  that you specified a data-set-name.



Thanks,



Ray Baraniecki

Morgan Stanley Smith Barney

18th Floor

1 New York Plaza

New York, NY 10004

Office - 212-276-5641

   Cell - 917-597-5692

ray.baranie...@morganstanley.com

BE CARBON CONSCIOUS. PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING THIS 
E-MAIL.



-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
McKown, John
Sent: Friday, February 12, 2010 8:15 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: REXX file information question



Most weird! I just did the REXX below from the ISPF TSO prompt (option 6) and 
got zeroes.



/* REXX */

xx=listdsi(sysexec file)

say xx=xx  sysreason=sysreason



--

John McKown

Systems Engineer IV

IT



Administrative Services Group



HealthMarkets(r)



9151 Boulevard 26 * N. Richland Hills * TX 76010

(817) 255-3225 phone * (817)-961-6183 cell

john.mck...@healthmarkets.com * www.HealthMarkets.com



Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM







 -Original Message-

 From: IBM Mainframe Discussion List

 [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.

 Sent: Thursday, February 11, 2010 2:22 PM

 To: IBM-MAIN@bama.ua.edu

 Subject: Re: REXX file information question



 That's what I tried. In my test case it ends with return code

 16, reason

 code 2.



 -Original Message-

 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On

 Behalf Of McKown, John

 Sent: Thursday, February 11, 2010 14:15

 To: IBM-MAIN@bama.ua.edu

 Subject: Re: REXX file information question



 Curiously it is the self-same LISTDSI command.



 xx=LISTDSI(DDNAME FILE)



 --

 John McKown

 Systems Engineer IV

 IT



 Administrative Services Group



 HealthMarkets(r)



 9151 Boulevard 26 * N. Richland Hills * TX 76010

 (817) 255-3225 phone * (817)-961-6183 cell

 john.mck...@healthmarkets.com * www.HealthMarkets.com



 Confidentiality Notice: This e-mail message may contain

 confidential or

 proprietary information. If you are not the intended recipient, please

 contact the sender by reply e-mail and destroy all copies of the

 original message. HealthMarkets(r) is the brand name for products

 underwritten and issued by the insurance subsidiaries of

 HealthMarkets,

 Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life

 Insurance Company of TennesseeSM and The MEGA Life and Health

 Insurance

 Company.SM







  -Original Message-

  From: IBM Mainframe Discussion List

  [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.

  Sent: Thursday, February 11, 2010 2:10 PM

  To: IBM-MAIN@bama.ua.edu

  Subject: REXX file information question

 

  Is there a way in REXX to obtain the filename from a //ddname

  PATH ?

 

 

 

  Kinda like a LISTDSI does for a dsname?

 

 

 

  Thanks,

 

 

 

  Alan

 

 

 

 

 

 

 

 --

  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



 --

 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

--
Important Notice to Recipients:
It is important that you do not use e-mail to request, authorize or effect the 
purchase or sale of any

Re: REXX file information question

2010-02-12 Thread Field, Alan C.
John et al.

//HFS DD PATH='/aaa.bbb.ccc',...

Xx=listdsi(hfs file)

What I want back is /aaa.bbb.ccc

I wrote a little REXXX listfinm function that does that. 

Alan 

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of McKown, John
Sent: Friday, February 12, 2010 07:15 
To: IBM-MAIN@bama.ua.edu
Subject: Re: REXX file information question

Most weird! I just did the REXX below from the ISPF TSO prompt (option
6) and got zeroes.

/* REXX */
xx=listdsi(sysexec file)
say xx=xx  sysreason=sysreason

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or
proprietary information. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the
original message. HealthMarkets(r) is the brand name for products
underwritten and issued by the insurance subsidiaries of HealthMarkets,
Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life
Insurance Company of TennesseeSM and The MEGA Life and Health Insurance
Company.SM

 

 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.
 Sent: Thursday, February 11, 2010 2:22 PM
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: REXX file information question
 
 That's what I tried. In my test case it ends with return code 
 16, reason
 code 2. 
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
 Behalf Of McKown, John
 Sent: Thursday, February 11, 2010 14:15 
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: REXX file information question
 
 Curiously it is the self-same LISTDSI command.
 
 xx=LISTDSI(DDNAME FILE)
 
 --
 John McKown 
 Systems Engineer IV
 IT
 
 Administrative Services Group
 
 HealthMarkets(r)
 
 9151 Boulevard 26 * N. Richland Hills * TX 76010
 (817) 255-3225 phone * (817)-961-6183 cell
 john.mck...@healthmarkets.com * www.HealthMarkets.com
 
 Confidentiality Notice: This e-mail message may contain 
 confidential or
 proprietary information. If you are not the intended recipient, please
 contact the sender by reply e-mail and destroy all copies of the
 original message. HealthMarkets(r) is the brand name for products
 underwritten and issued by the insurance subsidiaries of 
 HealthMarkets,
 Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life
 Insurance Company of TennesseeSM and The MEGA Life and Health 
 Insurance
 Company.SM
 
  
 
  -Original Message-
  From: IBM Mainframe Discussion List 
  [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.
  Sent: Thursday, February 11, 2010 2:10 PM
  To: IBM-MAIN@bama.ua.edu
  Subject: REXX file information question
  
  Is there a way in REXX to obtain the filename from a //ddname 
  PATH ?
  
   
  
  Kinda like a LISTDSI does for a dsname?
  
   
  
  Thanks,
  
   
  
  Alan 
  
   
  

  
  
  
 --
  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
 
 --
 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

--
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: REXX file information question

2010-02-12 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.
 Sent: Friday, February 12, 2010 8:11 AM
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: REXX file information question
 
 John et al.
 
 //HFS DD PATH='/aaa.bbb.ccc',...
 
 Xx=listdsi(hfs file)
 
 What I want back is /aaa.bbb.ccc
 
 I wrote a little REXXX listfinm function that does that. 
 
 Alan 

OH. LISTDSI is likely only legacy dataset aware. I would use BPXWDYN if a 
UNIX file is a possibility.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

--
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: REXX file information question

2010-02-12 Thread Paul Gilmartin
On Fri, 12 Feb 2010 09:42:38 -0600, McKown, John wrote:

OH. LISTDSI is likely only legacy dataset aware. I would use BPXWDYN if a 
UNIX file is a possibility.

Has BPXWDYN the capability to extract characteristics of an existing
DDNAME?  I'm familiar only with its ability to return DSNAME, VOLSER,
and/or DDNAME when allocating a new DDNAME?

Again, I suspect that LISTDSI( DDN 'file' ) finds the associated
DSNAME and extracts information from the VTOC.  (What if DDN is
allocated to an uncatalogued data set and another, with the same
name, catalogued exists?)

-- gil

--
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: REXX file information question

2010-02-12 Thread DanD
If you'd prefer a program that returns the PATH name in a CLIST variable 
(via IKJCT441), give me a shout and I'll whip up a little program to issue 
the SJFREQ and save the various info in variables.


DanD

--
From: McKown, John john.mck...@healthmarkets.com
Sent: Friday, February 12, 2010 10:43 AM
Newsgroups: bit.listserv.ibm-main
Subject: Re: REXX file information question


-Original Message-
From: IBM Mainframe Discussion List
[mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.
Sent: Friday, February 12, 2010 8:11 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: REXX file information question

John et al.

//HFS DD PATH='/aaa.bbb.ccc',...

Xx=listdsi(hfs file)

What I want back is /aaa.bbb.ccc

I wrote a little REXXX listfinm function that does that.

Alan


OH. LISTDSI is likely only legacy dataset aware. I would use BPXWDYN if 
a UNIX file is a possibility.


--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message. HealthMarkets(r) is the brand name for products underwritten and 
issued by the insurance subsidiaries of HealthMarkets, Inc. -The 
Chesapeake Life Insurance Company(r), Mid-West National Life Insurance 
Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM




--
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


REXX file information question

2010-02-11 Thread Field, Alan C.
Is there a way in REXX to obtain the filename from a //ddname PATH ?

 

Kinda like a LISTDSI does for a dsname?

 

Thanks,

 

Alan 

 

  


--
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: REXX file information question

2010-02-11 Thread McKown, John
Curiously it is the self-same LISTDSI command.

xx=LISTDSI(DDNAME FILE)

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.
 Sent: Thursday, February 11, 2010 2:10 PM
 To: IBM-MAIN@bama.ua.edu
 Subject: REXX file information question
 
 Is there a way in REXX to obtain the filename from a //ddname 
 PATH ?
 
  
 
 Kinda like a LISTDSI does for a dsname?
 
  
 
 Thanks,
 
  
 
 Alan 
 
  
 
   
 
 
 --
 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: REXX file information question

2010-02-11 Thread Field, Alan C.
That's what I tried. In my test case it ends with return code 16, reason
code 2. 

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of McKown, John
Sent: Thursday, February 11, 2010 14:15 
To: IBM-MAIN@bama.ua.edu
Subject: Re: REXX file information question

Curiously it is the self-same LISTDSI command.

xx=LISTDSI(DDNAME FILE)

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or
proprietary information. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the
original message. HealthMarkets(r) is the brand name for products
underwritten and issued by the insurance subsidiaries of HealthMarkets,
Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life
Insurance Company of TennesseeSM and The MEGA Life and Health Insurance
Company.SM

 

 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:ibm-m...@bama.ua.edu] On Behalf Of Field, Alan C.
 Sent: Thursday, February 11, 2010 2:10 PM
 To: IBM-MAIN@bama.ua.edu
 Subject: REXX file information question
 
 Is there a way in REXX to obtain the filename from a //ddname 
 PATH ?
 
  
 
 Kinda like a LISTDSI does for a dsname?
 
  
 
 Thanks,
 
  
 
 Alan 
 
  
 
   
 
 
 --
 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

--
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