View previous topic :: View next topic |
Author |
Message |
KFORD Beginner
Joined: 17 Sep 2004 Posts: 1 Topics: 1
|
Posted: Fri Sep 17, 2004 1:10 pm Post subject: Submitting MVS commands in REXX |
|
|
I would like to get a unit address of a volume by using a REXX execute. By
supplying the volume serial name I would like it to return the unit address to my screen with out going into SDSF and entering the D U,VOL=xxxxxx.
Thank YOu |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Fri Sep 17, 2004 2:29 pm Post subject: |
|
|
KFORD:
1. You can use the following example by adding ARG's and IF's.
2. You can issue SDSF commands from within REXX. Refer to the manual.
3. You can try DVOL from file 296 in CBTTAPE.
4. You can try to implement this XEPHON example.
5. Or this one.
HTH -
O.
________
Chrysler R platform history
Last edited by ofer71 on Sat Feb 05, 2011 11:19 am; edited 1 time in total |
|
Back to top |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Fri Sep 17, 2004 2:55 pm Post subject: |
|
|
And of course, you can issue MVS system commands directly from REXX using ADDRESS CONSOLE.
O.
________
Jeep Jeepster
Last edited by ofer71 on Sat Feb 05, 2011 11:19 am; edited 1 time in total |
|
Back to top |
|
 |
tom_p Beginner
Joined: 01 Jun 2004 Posts: 3 Topics: 0 Location: Melbourne
|
Posted: Sat Sep 25, 2004 9:41 am Post subject: |
|
|
You could also do a dcollect, post process it into flat file that just has all of the voluumes (volser, device), then in your rexx, you search for the volume in this file.
It's not efficient, but it would work. |
|
Back to top |
|
 |
|
|