Simple RACF Question - Can the RACF database be shared with z/OS?

2011-01-05 Thread Jeff Gribbin
Happy New Year folks - I need a sanity-check, please ...

I've not used RACF on VM for a few decades and I believed that, as z/OS
advanced, there came a time when it was no longer possible to share a RAC
F
database between a z/VM system and a z/OS system.  I'm sure that this bel
ief
was based upon statements made by people that I trust, plus my own
understanding of the disparity between RACF development on z/OS and its
development on z/VM, but ...

On page 4 of SC24-6149-01 it unequivocally states that (subject to a numb
er
of caveats such as needing to reside on full-pack minidisks) the database

CAN be shared.

Hmm - can anyone who's actually current on RACF (rather than simply a
book-learner such as myself) please help me out with an indication of
today's thinking as far as the sharing of a RACF database is concerned.
(This is specifically sharing with z/OS.)

(I see possible responses ranging from, Don't even THINK about it!
through, It's possible but only a masochist would do it and, It can be

done but there are restrictions up to, It's a breeze - just follow the
rules.)

In the hope that I'm not stirring up a hornet's-nest and with thanks in
anticipation.

Jeff Gribbin


Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread gclovis
George:
Not sure we understand the question, but...

Without DIRMAINT, try DIRMAP (GAPFILE DEVSORT
  - Generate two files, one with only the Gaps and other with the 
allocated cylinders, both classified by VOLSER. 

With DIRMAINT, try DIRM FREE and DIRM USED to get files like the same 
proposal... Or, DIRM DIRMAP (GAPFILE DEVSORT


DIRM HELP DIRMAP shows:
  
Devsort  
requests that the report is to be sorted by device type followed by 
volume
label. The default is to sort by volume label.  
  
Gapfile  
Generate a file listing gaps in addition to a report detailing the 
current
DASD utilization.  
  
Note:  If you use the GAPFILE option without using the EXCLUDE option 
and 
   excluded full volume overlays are defined on your system no gap 
 
   data will be returned.  Use the EXCLUDE option to eliminate the 
 
   excluded full volume overlays from consideration when building 
the 
   gap data. 
 
The gapfile is listed in the following format:  
Field Use  
1volid of disk  
2device type of disk.  
3start cylinder/block of gap
4end cylinder/block of gap  
5number of cylinders/blocks in gap  
  
 Note:  All fields are blank delimited and not bound to a specific 
 
column range.  

__
Clovis



From:
Mike Walter mike.wal...@hewitt.com
To:
IBMVM@LISTSERV.UARK.EDU
Date:
04/01/2011 19:33
Subject:
Re: SORTING DIRECTORY GAPS BY USER
Sent by:
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU




Or better yet... _why_? 

It sounds as if you want to display users and mdisks, sorted by user (and 
perhaps mdisk, too) which reside between gaps.   
But _why_?  What are you attempting to do? 

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's. 


Tom Huegel tehue...@gmail.com 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 
01/04/2011 03:26 PM 

Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



To
IBMVM@LISTSERV.UARK.EDU 
cc

Subject
Re: SORTING DIRECTORY GAPS BY USER








I don't understand your question.. If there is a GAP then there is no 
USER. ???

On Tue, Jan 4, 2011 at 1:13 PM, George Henke/NYLIC 
george_he...@newyorklife.com wrote: 
Does anybody have anything like a PIPE command or a utility to do this 
sort of thing, sort the DIRECTORY DISKMAP on USER within GAPS? 

I am sure DIRMAINT would obviate the necessity for such a thing, but right 
now this is all I can do. 


The information contained in this e-mail and any accompanying documents 
may contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if 
this message has been addressed to you in error, please immediately alert 
the sender by reply e-mail and then delete this message, including any 
attachments. Any dissemination, distribution or other use of the contents 
of this message by anyone other than the intended recipient is strictly 
prohibited. All messages sent to and from this e-mail address may be 
monitored as permitted by applicable law and regulations to ensure 
compliance with our internal policies and to protect our business. E-mails 
are not secure and cannot be guaranteed to be error free as they can be 
intercepted, amended, lost or destroyed, or contain viruses. You are 
deemed to have accepted these risks if you communicate with us by e-mail. 



Re: Simple RACF Question - Can the RACF database be shared with z/OS?

2011-01-05 Thread Colin Allinson
Jeff,

We used to do this until recently, it worked well and we would be still if 
someone had not done a silly that would have caused too much effort to 
resolve.

When you are running stable versions of RACF on both Z/OS and Z/VM then 
there is no issue. The thing that you have to be aware of is that the 
database has to be updated to the level of the highest level of RACF using 
the database. Up until recent years it was always Z/OS that was ahead so 
they always applied the RACF version updates but, with Z/VM 5.4, this was 
ahead of the RACF server on Z/OS so we had to do the database update.

What happened to us is that the Z/OS folks came to upgrade to 1.7 and 
applied their RACF database updates (because they always had and they 
didn't need to coordinate). This, in fact, downgraded the RACF database 
and caused some pointer corruption. Their reaction was, of course, that we 
had corrupted their database and that we should get off it and sort out 
the corruption that we had caused. That is the only gotcha I know about.


Colin Allinson
VM Systems Support
Amadeus Data Processing GmbH


PIPE locate question

2011-01-05 Thread Sergio Lima

Hello List,
 
As I learned in this list, I'm trying to use PIPE in some cases instead REXX.
 
Now, We need see from time to time, if some machines are running in disconnect 
mode.
 
Then write this sample PIPE, that put in a file, all machines that is run in 
disconnect mode, and then try locate that We need.
 
trace r   
PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach disc a  
pipe  mach disc a | sort 1-8 |  mach disc a   
pipe  mach disc a | locate /x/ | console   
say rc
exit  
 
The problem, is that the RC (Return Code) always return 0, if the string exist 
or not.
 
For example :
 
My file :
 
 MACH DISC
 === 
CONNECT  - DSC
CPUVM- DSC
DEFCICS  - DSC
DISKACNT - DSC
FTPSERVE - DSC
GCS  - DSC
LPSERVE  - DSC
OPERATOR - DSC
OPERSYMP - DSC
OP1  - DSC
OP2  - DSC
PERFSVM  - DSC
 
Running the EXEC :
 
With NOT FOUND :
 
 3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach disc
 a 
  PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach di
sc a   
 4 *-* pipe  mach disc a | sort 1-8 |  mach disc a  
  pipe  mach disc a | sort 1-8 |  mach disc a
 5 *-* pipe  mach disc a | locate /x/ | console  
  pipe  mach disc a | locate /x/ | console
 6 *-* say rc   
  0
0   
 7 *-* exit 
 
 
With FOUND :
 
 3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach dis
 a
  PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach d
sc a  
 4 *-* pipe  mach disc a | sort 1-8 |  mach disc a 
  pipe  mach disc a | sort 1-8 |  mach disc a   
 5 *-* pipe  mach disc a | locate /CPUVM/ | console 
  pipe  mach disc a | locate /CPUVM/ | console   
CPUVM- DSC 
 6 *-* say rc  
  0   
0  
 7 *-* exit
 
Looking in the Manual CMS PIPELINES REFERENCE, Can't see how get the Return 
Code.
 
Please, someone can help us with this question?
 
Thanks very much
 
Sergio Lima Costa
Sao Paulo - Brazil

Re: Simple RACF Question - Can the RACF database be shared with z/OS?

2011-01-05 Thread gclovis
Jeff,
The last time I read about, all RACF documents says that it is possible.
But, only when the zOS doesn't work in Sysplex. This restriction killed my 
chances to do tests... 
__
Clovis 


From:
Jeff Gribbin jeff.grib...@gmail.com
To:
IBMVM@LISTSERV.UARK.EDU
Date:
05/01/2011 10:12
Subject:
Simple RACF Question - Can the RACF database be shared with z/OS?
Sent by:
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



Happy New Year folks - I need a sanity-check, please ...

I've not used RACF on VM for a few decades and I believed that, as z/OS
advanced, there came a time when it was no longer possible to share a RAC
F
database between a z/VM system and a z/OS system.  I'm sure that this bel
ief
was based upon statements made by people that I trust, plus my own
understanding of the disparity between RACF development on z/OS and its
development on z/VM, but ...

On page 4 of SC24-6149-01 it unequivocally states that (subject to a numb
er
of caveats such as needing to reside on full-pack minidisks) the database

CAN be shared.

Hmm - can anyone who's actually current on RACF (rather than simply a
book-learner such as myself) please help me out with an indication of
today's thinking as far as the sharing of a RACF database is concerned.
(This is specifically sharing with z/OS.)

(I see possible responses ranging from, Don't even THINK about it!
through, It's possible but only a masochist would do it and, It can be

done but there are restrictions up to, It's a breeze - just follow the
rules.)

In the hope that I'm not stirring up a hornet's-nest and with thanks in
anticipation.

Jeff Gribbin




Re: Simple RACF Question - Can the RACF database be shared with z/OS?

2011-01-05 Thread Colin Allinson
gclo...@br.ibm.com wrote :-

 Jeff, 
 The last time I read about, all RACF documents says that it is possible. 

 But, only when the zOS doesn't work in Sysplex. This restriction killed 
my chances to do tests... 
 Clovis 

We were successfully sharing with a Z/OS sysplex so this is not an 
absolute restriction.

However, like other volumes that we still share with them, (CA1 catalog 
etc.), I think they have to set some definition so that physical 
reserve/release is recognised for that volume. I cannot ask them because 
we no longer have any Z/OS sysprogs on site.



Colin Allinson
VM Systems Support
Amadeus Data Processing GmbH



Re: PIPE locate question

2011-01-05 Thread Kris Buelens
What about this:
PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ ,
| sort 1-8 |  mach disc a,
   || locate /x/ | console | count lines |Var NbFound
If NbFound=0 then do
   say 'Nothing found for x' ; exit 67; end

Remark that I made one big pipe of the 3 ones you used.  There is no
need to work with intermediate files.  And, maybe you don't need the
file at all, if so, you can remove
   |  mach disc a
too.

By the way, my LISTS package on the VM download library has a USERLIST EXEC:
  USERLIST lists all users
  USERLIST *xxx*lists all users with xxx in their name
It givs a FILELIST like interface.

Kris Buelens

2011/1/5, Sergio Lima sergiovm...@hotmail.com:

 Hello List,

 As I learned in this list, I'm trying to use PIPE in some cases instead
 REXX.

 Now, We need see from time to time, if some machines are running in
 disconnect mode.

 Then write this sample PIPE, that put in a file, all machines that is run in
 disconnect mode, and then try locate that We need.

 trace r
 PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach disc a
 pipe  mach disc a | sort 1-8 |  mach disc a
 pipe  mach disc a | locate /x/ | console
 say rc
 exit

 The problem, is that the RC (Return Code) always return 0, if the string
 exist or not.

 For example :

 My file :

  MACH DISC
  ===
 CONNECT  - DSC
 CPUVM- DSC
 DEFCICS  - DSC
 DISKACNT - DSC
 FTPSERVE - DSC
 GCS  - DSC
 LPSERVE  - DSC
 OPERATOR - DSC
 OPERSYMP - DSC
 OP1  - DSC
 OP2  - DSC
 PERFSVM  - DSC

 Running the EXEC :

 With NOT FOUND :

  3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach
 disc
  a

   PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ | 
 mach di
 sc a

  4 *-* pipe  mach disc a | sort 1-8 |  mach disc a

   pipe  mach disc a | sort 1-8 |  mach disc a

  5 *-* pipe  mach disc a | locate /x/ | console

   pipe  mach disc a | locate /x/ | console

  6 *-* say rc

   0

 0

  7 *-* exit



 With FOUND :

  3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach
 dis
  a

   PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ | 
 mach d
 sc a

  4 *-* pipe  mach disc a | sort 1-8 |  mach disc a

   pipe  mach disc a | sort 1-8 |  mach disc a

  5 *-* pipe  mach disc a | locate /CPUVM/ | console

   pipe  mach disc a | locate /CPUVM/ | console

 CPUVM- DSC

  6 *-* say rc

   0

 0

  7 *-* exit


 Looking in the Manual CMS PIPELINES REFERENCE, Can't see how get the Return
 Code.

 Please, someone can help us with this question?

 Thanks very much

 Sergio Lima Costa
 Sao Paulo - Brazil


-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: PIPE locate question

2011-01-05 Thread Frank M. Ramaekers
Maybe this example will help (QN EXEC):

/*   QUERY NAMES replacement
*/

  Trace O


  Address COMMAND


  PIPE (endchar ?),


  |  CP QUERY NAMES,


  |  ZONE 9.1 NFIND -||,


  |  SPLIT ,,


  |  STRIP,


  |o:FANOUT,


  |  SORT,


  |  SPEC 1.15 1.16,


  |  SNAKE 5,


  |i:FANIN,


  |  CONSOLE,


?o:,


  |  COUNT LINES,


  |  SPEC /  Total number of users = / 1 1-* NW,


  |j:FANIN,


  |  JOIN *,


  |i:,


?o:,


  |  SPEC FS - F2 STRIP 1,


  |p:FIND DSC||,


  |  COUNT LINES,


  |  SPEC /  disconnected = / 1 1-* NW, 

  |  j: 

Exit rc   

 

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Sergio Lima
Sent: Wednesday, January 05, 2011 6:45 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: PIPE locate question

 

Hello List,
 
As I learned in this list, I'm trying to use PIPE in some cases instead
REXX.
 
Now, We need see from time to time, if some machines are running in
disconnect mode.
 
Then write this sample PIPE, that put in a file, all machines that is
run in disconnect mode, and then try locate that We need.
 
trace r

PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach disc a

pipe  mach disc a | sort 1-8 |  mach disc a

pipe  mach disc a | locate /x/ | console

say rc

exit

 
The problem, is that the RC (Return Code) always return 0, if the string
exist or not.
 
For example :
 
My file :
 
 MACH DISC
 === 
CONNECT  - DSC
CPUVM- DSC
DEFCICS  - DSC
DISKACNT - DSC
FTPSERVE - DSC
GCS  - DSC
LPSERVE  - DSC
OPERATOR - DSC
OPERSYMP - DSC
OP1  - DSC
OP2  - DSC
PERFSVM  - DSC
 
Running the EXEC :
 
With NOT FOUND :
 
 3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ | 
mach disc
 a

  PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ | 
mach di
sc a

 4 *-* pipe  mach disc a | sort 1-8 |  mach disc a

  pipe  mach disc a | sort 1-8 |  mach disc a

 5 *-* pipe  mach disc a | locate /x/ | console

  pipe  mach disc a | locate /x/ | console

 6 *-* say rc

  0

0

 7 *-* exit

 
 
With FOUND :
 
 3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ | 
mach dis
 a

  PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ | 
mach d
sc a

 4 *-* pipe  mach disc a | sort 1-8 |  mach disc a

  pipe  mach disc a | sort 1-8 |  mach disc a

 5 *-* pipe  mach disc a | locate /CPUVM/ | console

  pipe  mach disc a | locate /CPUVM/ | console

CPUVM- DSC

 6 *-* say rc

  0

0

 7 *-* exit

 
Looking in the Manual CMS PIPELINES REFERENCE, Can't see how get the
Return Code.
 
Please, someone can help us with this question?
 
Thanks very much
 
Sergio Lima Costa
Sao Paulo - Brazil


_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


Re: PIPE locate question

2011-01-05 Thread Sergio Lima

Hello Kris,
 
Thanks very much, run very well, look please :
 
 3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ , | SORT 1-
8 |  MACH DISC A, | LOCATE /X/ | CONSOLE | COUNT LINES |VAR NBFOUND 
  PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/   | SORT 1-
8 |  MACH DISC A  | LOCATE /X/ | CONSOLE | COUNT LINES |VAR NBFOUND   
 6 *-* IF NBFOUND=0 
  1
   *-*  THEN
   *-*  DO  
 7 *-*   SAY 'NOTHING FOUND FOR X'  
NOTHING FOUND FOR X
NOTHING FOUND FOR X 
   *-*   EXIT 67
67 
 
 
So one more thing , if not slow you down, Do you have idea, how can I execute 
this same command to 8 cms machines ?
 
Better use a variable under LOCATE COMMAND , and do a loop 8 times ? , or not ?
 
Thanks again Kris, about the PIPE COURSE, I already have download here in my 
machine, and, always that have time, i try learn more.
This course is very good.
 
Best Regards,
 
Sergio
 
 Date: Wed, 5 Jan 2011 14:12:33 +0100
 From: kris.buel...@gmail.com
 Subject: Re: PIPE locate question
 To: IBMVM@LISTSERV.UARK.EDU
 
 What about this:
 PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ ,
  | sort 1-8 |  mach disc a,
 || locate /x/ | console | count lines |Var NbFound
 If NbFound=0 then do
 say 'Nothing found for x' ; exit 67; end
 
 Remark that I made one big pipe of the 3 ones you used. There is no
 need to work with intermediate files. And, maybe you don't need the
 file at all, if so, you can remove
 |  mach disc a
 too.
 
 By the way, my LISTS package on the VM download library has a USERLIST EXEC:
 USERLIST lists all users
 USERLIST *xxx* lists all users with xxx in their name
 It givs a FILELIST like interface.
 
 Kris Buelens
 
 2011/1/5, Sergio Lima sergiovm...@hotmail.com:
 
  Hello List,
 
  As I learned in this list, I'm trying to use PIPE in some cases instead
  REXX.
 
  Now, We need see from time to time, if some machines are running in
  disconnect mode.
 
  Then write this sample PIPE, that put in a file, all machines that is run in
  disconnect mode, and then try locate that We need.
 
  trace r
  PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach disc a
  pipe  mach disc a | sort 1-8 |  mach disc a
  pipe  mach disc a | locate /x/ | console
  say rc
  exit
 
  The problem, is that the RC (Return Code) always return 0, if the string
  exist or not.
 
  For example :
 
  My file :
 
  MACH DISC
  ===
  CONNECT - DSC
  CPUVM - DSC
  DEFCICS - DSC
  DISKACNT - DSC
  FTPSERVE - DSC
  GCS - DSC
  LPSERVE - DSC
  OPERATOR - DSC
  OPERSYMP - DSC
  OP1 - DSC
  OP2 - DSC
  PERFSVM - DSC
 
  Running the EXEC :
 
  With NOT FOUND :
 
  3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach
  disc
  a
 
   PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ | 
  mach di
  sc a
 
  4 *-* pipe  mach disc a | sort 1-8 |  mach disc a
 
   pipe  mach disc a | sort 1-8 |  mach disc a
 
  5 *-* pipe  mach disc a | locate /x/ | console
 
   pipe  mach disc a | locate /x/ | console
 
  6 *-* say rc
 
   0
 
  0
 
  7 *-* exit
 
 
 
  With FOUND :
 
  3 *-* PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ |  mach
  dis
  a
 
   PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ | 
  mach d
  sc a
 
  4 *-* pipe  mach disc a | sort 1-8 |  mach disc a
 
   pipe  mach disc a | sort 1-8 |  mach disc a
 
  5 *-* pipe  mach disc a | locate /CPUVM/ | console
 
   pipe  mach disc a | locate /CPUVM/ | console
 
  CPUVM - DSC
 
  6 *-* say rc
 
   0
 
  0
 
  7 *-* exit
 
 
  Looking in the Manual CMS PIPELINES REFERENCE, Can't see how get the Return
  Code.
 
  Please, someone can help us with this question?
 
  Thanks very much
 
  Sergio Lima Costa
  Sao Paulo - Brazil 
 
 
 -- 
 Kris Buelens,
 IBM Belgium, VM customer support
  

Re: How Submit a JOB from Z/VM to Z/OS using RSCS ?

2011-01-05 Thread gclovis
George,
Is it a modified SUBVSE EXEC, supplied with VSE?
If yes, see the newer version (manual  z/VSE Installation Version 4 
Release 2):

The VM/VSE Interface is a set of VSE phases and CMS modules supplied by 
z/VSE. These phases and modules provide functions for interfacing to one 
or more z/VSE guest systems from CMS. The VM/VSE Interface routines are 
distributed in IJSYSRS.SYSLIB. You must obtain the routines from the 
library and install them on a CMS minidisk.

__
Clovis 



From:
Shedlock, George gshedl...@aegonusa.com
To:
IBMVM@LISTSERV.UARK.EDU
Date:
04/01/2011 11:57
Subject:
Re: How Submit a JOB from Z/VM to Z/OS using RSCS ?
Sent by:
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



Speaking of submitting jobs, does anyone remember of have a copy of the 
old “SUB EXEC” that was floating around the network some years back? In 
addition to doing the requisite SPOOL/TAG/PUNCH commands, it also provided 
for parameter substitution, includes and nested includes.
 
I seem to have misplaced my copy during one of my moves.
 
George Shedlock Jr
AEGON Information Technology
AEGON USA
502-560-3541




Re: How Submit a JOB from Z/VM to Z/OS using RSCS ?

2011-01-05 Thread Shedlock, George
Thank you Kris and Clovis,

I went rummaging through some old archives (boxes in storage) and found an old 
copy of the EXEC I was referring to.

Some of the features of the EXEC:
Full parameter substitution based on keyword
Keywords can come from “global variable”, “userid() variable” or command line
Unlimited nested includes (with full parameter substitution)
Runs from command line or within Xedit
If run from within Xedit, will save the current session to a temp file and 
process that

I don’t know the original source for the EXEC as there are no comments to that 
effect in the code. Thanks to all.

George Shedlock Jr
AEGON Information Technology
AEGON USA
502-560-3541
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of gclo...@br.ibm.com
Sent: Wednesday, January 05, 2011 8:37 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: How Submit a JOB from Z/VM to Z/OS using RSCS ?

George,
Is it a modified SUBVSE EXEC, supplied with VSE?
If yes, see the newer version (manual  z/VSE Installation Version 4 Release 
2):

The VM/VSE Interface is a set of VSE phases and CMS modules supplied by z/VSE. 
These phases and modules provide functions for interfacing to one or more z/VSE 
guest systems from CMS. The VM/VSE Interface routines are distributed in 
IJSYSRS.SYSLIB. You must obtain the routines from the library and install them 
on a CMS minidisk.

__
Clovis

From:

Shedlock, George gshedl...@aegonusa.com

To:

IBMVM@LISTSERV.UARK.EDU

Date:

04/01/2011 11:57

Subject:

Re: How Submit a JOB from Z/VM to Z/OS using RSCS ?

Sent by:

The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU






Speaking of submitting jobs, does anyone remember of have a copy of the old 
“SUB EXEC” that was floating around the network some years back? In addition to 
doing the requisite SPOOL/TAG/PUNCH commands, it also provided for parameter 
substitution, includes and nested includes.

I seem to have misplaced my copy during one of my moves.

George Shedlock Jr
AEGON Information Technology
AEGON USA
502-560-3541


Re: Simple RACF Question - Can the RACF database be shared with z/OS?

2011-01-05 Thread Alan Altmark
On Wednesday, 01/05/2011 at 07:12 EST, Jeff Gribbin 
jeff.grib...@gmail.com wrote:
 I've not used RACF on VM for a few decades and I believed that, as z/OS
 advanced, there came a time when it was no longer possible to share a 
RACF
 database between a z/VM system and a z/OS system.  I'm sure that this 
belief
 was based upon statements made by people that I trust, plus my own
 understanding of the disparity between RACF development on z/OS and its
 development on z/VM, but ...

I am the one who has suggested publicly that just because you *can* share, 
it does not follow that you *should* share.

As the documentation says, you CAN share the database with z/OS. However, 
the database MUST be protected by Reserve/Release.  That means that in a 
SYSPLEX, GRS on z/OS must be configured to allow ENQs issued for the RACF 
databases to use Reserve.  And, for most, that rules out a sysplex, which 
is taking explicit advantage of GRS rings/stars. 

As you suggest, RACF/MVS and RACF/VM are different products with different 
development streams targeted to different audiences, all managed by 
different organizations.  While the two groups are reasonably coupled from 
a Design point of view (we don't want to step on each others' toes), they 
march to the beat of different drummers.  A few short years ago the VM 
side accidentally shifted some bytes in a database control field mapping 
macro, causing classes on z/OS and older versions of RACF/VM to be 
mysteriously turned off.  We found the bug fairly quickly and resolved the 
issue, but the APAR wasn't pretty, requiring a utility to repair the 
database.

From an admin point of view, some of the commands work differently on z/VM 
than on z/OS.  Example: On z/VM you can define a user with no password and 
no password phrase, or just a password phrase.  You can't do that on z/OS 
(the same way).

From a security point of view, I don't like db sharing outside of a 
cluster.  The local SMF logs do not (cannot) record changes made by other 
systems, even though they affect the local system.  Further, you are 
giving the alien system access to, and control of, secrets it does not 
need to posses.  If the alien system is hacked, the db is exposed. 
Likewise, if VM is hacked, the z/OS system is vulnerable.  (No need to 
crack a password, just change it.)  And because of the logging, you will 
never know it happened.

I'd like to see z/OS and z/VM customers (e.g. via zBLC and Requirements) 
put pressure both RACFs to bring RRSF to VM or to enhance the LDAP 
interface so that LDAP replication and/or IBM Tivoli Directory Integrator 
can be used to propagate profiles and database settings (SETROPTS) among 
an arbitrary set of RACF instances.

A single point of management for RACF (VM+MVS) is a desirable thing - I 
get it.  But sharing the database is a case of the tail wagging the dog.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott


Re: PIPE locate question

2011-01-05 Thread Alan Altmark
On Wednesday, 01/05/2011 at 07:45 EST, Sergio Lima 
sergiovm...@hotmail.com wrote:

 As I learned in this list, I'm trying to use PIPE in some cases instead 
REXX.
 :
 Looking in the Manual CMS PIPELINES REFERENCE, Can't see how get the 
Return 
 Code.

While you are getting good answers from Kris and others, let me explain 
that there was no error in your pipe, so there is no non-zero RC.  The 
locate stage will send to its primary output stream all records that 
contain the string.  If no records contain the string, no records are sent 
to the primary output stream.

This is why Kris suggested counting the number of records in the primary 
output stream.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott


Re: Simple RACF Question - Can the RACF database be shared with z/OS?

2011-01-05 Thread James Olson
We do not share a RACF database, but use a copy of the zOS RACF database for 
our z/VM system.  We make all changes thru the zOS system, and copy/replace the 
z/VM RACF database quarterly or as needed.  VM security does not change 
significantly and the Auditors are happy with this. 

=
Jim Olson
Dominion Resource Services, Inc
Senior Software Engineer
OSS - Operating System Support
Phone: (804) 771-3456,  Tie Line: 8-736-3456
Email: james.ol...@dom.com

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Alan Altmark
Sent: Wednesday, January 05, 2011 9:14 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Simple RACF Question - Can the RACF database be shared with z/OS?

On Wednesday, 01/05/2011 at 07:12 EST, Jeff Gribbin 
jeff.grib...@gmail.com wrote:
 I've not used RACF on VM for a few decades and I believed that, as z/OS
 advanced, there came a time when it was no longer possible to share a 
RACF
 database between a z/VM system and a z/OS system.  I'm sure that this 
belief
 was based upon statements made by people that I trust, plus my own
 understanding of the disparity between RACF development on z/OS and its
 development on z/VM, but ...

I am the one who has suggested publicly that just because you *can* share, 
it does not follow that you *should* share.

As the documentation says, you CAN share the database with z/OS. However, 
the database MUST be protected by Reserve/Release.  That means that in a 
SYSPLEX, GRS on z/OS must be configured to allow ENQs issued for the RACF 
databases to use Reserve.  And, for most, that rules out a sysplex, which 
is taking explicit advantage of GRS rings/stars. 

As you suggest, RACF/MVS and RACF/VM are different products with different 
development streams targeted to different audiences, all managed by 
different organizations.  While the two groups are reasonably coupled from 
a Design point of view (we don't want to step on each others' toes), they 
march to the beat of different drummers.  A few short years ago the VM 
side accidentally shifted some bytes in a database control field mapping 
macro, causing classes on z/OS and older versions of RACF/VM to be 
mysteriously turned off.  We found the bug fairly quickly and resolved the 
issue, but the APAR wasn't pretty, requiring a utility to repair the 
database.

From an admin point of view, some of the commands work differently on z/VM 
than on z/OS.  Example: On z/VM you can define a user with no password and 
no password phrase, or just a password phrase.  You can't do that on z/OS 
(the same way).

From a security point of view, I don't like db sharing outside of a 
cluster.  The local SMF logs do not (cannot) record changes made by other 
systems, even though they affect the local system.  Further, you are 
giving the alien system access to, and control of, secrets it does not 
need to posses.  If the alien system is hacked, the db is exposed. 
Likewise, if VM is hacked, the z/OS system is vulnerable.  (No need to 
crack a password, just change it.)  And because of the logging, you will 
never know it happened.

I'd like to see z/OS and z/VM customers (e.g. via zBLC and Requirements) 
put pressure both RACFs to bring RRSF to VM or to enhance the LDAP 
interface so that LDAP replication and/or IBM Tivoli Directory Integrator 
can be used to propagate profiles and database settings (SETROPTS) among 
an arbitrary set of RACF instances.

A single point of management for RACF (VM+MVS) is a desirable thing - I 
get it.  But sharing the database is a case of the tail wagging the dog.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott
CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and/or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.


Re: Simple RACF Question - Can the RACF database be shared with z/OS?

2011-01-05 Thread Colin Allinson
Alan Altmark alan_altm...@us.ibm.com wrote:-

 I am the one who has suggested publicly that just because you *can* 
share, 
 it does not follow that you *should* share.

I fully understand and respect Alan's views on the Con's of sharing RACF 
databases - but there are some Pro's as well. One of the biggest issues we 
faced when the RACF databases were split and we stopped sharing was that 
of user currency and cleanup.

Users have a defined userid in the organisation (the same on Z/OS and 
Z/VM). It is a, (quite sensible), auditing requirement that, after a 
period of inactivity, we revoke userids and then, after a further inactive 
period, we delete them. We have users that never log on to TSO but who do 
submit jobs from VM. If they don't submit jobs to z/OS for a while then 
their z/OS account no longer has any idea that they are still active users 
and they get deleted.



Colin Allinson
VM Systems Support
Amadeus Data Processing GmbH



Re: Simple RACF Question - Can the RACF database be shared with z/OS?

2011-01-05 Thread Jeff Gribbin
Thankyou Alan - that succinctly lifts my understanding to the level
of, It's physically possible but really, really inadvisable because
... followed by exactly the concerns that I would have felt compelled
to raise here had the consensus been that it really was as easy as the
manual appears to suggest.

I instinctively feel that the, 'right' way to do shared security is
via a single logical server that is consulted and which pronounces on
all access requests that arise within its domain of influence - in
other words, within z/VM, an ESM that acts as a channel between CP and
the True Lord of Security, simply passing requests in one direction
and decisions in the other direction.

Shared datasets were good in their day, but that day has now passed.

Many thanks to all for the excellent responses - I am now content
that, when asked, I can honestly deliver an accurate picture of RACF's
capabilities and limitations in this area.

Cheers folks.

Jeff :-)


DISKACNT profile exec

2011-01-05 Thread Robert Payne
A recent thread here got me motivated to look at our accounting records, but I 
soon
remembered that about 5 years ago I accidentally deleted the EXEC from that 
userid.
The IBM softcopy docs mention a file on MAINT 191 mdisk called DVM PROFILE, but 
it
doesn't seem to exist. Not having this information wasn't a concern and when I 
did
have it available, just deleted them because we didn't have time or need to 
process
them.

Would I be out of line or violating license issues to ask for someone's copy of
this EXEC ?  Yes, I have the install DDR tapes for z/VM 5.2 but that would be
overkill just to recover one piece of code.

YUP, it was like BANG !  OUCH ! my gun, my foot. LOL

TIA,
Bubba



Re: How can get the Week day ?

2011-01-05 Thread Edward M Martin
Hello Everyone,

Just a note on DATE('B') from the Help screens.


For BASE there is a note
NOTE:  The base date of 1 January 0001 is determined by extending
   the current Gregorian calendar backward (365 days each
   year, with an extra day every year that is divisible by 4
   except century years that are not divisible by 400). It
   does not take into account any errors in the calendar
   system that created the Gregorian calendar originally.



Ed Martin
Aultman Health Foundation
330-363-5050
ext 35050
-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Chip Davis
Sent: Tuesday, January 04, 2011 7:28 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: How can get the Week day ?

Well, not quite, unless you're using a VERY non-ANSI-Standard version 
of Rexx. :-)

  Say Date('U',0,'B')  --  01/01/01

But you're right about the C for Century; it was always better to 
think of it as the Roman numeral for 100.  It still suffered from the 
same boundary issues as the old Julian date, just not as frequently.

The fact is, Date('C') is not even legal at Rexx Language Level 4.00 
(much less ANSI Standard) which has been around for quite a while now.

So the best option is to simply forget about the Date('C') option in 
the first place and use Date('B') instead.  If you have existing code 
that you need to convert, you can establish the Date('C') epoch as a 
constant (now 730119) offset to the Date('B') value.

-Chip-

On 1/4/11 22:25 Schuh, Richard said:
 It is right with the DATE(B) function - 01/01/1001.
  
 All the technicalities aside, forget about the word Century and view

 the letter C as an abstraction for the described function. Then, 
 everything is consistent, even if technically incorrect.

 *From:* *George Henke/NYLIC*
 tyvm, Chip, for the explanation.  So this century really began in
 Jan 1, 2001, not 2000.  Interesting.
 
 *From:* *Chip Davis c...@aresti.com*
 Technically, the first year of each century is cc01, not cc00.
 
 On 1/3/11 16:03 George Henke/NYLIC said:
   Not quite sure what is the difference between the number of
days
 since
   the beginning of the century and the number of days since the
most
   recent year ending in '00' unless going back or ahead more than
a
   century or 2.
  
   But I suppose there is a difference or it would have been moot.
  
   *Chip Davis c...@aresti.com*
   Be careful with Date('C').  It doesn't really give you the
number of
   days in the current century (as it was originally documented).
It
   returns the number of days since the beginning of the most
recent
 year
   ending in '00', e.g. '2000'.
  
   On 1/3/11 14:25 George Henke/NYLIC said:
 REXX also has a nifty function called Century Day that
 simplifies things
 by working in century days, days since the beginning of the
 century,
 rather than days since the beginning of the year.


Re: DISKACNT profile exec

2011-01-05 Thread Scott Rohling
sent copy to Robert directly

Scott Rohling

On Wed, Jan 5, 2011 at 8:30 AM, Robert Payne rpa...@tad.org wrote:

  A recent thread here got me motivated to look at our accounting records,
 but I soon
 remembered that about 5 years ago I accidentally deleted the EXEC from that
 userid.
 The IBM softcopy docs mention a file on MAINT 191 mdisk called DVM PROFILE,
 but it
 doesn't seem to exist. Not having this information wasn't a concern and
 when I did
 have it available, just deleted them because we didn't have time or need to
 process
 them.

 Would I be out of line or violating license issues to ask for someone's
 copy of
 this EXEC ?  Yes, I have the install DDR tapes for z/VM 5.2 but that would
 be
 overkill just to recover one piece of code.

 YUP, it was like BANG !  OUCH ! my gun, my foot. LOL

 TIA,
 Bubba



Re: DISKACNT profile exec

2011-01-05 Thread Robert Payne
Got it,  THANKS !!!
 
 

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu]on Behalf 
Of Scott Rohling
Sent: Wednesday, January 05, 2011 9:41 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: DISKACNT profile exec


sent copy to Robert directly

Scott Rohling


On Wed, Jan 5, 2011 at 8:30 AM, Robert Payne  rpa...@tad.org wrote:


A recent thread here got me motivated to look at our accounting records, but I 
soon 
remembered that about 5 years ago I accidentally deleted the EXEC from that 
userid. 
The IBM softcopy docs mention a file on MAINT 191 mdisk called DVM PROFILE, but 
it 
doesn't seem to exist. Not having this information wasn't a concern and when I 
did 
have it available, just deleted them because we didn't have time or need to 
process 
them. 

Would I be out of line or violating license issues to ask for someone's copy of 
this EXEC ?  Yes, I have the install DDR tapes for z/VM 5.2 but that would be 
overkill just to recover one piece of code. 

YUP, it was like BANG !  OUCH ! my gun, my foot. LOL 

TIA, 
Bubba 




Re: DISKACNT profile exec

2011-01-05 Thread Tom Huegel
Kris Buelens sent me a nice accounting exec several years ago, you might ask
him if he would share again.

On Wed, Jan 5, 2011 at 7:42 AM, Robert Payne rpa...@tad.org wrote:

  Got it,  THANKS !!!



 -Original Message-
 *From:* The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu]*on
 Behalf Of *Scott Rohling
 *Sent:* Wednesday, January 05, 2011 9:41 AM
 *To:* IBMVM@LISTSERV.UARK.EDU
 *Subject:* Re: DISKACNT profile exec

 sent copy to Robert directly

 Scott Rohling

 On Wed, Jan 5, 2011 at 8:30 AM, Robert Payne rpa...@tad.org wrote:

  A recent thread here got me motivated to look at our accounting records,
 but I soon
 remembered that about 5 years ago I accidentally deleted the EXEC from
 that userid.
 The IBM softcopy docs mention a file on MAINT 191 mdisk called DVM
 PROFILE, but it
 doesn't seem to exist. Not having this information wasn't a concern and
 when I did
 have it available, just deleted them because we didn't have time or need
 to process
 them.

 Would I be out of line or violating license issues to ask for someone's
 copy of
 this EXEC ?  Yes, I have the install DDR tapes for z/VM 5.2 but that would
 be
 overkill just to recover one piece of code.

 YUP, it was like BANG !  OUCH ! my gun, my foot. LOL

 TIA,
 Bubba





Re: DISKACNT profile exec

2011-01-05 Thread Robert Payne
I just cranked it up and so far, all is well !
 
 
 
 
q cplevel   
z/VM Version 5 Release 2.0, service level 0601 (64-bit) 
Generated at 02/13/2006 11:45:25 TEX
IPL at 11/05/2010 17:46:32 TEX  
Ready; T=0.01/0.01 09:53:49 
q rec   
RECORDINGCOUNT LMT USERID   COMMUNICATION   
EREP ON    002 EREP ACTIVE  
ACCOUNT  ON    020 DISKACNT ACTIVE  
SYMPTOM  ON    002 OPERSYMP ACTIVE  
Ready; T=0.01/0.01 09:53:52 



Re: How can get the Week day ?

2011-01-05 Thread Chip Davis
That's correct Ed, and WAD.  Date('B') is intended for doing reliable 
 date arithmetic, not archeology. :-)


A consistent algorithm is more important to modern programmers than 
hewing precisely to historical usage (were that even possible, given 
the multiplicity of calendar schemes used in antiquity).  Those who 
assert that Jesus was born on a Monday have a few other errors to 
explain first.  Usually they are the ones who also delight in the UNIX 
'cal 9 1752' special case.


-Chip-

On 1/5/11 15:31 Edward M Martin said:

For BASE there is a note
NOTE:  The base date of 1 January 0001 is determined by extending
   the current Gregorian calendar backward (365 days each
   year, with an extra day every year that is divisible by 4
   except century years that are not divisible by 400). It
   does not take into account any errors in the calendar
   system that created the Gregorian calendar originally.

-Original Message-
From: Chip Davis
So the best option is to simply forget about the Date('C') option in 
the first place and use Date('B') instead.  If you have existing code 
that you need to convert, you can establish the Date('C') epoch as a 
constant (now 730119) offset to the Date('B') value.


On 1/4/11 22:25 Schuh, Richard said:

It is right with the DATE(B) function - 01/01/1001.
 
All the technicalities aside, forget about the word Century and view


the letter C as an abstraction for the described function. Then, 
everything is consistent, even if technically incorrect.


*From:* *George Henke/NYLIC*
tyvm, Chip, for the explanation.  So this century really began in
Jan 1, 2001, not 2000.  Interesting.

*From:* *Chip Davis c...@aresti.com*
Technically, the first year of each century is cc01, not cc00.

On 1/3/11 16:03 George Henke/NYLIC said:
  Not quite sure what is the difference between the number of

days

since
  the beginning of the century and the number of days since the

most

  recent year ending in '00' unless going back or ahead more than

a

  century or 2.
 
  But I suppose there is a difference or it would have been moot.
 
  *Chip Davis c...@aresti.com*
  Be careful with Date('C').  It doesn't really give you the

number of

  days in the current century (as it was originally documented).

It

  returns the number of days since the beginning of the most

recent

year
  ending in '00', e.g. '2000'.
 
  On 1/3/11 14:25 George Henke/NYLIC said:
REXX also has a nifty function called Century Day that
simplifies things
by working in century days, days since the beginning of the
century,
rather than days since the beginning of the year.


REXX code for UR

2011-01-05 Thread Frank M. Ramaekers
Does someone have (before I try to reinvent the wheel) have code that
will do the following

 

PUSHUR   RDR | PUN | PRT | ccuu Remembers the
virtual UR settings

POPUR RDR | PUN | PRT | ccuu Recalls the virtual
UR settings

 

 Frank M. Ramaekers Jr.

 

 

Systems Programmer

MCP, MCP+I, MCSE  RHCE

 

American Income Life Insurance Co.

Phone: (254)761-6649

 

1200 Wooded Acres Dr.

Fax: (254)741-5777

 

Waco, Texas  76701

 

 

 


_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


Re: DISKACNT profile exec

2011-01-05 Thread gclovis
Robert, I saw that it already was answered.
But, only to register:

The original DISKACNT's PROFILE EXEC is the same as EREP's and OPERSYMP's 
profiles.
You can copy  it from the other machine... 
__
Clovis 



From:
Robert Payne rpa...@tad.org
To:
IBMVM@listserv.uark.edu
Date:
05/01/2011 13:30
Subject:
DISKACNT profile exec
Sent by:
The IBM z/VM Operating System IBMVM@listserv.uark.edu



A recent thread here got me motivated to look at our accounting records, 
but I soon 
remembered that about 5 years ago I accidentally deleted the EXEC from 
that userid. 
The IBM softcopy docs mention a file on MAINT 191 mdisk called DVM 
PROFILE, but it 
doesn't seem to exist. Not having this information wasn't a concern and 
when I did 
have it available, just deleted them because we didn't have time or need 
to process 
them. 
Would I be out of line or violating license issues to ask for someone's 
copy of 
this EXEC ?  Yes, I have the install DDR tapes for z/VM 5.2 but that would 
be 
overkill just to recover one piece of code. 
YUP, it was like BANG !  OUCH ! my gun, my foot. LOL 
TIA, 
Bubba 



Re: DISKACNT profile exec

2011-01-05 Thread Robert Payne
We have a very customized one for EREP, but thanks !  That is good to know.
 

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu]on Behalf 
Of gclo...@br.ibm.com
Sent: Wednesday, January 05, 2011 11:20 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: DISKACNT profile exec


Robert, I saw that it already was answered. 
But, only to register: 

The original DISKACNT's PROFILE EXEC is the same as EREP's and OPERSYMP's 
profiles. 
You can copy  it from the other machine... 
__
Clovis 



From:   Robert Payne rpa...@tad.org 

To: IBMVM@listserv.uark.edu 

Date:   05/01/2011 13:30 

Subject:DISKACNT profile exec 

Sent by:The IBM z/VM Operating System IBMVM@listserv.uark.edu

  _  




A recent thread here got me motivated to look at our accounting records, but I 
soon 
remembered that about 5 years ago I accidentally deleted the EXEC from that 
userid. 
The IBM softcopy docs mention a file on MAINT 191 mdisk called DVM PROFILE, but 
it 
doesn't seem to exist. Not having this information wasn't a concern and when I 
did 
have it available, just deleted them because we didn't have time or need to 
process 
them. 

Would I be out of line or violating license issues to ask for someone's copy of 
this EXEC ?  Yes, I have the install DDR tapes for z/VM 5.2 but that would be 
overkill just to recover one piece of code. 


YUP, it was like BANG !  OUCH ! my gun, my foot. LOL 


TIA, 
Bubba 







Re: REXX code for UR

2011-01-05 Thread Hodge, Robert L
Following is example of what I have used in the past.

'CP DEFINE 00E 0EE'
'CP DEFINE PRT 00E'
.
.
.
'CP DETACH 00E'
'CP DEFINE 0EE 00E'

It is so simple, that never felt it required being a callable routine.

Basically 00E is saved as 0EE, and redefine back to 00E later.


From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Frank M. Ramaekers
Sent: Wednesday, January 05, 2011 10:04 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: EXTERNAL: REXX code for UR

Does someone have (before I try to reinvent the wheel) have code that will do 
the following

PUSHUR   RDR | PUN | PRT | ccuu Remembers the virtual UR 
settings
POPUR RDR | PUN | PRT | ccuu Recalls the virtual UR 
settings


 Frank M. Ramaekers Jr.





[cid:image001.gif@01CBACC8.46E96A50]


Systems Programmer


MCP, MCP+I, MCSE  RHCE




American Income Life Insurance Co.


Phone: (254)761-6649




1200 Wooded Acres Dr.


Fax: (254)741-5777




Waco, Texas  76701







_ This message contains 
information which is privileged and confidential and is solely for the use of 
the intended recipient. If you are not the intended recipient, be aware that 
any review, disclosure, copying, distribution, or use of the contents of this 
message is strictly prohibited. If you have received this in error, please 
destroy it immediately and notify us at privacy...@ailife.com.


Re: REXX code for UR

2011-01-05 Thread Frank M. Ramaekers
Hmmm...that's a thought, I'll consider this approach.

 

Thanks,

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Hodge, Robert L
Sent: Wednesday, January 05, 2011 11:37 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: REXX code for UR

 

Following is example of what I have used in the past.

 

'CP DEFINE 00E 0EE'

'CP DEFINE PRT 00E'

.

 nb sp;  .

.

'CP DETACH 00E'

'CP DEFINE 0EE 00E'

 

It is so simple, that never felt it required being a callable routine.

 

Basically 00E is saved as 0EE, and redefine back to 00E later.

 

 

From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Frank M. Ramaekers
Sent: Wednesday, January 05, 2011 10:04 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: EXTERNAL: REXX code for UR

 

Does someone have (before I try to reinvent the wheel) have code that
will do the following

 

PUSHUR   RDR | PUN | PRT | ccuu Remembers the
virtual UR settings

POPUR RDR | PUN | PRT | ccuu Recalls the virtual
UR settings

 

 Frank M. Ramaekers Jr.

 



Systems Programmer

MCP, MCP+I, MCSE  RHCE

 

American Income Life Insurance Co.

Phone: (254)761-6649

 

1200 Wooded Acres Dr.

Fax: (254)741-5777 /o:p

 

Waco, Texas  76701

 

 

 

_ This message
contains information which is privileged and confidential and is solely
for the use of the intended recipient. If you are not the intended
recipient, be aware that any review, disclosure, copying, distribution,
or use of the contents of this message is strictly prohibited. If you
have received this in error, please destroy it immediately and notify us
at privacy...@ailife.com. 


_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


Re: DISKACNT profile exec

2011-01-05 Thread Kris Buelens
I still send that over to people requesting it...

2011/1/5 Tom Huegel tehue...@gmail.com

 Kris Buelens sent me a nice accounting exec several years ago, you might
 ask him if he would share again.


 On Wed, Jan 5, 2011 at 7:42 AM, Robert Payne rpa...@tad.org wrote:

  Got it,  THANKS !!!



 -Original Message-
 *From:* The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu]*on
 Behalf Of *Scott Rohling
 *Sent:* Wednesday, January 05, 2011 9:41 AM
 *To:* IBMVM@LISTSERV.UARK.EDU
 *Subject:* Re: DISKACNT profile exec

 sent copy to Robert directly

 Scott Rohling

 On Wed, Jan 5, 2011 at 8:30 AM, Robert Payne rpa...@tad.org wrote:

  A recent thread here got me motivated to look at our accounting
 records, but I soon
 remembered that about 5 years ago I accidentally deleted the EXEC from
 that userid.
 The IBM softcopy docs mention a file on MAINT 191 mdisk called DVM
 PROFILE, but it
 doesn't seem to exist. Not having this information wasn't a concern and
 when I did
 have it available, just deleted them because we didn't have time or need
 to process
 them.

 Would I be out of line or violating license issues to ask for someone's
 copy of
 this EXEC ?  Yes, I have the install DDR tapes for z/VM 5.2 but that
 would be
 overkill just to recover one piece of code.

 YUP, it was like BANG !  OUCH ! my gun, my foot. LOL

 TIA,
 Bubba






-- 
Kris Buelens,
IBM Belgium, VM customer support


Dynamically adding 3390's

2011-01-05 Thread Hughes, Jim
We want to define a new controller for some new dasd volumes on our
DS8100.  Our Z/OS z10 system has them defined and is working with them
quite nicely.

Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
reconfiguration.

So, my question is how do I get the new dasd online to z/VM?  It will
use existing paths to the DS8100.

There are 8 devices on this new path.

I've never done this sort of thing to a running system and have a
certain respect for keeping it up and working. Experimenting is not an
option for me.

Thanks in advance for hints, tips, and an education.


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.


Re: Dynamically adding 3390's

2011-01-05 Thread Mark Pace
Assuming that z/OS controls the IOCP throught HCD share the CHPID and the
Devices with the VM partition.

On Wed, Jan 5, 2011 at 2:42 PM, Hughes, Jim jim.hug...@doit.nh.gov wrote:

 We want to define a new controller for some new dasd volumes on our
 DS8100.  Our Z/OS z10 system has them defined and is working with them
 quite nicely.

 Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
 z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
 reconfiguration.

 So, my question is how do I get the new dasd online to z/VM?  It will
 use existing paths to the DS8100.

 There are 8 devices on this new path.

 I've never done this sort of thing to a running system and have a
 certain respect for keeping it up and working. Experimenting is not an
 option for me.

 Thanks in advance for hints, tips, and an education.

 
 James R. Hughes
 TSG, Problem Solver
 NH Department of Information Technology
 603-271-5586(w); 603-491-3071(c)
 www.nh.gov/doit

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not
 the intended recipient of this message, please notify the sender
 immediately and delete the message from your system.

 It is fun to do the impossible.




-- 
Mark D Pace
Senior Systems Engineer
Mainline Information Systems


Re: Dynamically adding 3390's

2011-01-05 Thread Hughes, Jim
Two separate systems sharing a DS 8100. The z10 and z890 don't share an
HCD.

 

I cannot vary something online to the z890 that doesn't exist.  Am I
making sense or missing the point you are trying to make?

 


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Mark Pace
Sent: Wednesday, January 05, 2011 2:45 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Dynamically adding 3390's

 

Assuming that z/OS controls the IOCP throught HCD share the CHPID and
the Devices with the VM partition.

 

On Wed, Jan 5, 2011 at 2:42 PM, Hughes, Jim jim.hug...@doit.nh.gov
wrote:

We want to define a new controller for some new dasd volumes on our
DS8100.  Our Z/OS z10 system has them defined and is working with them
quite nicely.

Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
reconfiguration.

So, my question is how do I get the new dasd online to z/VM?  It will
use existing paths to the DS8100.

There are 8 devices on this new path.

I've never done this sort of thing to a running system and have a
certain respect for keeping it up and working. Experimenting is not an
option for me.

Thanks in advance for hints, tips, and an education.


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.




-- 

Mark D Pace 

Senior Systems Engineer 

Mainline Information Systems 

 

 

 

 



Re: Dynamically adding 3390's

2011-01-05 Thread Mark Pace
No I'm sorry, I read but didn't comprehend that there were 2 separate Z
systems.

You can dynamically add everything from z/VM, however I've used HCD on z/OS
so long now that I'm afraid I can't help with the proper CP commands to add
the devices in z/VM.

On Wed, Jan 5, 2011 at 2:48 PM, Hughes, Jim jim.hug...@doit.nh.gov wrote:

  Two separate systems sharing a DS 8100. The z10 and z890 don’t share an
 HCD.



 I cannot vary something online to the z890 that doesn’t exist.  Am I making
 sense or missing the point you are trying to make?



 
 James R. Hughes
 TSG, Problem Solver
 NH Department of Information Technology
 603-271-5586(w); 603-491-3071(c)
 www.nh.gov/doit

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not the
 intended recipient of this message, please notify the sender immediately and
 delete the message from your system.

 It is fun to do the impossible.
   --

 *From:* The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] *On
 Behalf Of *Mark Pace
 *Sent:* Wednesday, January 05, 2011 2:45 PM
 *To:* IBMVM@LISTSERV.UARK.EDU
 *Subject:* Re: Dynamically adding 3390's



 Assuming that z/OS controls the IOCP throught HCD share the CHPID and the
 Devices with the VM partition.



 On Wed, Jan 5, 2011 at 2:42 PM, Hughes, Jim jim.hug...@doit.nh.gov
 wrote:

 We want to define a new controller for some new dasd volumes on our
 DS8100.  Our Z/OS z10 system has them defined and is working with them
 quite nicely.

 Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
 z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
 reconfiguration.

 So, my question is how do I get the new dasd online to z/VM?  It will
 use existing paths to the DS8100.

 There are 8 devices on this new path.

 I've never done this sort of thing to a running system and have a
 certain respect for keeping it up and working. Experimenting is not an
 option for me.

 Thanks in advance for hints, tips, and an education.

 
 James R. Hughes
 TSG, Problem Solver
 NH Department of Information Technology
 603-271-5586(w); 603-491-3071(c)
 www.nh.gov/doit

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not
 the intended recipient of this message, please notify the sender
 immediately and delete the message from your system.

 It is fun to do the impossible.




 --

 Mark D Pace

 Senior Systems Engineer

 Mainline Information Systems












-- 
Mark D Pace
Senior Systems Engineer
Mainline Information Systems


Re: Dynamically adding 3390's

2011-01-05 Thread Quay, Jonathan (IHG)
How did you create the IOCP for the machine that has the VM partition in
question?  Go there and change the definition of those channels, control
units and devices to include the VM partition.  Dynamically activate the
changes.

 



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Hughes, Jim
Sent: Wednesday, January 05, 2011 2:49 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Dynamically adding 3390's

 

Two separate systems sharing a DS 8100. The z10 and z890 don't share an
HCD.

 

I cannot vary something online to the z890 that doesn't exist.  Am I
making sense or missing the point you are trying to make?

 


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Mark Pace
Sent: Wednesday, January 05, 2011 2:45 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Dynamically adding 3390's

 

Assuming that z/OS controls the IOCP throught HCD share the CHPID and
the Devices with the VM partition.

 

On Wed, Jan 5, 2011 at 2:42 PM, Hughes, Jim jim.hug...@doit.nh.gov
wrote:

We want to define a new controller for some new dasd volumes on our
DS8100.  Our Z/OS z10 system has them defined and is working with them
quite nicely.

Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
reconfiguration.

So, my question is how do I get the new dasd online to z/VM?  It will
use existing paths to the DS8100.

There are 8 devices on this new path.

I've never done this sort of thing to a running system and have a
certain respect for keeping it up and working. Experimenting is not an
option for me.

Thanks in advance for hints, tips, and an education.


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.




-- 

Mark D Pace 

Senior Systems Engineer 

Mainline Information Systems 

 

 

 

 



Re: Dynamically adding 3390's

2011-01-05 Thread Frank M. Ramaekers
See DEFINE CHPID|PATH|CU|DEVICE statements.

 
Frank M. Ramaekers Jr.
 
 

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Hughes, Jim
Sent: Wednesday, January 05, 2011 1:42 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Dynamically adding 3390's

We want to define a new controller for some new dasd volumes on our
DS8100.  Our Z/OS z10 system has them defined and is working with them
quite nicely.

Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
reconfiguration.

So, my question is how do I get the new dasd online to z/VM?  It will
use existing paths to the DS8100.

There are 8 devices on this new path.

I've never done this sort of thing to a running system and have a
certain respect for keeping it up and working. Experimenting is not an
option for me.

Thanks in advance for hints, tips, and an education.


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.

_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


Re: Dynamically adding 3390's

2011-01-05 Thread Tom Duerbusch
I would think that if this DS8100 was already being used by this box, then the 
CHPID and PATHs are already defined.  If this is a new controller for you, then 
you need to do the DEFINE for the controller using the existing paths.

In all cases, you would have to do the DEFINE device(s) for the new volumes.

Then, you can vary on the devices and be off and running.

When done, be sure to update your IOCP and put it in the next slot.  Otherwise 
a Power On Reset, will loose any dynamically defined IOCP stuff.


Tom Duerbusch
THD Consulting

 Frank M. Ramaekers framaek...@ailife.com 1/5/2011 1:57 PM 
See DEFINE CHPID|PATH|CU|DEVICE statements.

 
Frank M. Ramaekers Jr.
 
 

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Hughes, Jim
Sent: Wednesday, January 05, 2011 1:42 PM
To: IBMVM@LISTSERV.UARK.EDU 
Subject: Dynamically adding 3390's

We want to define a new controller for some new dasd volumes on our
DS8100.  Our Z/OS z10 system has them defined and is working with them
quite nicely.

Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
reconfiguration.

So, my question is how do I get the new dasd online to z/VM?  It will
use existing paths to the DS8100.

There are 8 devices on this new path.

I've never done this sort of thing to a running system and have a
certain respect for keeping it up and working. Experimenting is not an
option for me.

Thanks in advance for hints, tips, and an education.


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit 

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.

_

This message contains information which is privileged and confidential and is 
solely for the use of the

intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,

copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have

received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


Re: Dynamically adding 3390's

2011-01-05 Thread Kris Buelens
Here some code. I used it to define extra disks defined on a DS6000.  Remark
that I first deleted a control unit.  Maybe not required in your case.

'/* Some new disks in DS6000 */
address command
'CP SET CONFIGMODE ON'

'CP VARY OFF SUBCH 7700-775F'
'CP VARY OFF SUBCH 7800-785F'
'CP DELETE IODEVICE 7700-775F UNITADD 00 CUNUMBR 5A09'
'CP DELETE IODEVICE 7800-785F UNITADD 00 CUNUMBR 5A08'
'CP DELETE CU 5A08'
'CP DELETE CU 5A09'

'CP DEFINE CU 5A0A TYPE * UNITADD 00-5F CUADD A CHPID 57 2B'
'CP DEFINE CU 5A08 TYPE * UNITADD 00-5F CUADD 8 CHPID 57 2B'
'CP DEFINE CU 5A0C TYPE * UNITADD 00-5F CUADD C CHPID 57 2B'
'CP DEFINE CU 5A0E TYPE * UNITADD 00-5F CUADD E CHPID 57 2B'


'CP DEFINE IODEVICE 7700-773F UNITADD 00 CUNUMBR 5A0A PARTITION BCRSPROD'
'CP DEFINE IODEVICE 7800-783F UNITADD 00 CUNUMBR 5A08 PARTITION BCRSPROD'
'CP DEFINE IODEVICE 7900-793F UNITADD 00 CUNUMBR 5A0C PARTITION BCRSPROD'
'CP DEFINE IODEVICE 7A00-7A3F UNITADD 00 CUNUMBR 5A0E PARTITION BCRSPROD'


'CP SET CONFIGMODE OFF'


2011/1/5 Tom Duerbusch duerbus...@stlouiscity.com

 I would think that if this DS8100 was already being used by this box, then
 the CHPID and PATHs are already defined.  If this is a new controller for
 you, then you need to do the DEFINE for the controller using the existing
 paths.

 In all cases, you would have to do the DEFINE device(s) for the new
 volumes.

 Then, you can vary on the devices and be off and running.

 When done, be sure to update your IOCP and put it in the next slot.
  Otherwise a Power On Reset, will loose any dynamically defined IOCP stuff.


 Tom Duerbusch
 THD Consulting

  Frank M. Ramaekers framaek...@ailife.com 1/5/2011 1:57 PM 
 See DEFINE CHPID|PATH|CU|DEVICE statements.


 Frank M. Ramaekers Jr.



 -Original Message-
 From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
 Behalf Of Hughes, Jim
 Sent: Wednesday, January 05, 2011 1:42 PM
 To: IBMVM@LISTSERV.UARK.EDU
 Subject: Dynamically adding 3390's

 We want to define a new controller for some new dasd volumes on our
 DS8100.  Our Z/OS z10 system has them defined and is working with them
 quite nicely.

 Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
 z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
 reconfiguration.

 So, my question is how do I get the new dasd online to z/VM?  It will
 use existing paths to the DS8100.

 There are 8 devices on this new path.

 I've never done this sort of thing to a running system and have a
 certain respect for keeping it up and working. Experimenting is not an
 option for me.

 Thanks in advance for hints, tips, and an education.

 
 James R. Hughes
 TSG, Problem Solver
 NH Department of Information Technology
 603-271-5586(w); 603-491-3071(c)
 www.nh.gov/doit

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not
 the intended recipient of this message, please notify the sender
 immediately and delete the message from your system.

 It is fun to do the impossible.

 _

 This message contains information which is privileged and confidential and
 is solely for the use of the

 intended recipient. If you are not the intended recipient, be aware that
 any review, disclosure,

 copying, distribution, or use of the contents of this message is strictly
 prohibited. If you have

 received this in error, please destroy it immediately and notify us at
 privacy...@ailife.com.




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread George Henke/NYLIC
This is great, George, ty.

Just one problem.

It does not show the GAPs after the last extent on a VOLSER.

It would be nice to know the GAPS on the tailend of a VOLSER also.

Must I put a dummy entry on the last cylinder to generate a GAP in DIRMAP 
and/or DISKMAP?

Is there a workaround for this on VM Tools?




gclo...@br.ibm.com 
Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
01/05/2011 07:26 AM
Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU


To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: SORTING DIRECTORY GAPS BY USER






George: 
Not sure we understand the question, but... 

Without DIRMAINT, try DIRMAP (GAPFILE DEVSORT 
  - Generate two files, one with only the Gaps and other with the 
allocated cylinders, both classified by VOLSER. 

With DIRMAINT, try DIRM FREE and DIRM USED to get files like the same 
proposal... Or, DIRM DIRMAP (GAPFILE DEVSORT 


DIRM HELP DIRMAP shows: 
  
Devsort  
requests that the report is to be sorted by device type followed by 
volume 
label. The default is to sort by volume label. 
  
Gapfile  
Generate a file listing gaps in addition to a report detailing the 
current 
DASD utilization.  
  
Note:  If you use the GAPFILE option without using the EXCLUDE option 
and 
   excluded full volume overlays are defined on your system no gap 

   data will be returned.  Use the EXCLUDE option to eliminate the 

   excluded full volume overlays from consideration when building 
the 
   gap data. 
 
The gapfile is listed in the following format:   
Field Use
1volid of disk  
2device type of disk.
3start cylinder/block of gap
4end cylinder/block of gap 
5number of cylinders/blocks in gap 
  
 Note:  All fields are blank delimited and not bound to a specific 

column range.

__
Clovis 


From: 
Mike Walter mike.wal...@hewitt.com 
To: 
IBMVM@LISTSERV.UARK.EDU 
Date: 
04/01/2011 19:33 
Subject: 
Re: SORTING DIRECTORY GAPS BY USER 
Sent by: 
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU





Or better yet... _why_? 

It sounds as if you want to display users and mdisks, sorted by user (and 
perhaps mdisk, too) which reside between gaps.   
But _why_?  What are you attempting to do? 

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's. 

Tom Huegel tehue...@gmail.com 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 
01/04/2011 03:26 PM 

Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



To
IBMVM@LISTSERV.UARK.EDU 
cc

Subject
Re: SORTING DIRECTORY GAPS BY USER










I don't understand your question.. If there is a GAP then there is no 
USER. ???

On Tue, Jan 4, 2011 at 1:13 PM, George Henke/NYLIC 
george_he...@newyorklife.com wrote: 
Does anybody have anything like a PIPE command or a utility to do this 
sort of thing, sort the DIRECTORY DISKMAP on USER within GAPS? 

I am sure DIRMAINT would obviate the necessity for such a thing, but right 
now this is all I can do. 

The information contained in this e-mail and any accompanying documents 
may contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if 
this message has been addressed to you in error, please immediately alert 
the sender by reply e-mail and then delete this message, including any 
attachments. Any dissemination, distribution or other use of the contents 
of this message by anyone other than the intended recipient is strictly 
prohibited. All messages sent to and from this e-mail address may be 
monitored as permitted by applicable law and regulations to ensure 
compliance with our internal policies and to protect our business. E-mails 
are not secure and cannot be guaranteed to be error free as they can be 
intercepted, amended, lost or destroyed, or contain viruses. You are 
deemed to have accepted these risks if you communicate with us by e-mail. 


Re: Dynamically adding 3390's

2011-01-05 Thread Hughes, Jim
Got it. Thanks.


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Frank M. Ramaekers
Sent: Wednesday, January 05, 2011 2:57 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Dynamically adding 3390's

See DEFINE CHPID|PATH|CU|DEVICE statements.

 
Frank M. Ramaekers Jr.
 
 

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Hughes, Jim
Sent: Wednesday, January 05, 2011 1:42 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Dynamically adding 3390's

We want to define a new controller for some new dasd volumes on our
DS8100.  Our Z/OS z10 system has them defined and is working with them
quite nicely.

Our z890 z/VM system doesn't have them in its IOCP.  I've checked the
z/VM system using CP Q DYN STAT and discovered it does allow dynamic io
reconfiguration.

So, my question is how do I get the new dasd online to z/VM?  It will
use existing paths to the DS8100.

There are 8 devices on this new path.

I've never done this sort of thing to a running system and have a
certain respect for keeping it up and working. Experimenting is not an
option for me.

Thanks in advance for hints, tips, and an education.


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system.

It is fun to do the impossible.

_

This message contains information which is privileged and confidential
and is solely for the use of the

intended recipient. If you are not the intended recipient, be aware that
any review, disclosure,

copying, distribution, or use of the contents of this message is
strictly prohibited. If you have

received this in error, please destroy it immediately and notify us at
privacy...@ailife.com.


Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread Frank M. Ramaekers
These tools (DIRMAP and MDISKMAP) have no ideas how many cylinders a
device has (unless you told it by defining a full pack mini-disk).

 

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of George Henke/NYLIC
Sent: Wednesday, January 05, 2011 2:51 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: SORTING DIRECTORY GAPS BY USER

 

This is great, George, ty. 

Just one problem. 

It does not show the GAPs after the last extent on a VOLSER. 

It would be nice to know the GAPS on the tailend of a VOLSER also. 

Must I put a dummy entry on the last cylinder to generate a GAP in
DIRMAP and/or DISKMAP? 

Is there a workaround for this on VM Tools? 




gclo...@br.ibm.com 
Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 

01/05/2011 07:26 AM 

Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

To

IBMVM@LISTSERV.UARK.EDU 

cc

 

Subject

Re: SORTING DIRECTORY GAPS BY USER

 

 

 




George: 
Not sure we understand the question, but... 

Without DIRMAINT, try DIRMAP (GAPFILE DEVSORT 
 - Generate two files, one with only the Gaps and other with the
allocated cylinders, both classified by VOLSER. 

With DIRMAINT, try DIRM FREE and DIRM USED to get files like the
same proposal... Or, DIRM DIRMAP (GAPFILE DEVSORT 


DIRM HELP DIRMAP shows: 
 

Devsort

   requests that the report is to be sorted by device type followed by
volume 
   label. The default is to sort by volume label.

 

Gapfile

   Generate a file listing gaps in addition to a report detailing the
current 
   DASD utilization.

 

   Note:  If you use the GAPFILE option without using the EXCLUDE option
and 
  excluded full volume overlays are defined on your system no
gap 
  data will be returned.  Use the EXCLUDE option to eliminate
the 
  excluded full volume overlays from consideration when building
the 
  gap data. 
   
   The gapfile is listed in the following format:

   Field Use

   1volid of disk

   2device type of disk.

   3start cylinder/block of gap

   4end cylinder/block of gap

   5number of cylinders/blocks in gap

 

Note:  All fields are blank delimited and not bound to a
specific 
   column range.


__
Clovis 

From: 

Mike Walter mike.wal...@hewitt.com 

To: 

IBMVM@LISTSERV.UARK.EDU 

Date: 

04/01/2011 19:33 

Subject: 

Re: SORTING DIRECTORY GAPS BY USER 

Sent by: 

The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 







Or better yet... _why_? 

It sounds as if you want to display users and mdisks, sorted by user
(and perhaps mdisk, too) which reside between gaps.   
But _why_?  What are you attempting to do? 

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's. 

Tom Huegel tehue...@gmail.com 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 

01/04/2011 03:26 PM 

Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 

To

IBMVM@LISTSERV.UARK.EDU 

cc

 

Subject

Re: SORTING DIRECTORY GAPS BY USER





 

 






I don't understand your question.. If there is a GAP then there is no
USER. ???

On Tue, Jan 4, 2011 at 1:13 PM, George Henke/NYLIC
george_he...@newyorklife.com wrote: 
Does anybody have anything like a PIPE command or a utility to do this
sort of thing, sort the DIRECTORY DISKMAP on USER within GAPS? 

I am sure DIRMAINT would obviate the necessity for such a thing, but
right now this is all I can do. 




The information contained in this e-mail and any accompanying documents
may contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately
alert the sender by reply e-mail and then delete this message, including
any attachments. Any dissemination, distribution or other use of the
contents of this message by anyone other than the intended recipient is
strictly prohibited. All messages sent to and from this e-mail address
may be monitored as permitted by applicable law and regulations to
ensure compliance with our internal policies and to protect our
business. E-mails are not secure and cannot be guaranteed to be error
free as they can be intercepted, amended, lost or destroyed, or contain
viruses. You are deemed to have accepted these risks if you communicate
with us by e-mail. 


_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. 

Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread Tom Duerbusch
For decades I've been using $ENDPAK$ userid to define the last cylinder of each 
pack.  That, along with $ALLOC$ for cylinder 0, has allowed DISKMAP to show 
trailing gaps.

I never thought about it, but I should have defined the last cylinder to be 
(last cylinder + 1)  i.e. 3340 cylinders for a 3390-3.  Currently, I get the 
*OVERLAP* flag when I do use the last cylinder.

Tom Duerbusch
THD Consulting

 Frank M. Ramaekers framaek...@ailife.com 1/5/2011 3:12 PM 
These tools (DIRMAP and MDISKMAP) have no ideas how many cylinders a
device has (unless you told it by defining a full pack mini-disk).

 

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of George Henke/NYLIC
Sent: Wednesday, January 05, 2011 2:51 PM
To: IBMVM@LISTSERV.UARK.EDU 
Subject: Re: SORTING DIRECTORY GAPS BY USER

 

This is great, George, ty. 

Just one problem. 

It does not show the GAPs after the last extent on a VOLSER. 

It would be nice to know the GAPS on the tailend of a VOLSER also. 

Must I put a dummy entry on the last cylinder to generate a GAP in
DIRMAP and/or DISKMAP? 

Is there a workaround for this on VM Tools? 




gclo...@br.ibm.com 
Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 

01/05/2011 07:26 AM 

Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

To

IBMVM@LISTSERV.UARK.EDU 

cc

 

Subject

Re: SORTING DIRECTORY GAPS BY USER

 

 

 




George: 
Not sure we understand the question, but... 

Without DIRMAINT, try DIRMAP (GAPFILE DEVSORT 
 - Generate two files, one with only the Gaps and other with the
allocated cylinders, both classified by VOLSER. 

With DIRMAINT, try DIRM FREE and DIRM USED to get files like the
same proposal... Or, DIRM DIRMAP (GAPFILE DEVSORT 


DIRM HELP DIRMAP shows: 
 

Devsort

   requests that the report is to be sorted by device type followed by
volume 
   label. The default is to sort by volume label.

 

Gapfile

   Generate a file listing gaps in addition to a report detailing the
current 
   DASD utilization.

 

   Note:  If you use the GAPFILE option without using the EXCLUDE option
and 
  excluded full volume overlays are defined on your system no
gap 
  data will be returned.  Use the EXCLUDE option to eliminate
the 
  excluded full volume overlays from consideration when building
the 
  gap data. 
   
   The gapfile is listed in the following format:

   Field Use

   1volid of disk

   2device type of disk.

   3start cylinder/block of gap

   4end cylinder/block of gap

   5number of cylinders/blocks in gap

 

Note:  All fields are blank delimited and not bound to a
specific 
   column range.


__
Clovis 

From: 

Mike Walter mike.wal...@hewitt.com 

To: 

IBMVM@LISTSERV.UARK.EDU 

Date: 

04/01/2011 19:33 

Subject: 

Re: SORTING DIRECTORY GAPS BY USER 

Sent by: 

The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 







Or better yet... _why_? 

It sounds as if you want to display users and mdisks, sorted by user
(and perhaps mdisk, too) which reside between gaps.   
But _why_?  What are you attempting to do? 

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's. 

Tom Huegel tehue...@gmail.com 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 

01/04/2011 03:26 PM 

Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 

To

IBMVM@LISTSERV.UARK.EDU 

cc

 

Subject

Re: SORTING DIRECTORY GAPS BY USER





 

 






I don't understand your question.. If there is a GAP then there is no
USER. ???

On Tue, Jan 4, 2011 at 1:13 PM, George Henke/NYLIC
george_he...@newyorklife.com wrote: 
Does anybody have anything like a PIPE command or a utility to do this
sort of thing, sort the DIRECTORY DISKMAP on USER within GAPS? 

I am sure DIRMAINT would obviate the necessity for such a thing, but
right now this is all I can do. 




The information contained in this e-mail and any accompanying documents
may contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately
alert the sender by reply e-mail and then delete this message, including
any attachments. Any dissemination, distribution or other use of the
contents of this message by anyone other than the intended recipient is
strictly prohibited. All messages sent to and from this e-mail address
may be monitored as permitted by applicable law and regulations to
ensure compliance with our internal policies and to protect our
business. E-mails are not secure and cannot be guaranteed to be error
free as they can be intercepted, 

Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread Tom Huegel
Not sure, but I think DIRMAP would see that as a 3390-4 then..
You need to define a dummy as 1 3339 it won't see overlaps then.

On Wed, Jan 5, 2011 at 3:23 PM, Tom Duerbusch duerbus...@stlouiscity.comwrote:

 For decades I've been using $ENDPAK$ userid to define the last cylinder of
 each pack.  That, along with $ALLOC$ for cylinder 0, has allowed DISKMAP to
 show trailing gaps.

 I never thought about it, but I should have defined the last cylinder to be
 (last cylinder + 1)  i.e. 3340 cylinders for a 3390-3.  Currently, I get the
 *OVERLAP* flag when I do use the last cylinder.

 Tom Duerbusch
 THD Consulting

  Frank M. Ramaekers framaek...@ailife.com 1/5/2011 3:12 PM 
  These tools (DIRMAP and MDISKMAP) have no ideas how many cylinders a
 device has (unless you told it by defining a full pack mini-disk).





 Frank M. Ramaekers Jr.





 

 From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
 Behalf Of George Henke/NYLIC
 Sent: Wednesday, January 05, 2011 2:51 PM
 To: IBMVM@LISTSERV.UARK.EDU
 Subject: Re: SORTING DIRECTORY GAPS BY USER



 This is great, George, ty.

 Just one problem.

 It does not show the GAPs after the last extent on a VOLSER.

 It would be nice to know the GAPS on the tailend of a VOLSER also.

 Must I put a dummy entry on the last cylinder to generate a GAP in
 DIRMAP and/or DISKMAP?

 Is there a workaround for this on VM Tools?




 gclo...@br.ibm.com
 Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 01/05/2011 07:26 AM

 Please respond to
 The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 To

 IBMVM@LISTSERV.UARK.EDU

 cc



 Subject

 Re: SORTING DIRECTORY GAPS BY USER










 George:
 Not sure we understand the question, but...

 Without DIRMAINT, try DIRMAP (GAPFILE DEVSORT
  - Generate two files, one with only the Gaps and other with the
 allocated cylinders, both classified by VOLSER.

 With DIRMAINT, try DIRM FREE and DIRM USED to get files like the
 same proposal... Or, DIRM DIRMAP (GAPFILE DEVSORT


 DIRM HELP DIRMAP shows:


 Devsort

   requests that the report is to be sorted by device type followed by
 volume
   label. The default is to sort by volume label.



 Gapfile

   Generate a file listing gaps in addition to a report detailing the
 current
   DASD utilization.



   Note:  If you use the GAPFILE option without using the EXCLUDE option
 and
  excluded full volume overlays are defined on your system no
 gap
  data will be returned.  Use the EXCLUDE option to eliminate
 the
  excluded full volume overlays from consideration when building
 the
  gap data.

   The gapfile is listed in the following format:

   Field Use

   1volid of disk

   2device type of disk.

   3start cylinder/block of gap

   4end cylinder/block of gap

   5number of cylinders/blocks in gap



Note:  All fields are blank delimited and not bound to a
 specific
   column range.


 __
 Clovis

 From:

 Mike Walter mike.wal...@hewitt.com

 To:

 IBMVM@LISTSERV.UARK.EDU

 Date:

 04/01/2011 19:33

 Subject:

 Re: SORTING DIRECTORY GAPS BY USER

 Sent by:

 The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



 





 Or better yet... _why_?

 It sounds as if you want to display users and mdisks, sorted by user
 (and perhaps mdisk, too) which reside between gaps.
 But _why_?  What are you attempting to do?

 Mike Walter
 Aon Corporation
 The opinions expressed herein are mine alone, not my employer's.

 Tom Huegel tehue...@gmail.com

 Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 01/04/2011 03:26 PM

 Please respond to
 The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



 To

 IBMVM@LISTSERV.UARK.EDU

 cc



 Subject

 Re: SORTING DIRECTORY GAPS BY USER














 I don't understand your question.. If there is a GAP then there is no
 USER. ???

 On Tue, Jan 4, 2011 at 1:13 PM, George Henke/NYLIC
 george_he...@newyorklife.com wrote:
 Does anybody have anything like a PIPE command or a utility to do this
 sort of thing, sort the DIRECTORY DISKMAP on USER within GAPS?

 I am sure DIRMAINT would obviate the necessity for such a thing, but
 right now this is all I can do.

 


 The information contained in this e-mail and any accompanying documents
 may contain information that is confidential or otherwise protected from
 disclosure. If you are not the intended recipient of this message, or if
 this message has been addressed to you in error, please immediately
 alert the sender by reply e-mail and then delete this message, including
 any attachments. Any dissemination, distribution or other use of the
 contents of this message by anyone other than the intended recipient is
 strictly prohibited. All messages sent to and from this e-mail address
 may be monitored as permitted by applicable law and regulations to
 

Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread Rich Greenberg
On: Wed, Jan 05, 2011 at 03:50:30PM -0500,George Henke/NYLIC Wrote:

} Just one problem.
} It does not show the GAPs after the last extent on a VOLSER.
} It would be nice to know the GAPS on the tailend of a VOLSER also.
} Must I put a dummy entry on the last cylinder to generate a GAP in DIRMAP 
} and/or DISKMAP?
} 
} Is there a workaround for this on VM Tools?

At my last job before I retired to a life of ease :-) I had a large
series of execs and xedit macros that produced a map of each DSAD
including gaps and the gap after the last user mdisk (if any).

I don't want to post it because its too big and uses some charactistics
of the installation you might not have, but here are a few lines of a
macro that discovered the number of cylinders on the DASD so you could
check for a gap at the end:

   'NFIND __' /* Get   */
   'EXTRACT /CURLINE/'/*  the  */
   vsn = translate(left(curline.3,6)) /*volser.*/
   parse value diagrc(8,'QUERY DASD' vsn, 80) with cp_rc . . cuu err '15'x
   if cp_rc ^= 0 | err = 'was not found.'  /* Error?   */
  then iterate/* Yes, ignore this vol. */
   parse value diagrc(8,'QUERY DASD DETAILS' cuu) with cp_rc . ,
  'CYLS =' ncyl '15'x
   if cp_rc ^= 0  /* Error?*/
  then iterate/* Yes, ignore this vol. */
   ncyl = strip(ncyl, 'L')/* Drop leading blanks.  */ 


Note: You need priv class D (at least) to do this.

-- 
Rich Greenberg  Sarasota, FL, USA richgr atsign panix.com  + 1 941 378 2097
Eastern time.  N6LRT  I speak for myself  my dogs only.VM'er since CP-67
Canines: Val, Red, Shasta, Zero  Casey (At the bridge)Owner:Chinook-L
Canines: Red  Cinnar (Siberians)  Retired at the beach  Asst Owner:Sibernet-L


Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread Kris Buelens
DIRMAP has a table of known disksizes (and one can define extra in a control
file).  DIRMAP guesses the size of a pack by looking at the last cylinder
being used.  For example:
 the last minidisk ends on cyl 400 -- DIRMAP thinks it is a model 1, 1113
cylinders and will report 401-1112 as gap
I'll send you the document I wrote to tell my former customer how I set up
our directory (with a FULLPACK user for example).

2011/1/5 George Henke/NYLIC george_he...@newyorklife.com

 This is great, George, ty.

 Just one problem.

 It does not show the GAPs after the last extent on a VOLSER.

 It would be nice to know the GAPS on the tailend of a VOLSER also.

 Must I put a dummy entry on the last cylinder to generate a GAP in DIRMAP
 and/or DISKMAP?

 Is there a workaround for this on VM Tools?



  *gclo...@br.ibm.com*
 Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 01/05/2011 07:26 AM
  Please respond to
 The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

   To
 IBMVM@LISTSERV.UARK.EDU
 cc
   Subject
 Re: SORTING DIRECTORY GAPS BY USER




 George:
 Not sure we understand the question, but...

 Without DIRMAINT, try DIRMAP (GAPFILE DEVSORT
  - Generate two files, one with only the Gaps and other with the allocated
 cylinders, both classified by VOLSER.

 With DIRMAINT, try DIRM FREE and DIRM USED to get files like the same
 proposal... Or, DIRM DIRMAP (GAPFILE DEVSORT


 DIRM HELP DIRMAP shows:


 Devsort

requests that the report is to be sorted by device type followed by
 volume
label. The default is to sort by volume label.



 Gapfile

Generate a file listing gaps in addition to a report detailing the
 current
DASD utilization.



Note:  If you use the GAPFILE option without using the EXCLUDE option
 and
   excluded full volume overlays are defined on your system no gap

   data will be returned.  Use the EXCLUDE option to eliminate the

   excluded full volume overlays from consideration when building
 the
   gap data.

The gapfile is listed in the following format:
Field Use

1volid of disk

2device type of disk.

3start cylinder/block of gap


4end cylinder/block of gap

5number of cylinders/blocks in gap



 Note:  All fields are blank delimited and not bound to a specific

column range.


 __
 Clovis

   From: Mike Walter mike.wal...@hewitt.com  To: IBMVM@LISTSERV.UARK.EDU
 Date: 04/01/2011 19:33  Subject: Re: SORTING DIRECTORY GAPS BY USER  Sent
 by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

  --




 Or better yet... _why_?

 It sounds as if you want to display users and mdisks, sorted by user (and
 perhaps mdisk, too) which reside between gaps.
 But _why_?  What are you attempting to do?

 Mike Walter
 Aon Corporation
 The opinions expressed herein are mine alone, not my employer's.
   *Tom Huegel tehue...@gmail.com*

 Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU

 01/04/2011 03:26 PM
   Please respond to
 The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU


   To
 IBMVM@LISTSERV.UARK.EDU
 cc
   Subject
 Re: SORTING DIRECTORY GAPS BY USER








 I don't understand your question.. If there is a GAP then there is no USER.
 ???

 On Tue, Jan 4, 2011 at 1:13 PM, George Henke/NYLIC *
 george_he...@newyorklife.com* george_he...@newyorklife.com wrote:
 Does anybody have anything like a PIPE command or a utility to do this sort
 of thing, sort the DIRECTORY DISKMAP on USER within GAPS?

 I am sure DIRMAINT would obviate the necessity for such a thing, but right
 now this is all I can do.

 --

 The information contained in this e-mail and any accompanying documents may
 contain information that is confidential or otherwise protected from
 disclosure. If you are not the intended recipient of this message, or if
 this message has been addressed to you in error, please immediately alert
 the sender by reply e-mail and then delete this message, including any
 attachments. Any dissemination, distribution or other use of the contents of
 this message by anyone other than the intended recipient is strictly
 prohibited. All messages sent to and from this e-mail address may be
 monitored as permitted by applicable law and regulations to ensure
 compliance with our internal policies and to protect our business. E-mails
 are not secure and cannot be guaranteed to be error free as they can be
 intercepted, amended, lost or destroyed, or contain viruses. You are deemed
 to have accepted these risks if you communicate with us by e-mail.




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: Dynamically adding 3390's

2011-01-05 Thread Shimon Lebowitz
Over the years since dynamic IOCP changes became possible,
I have had several occasions to use them. At first I ran into problems
of not being able to activate the newly saved IOCDS (RC=88, I believe)
because I had somehow or other gotten out of sync. So I created a special
machine just for dynamic IOCP stuff, named, obviously, DYNIOCP.

This machine presents a panel, which:
- tells me if current status is DYN ON or DYN OFF
- allows me to change the DYN status
- records EVERY command entered, *AND* its resulting message(s) in a dated
log file
- allows me to scroll backward/forward through an unlimited number of
   previous commands
- has a PF for FILELIST enabling me to look at log files, etc.

So, I can be totally sure what changes I *did* do, and what I did *not*,
and can create an IOCP source exactly matching the new hardware setup.

I recently had to set up new dasd on the fly, after a long time with
no new hardware, and using DYNIOCP made it a breeze!
Seeing a successful result to SET IOCDS_ACTIVE is a real pleasure.

Available on request, of course. (Pre-req: my XFS panel display program)

Shimon


Re: DISKACNT profile exec

2011-01-05 Thread Alan Altmark
On Wednesday, 01/05/2011 at 10:31 EST, Robert Payne rpa...@tad.org 
wrote:

 Would I be out of line or violating license issues to ask for someone's 
copy of 
 this EXEC ?  Yes, I have the install DDR tapes for z/VM 5.2 but that 
would be 
 overkill just to recover one piece of code. 
 
 YUP, it was like BANG !  OUCH ! my gun, my foot. LOL 

Just restore the file from IBM Archive Manager for z/VM.  Oh, wait :-)

When you license something, the author/inventor retains all control except 
as provided for in the license agreement or in applicable law.  IBM 
licenses specifically preclude redistributing the software.  You are 
permitted to transfer the software to someone else only as part of a 
machine sale.  (See the IPLA license agreement.)

IBM has been known, for things not readily accessible by Development, to 
explicitly (in writing) give permission for the transfer of software 
directly from one client to another.  In the future, your first stop 
should be the Support Center.  (Yeah, even for something as seemingly 
simple as a PROFILE EXEC.)

Of course, someone could simply *tell* you what the exec does (in abstract 
terms) and you could type it in.  I'm pretty much betting that your 
version would be better than the one provided by IBM.  ;-)
1. Find out how full the A disk is and tell the Operator (who cares how 
many records?)
2. QUERY RECORDING to find out which type of record you are supposed to 
collect
3. Use the RETRIEVE command with the appropriate option.  (Though I would 
think that ALL would work since each user ID is only authorized for one 
type of record.)

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott


Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread gclovis
Hi, George.
As Kris said, the program don't know the real end of the dasd. He assumes 
the model enough to accommodate the last cylinder defined. Due the same 
problem, avoid use 0 END for fullpacks.
To bypass it:

Without DIRMAINT: define a dummy machine with all fullpack. Good for 
backup purposes too...  SYSDUMP1 is a good candidate.

With DIRMAINT: see EXTENT CONTROL file. 
Specify the correct dasd TYPE (ex. 3390-09), in :REGIONS. section.
The TYPEs (sizes) are described in DEFAULTS DATADVH file.
If you already uses the dummy fullpack machine, put it on :EXCLUDE. 
section, to avoid a false No gaps available.
__
Clovis 



From:
George Henke/NYLIC george_he...@newyorklife.com
To:
IBMVM@LISTSERV.UARK.EDU
Date:
01/05/2011 06:51 PM
Subject:
Re: SORTING DIRECTORY GAPS BY USER
Sent by:
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



This is great, George, ty. 

Just one problem. 

It does not show the GAPs after the last extent on a VOLSER. 

It would be nice to know the GAPS on the tailend of a VOLSER also. 

Must I put a dummy entry on the last cylinder to generate a GAP in DIRMAP 
and/or DISKMAP? 

Is there a workaround for this on VM Tools? 



gclo...@br.ibm.com 
Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 
01/05/2011 07:26 AM 

Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU


To
IBMVM@LISTSERV.UARK.EDU 
cc

Subject
Re: SORTING DIRECTORY GAPS BY USER








George: 
Not sure we understand the question, but... 

Without DIRMAINT, try DIRMAP (GAPFILE DEVSORT 
 - Generate two files, one with only the Gaps and other with the allocated 
cylinders, both classified by VOLSER. 

With DIRMAINT, try DIRM FREE and DIRM USED to get files like the same 
proposal... Or, DIRM DIRMAP (GAPFILE DEVSORT 


DIRM HELP DIRMAP shows: 
  
Devsort  
   requests that the report is to be sorted by device type followed by 
volume 
   label. The default is to sort by volume label.
  
Gapfile  
   Generate a file listing gaps in addition to a report detailing the 
current 
   DASD utilization.  
  
   Note:  If you use the GAPFILE option without using the EXCLUDE option 
and 
  excluded full volume overlays are defined on your system no gap  
  
  data will be returned.  Use the EXCLUDE option to eliminate the  
  
  excluded full volume overlays from consideration when building 
the 
  gap data. 
 
   The gapfile is listed in the following format:  
   Field Use   
   1volid of disk  
   2device type of disk.   
   3start cylinder/block of gap 
   4end cylinder/block of gap
   5number of cylinders/blocks in gap
  
Note:  All fields are blank delimited and not bound to a specific  
  
   column range.  

__
Clovis 

From: 
Mike Walter mike.wal...@hewitt.com 
To: 
IBMVM@LISTSERV.UARK.EDU 
Date: 
04/01/2011 19:33 
Subject: 
Re: SORTING DIRECTORY GAPS BY USER 
Sent by: 
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU






Or better yet... _why_? 

It sounds as if you want to display users and mdisks, sorted by user (and 
perhaps mdisk, too) which reside between gaps.   
But _why_?  What are you attempting to do? 

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's. 
Tom Huegel tehue...@gmail.com 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 
01/04/2011 03:26 PM 

Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



To
IBMVM@LISTSERV.UARK.EDU 
cc

Subject
Re: SORTING DIRECTORY GAPS BY USER












I don't understand your question.. If there is a GAP then there is no 
USER. ???

On Tue, Jan 4, 2011 at 1:13 PM, George Henke/NYLIC 
george_he...@newyorklife.com wrote: 
Does anybody have anything like a PIPE command or a utility to do this 
sort of thing, sort the DIRECTORY DISKMAP on USER within GAPS? 

I am sure DIRMAINT would obviate the necessity for such a thing, but right 
now this is all I can do. 

The information contained in this e-mail and any accompanying documents 
may contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if 
this message has been addressed to you in error, please immediately alert 
the sender by reply e-mail and then delete this message, including any 
attachments. Any dissemination, distribution or other use of the contents 
of this message by anyone other than the intended recipient is strictly 
prohibited. All messages sent to and from this e-mail address may be 
monitored as permitted by applicable law and regulations to ensure 
compliance with our internal policies and to protect our business. E-mails 
are not secure and cannot be guaranteed to be error free as they can be 
intercepted, amended, lost or destroyed, or contain viruses. You are 
deemed to have accepted these risks if you communicate with us 

Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread Alan Altmark
On Wednesday, 01/05/2011 at 06:18 EST, gclo...@br.ibm.com wrote:
 Hi, George. 
 As Kris said, the program don't know the real end of the dasd. He 
assumes the 
 model enough to accommodate the last cylinder defined. Due the same 
problem, 
 avoid use 0 END for fullpacks. 

Maybe fix the program to do a QUERY DASD DETAIL to find out how big the 
volume is?  Yeah, you have to run it from an authorized id, but that 
shouldn't be an issue.

The need for humans to tell the machine how big a disk is strikes me as 
cosmic humor.  That's as funny as ... as ... as having a $1M computer ask 
you to look at at your $15 Mickey Mouse watch and tell it what time it is 
when you IPL it.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott


Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread gclovis
Hi, Alan.

 Maybe fix the program to do a QUERY DASD DETAIL to find out how big the 

 volume is?

Agreed.
But we are talking about the DIRMAP (and DISKMAP), two IBM programs.
This justify to open a Request-For-Change?
TIA,
__
Clovis 



From:
Alan Altmark alan_altm...@us.ibm.com
To:
IBMVM@LISTSERV.UARK.EDU
Date:
01/05/2011 09:37 PM
Subject:
Re: SORTING DIRECTORY GAPS BY USER
Sent by:
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



On Wednesday, 01/05/2011 at 06:18 EST, gclo...@br.ibm.com wrote:
 Hi, George. 
 As Kris said, the program don't know the real end of the dasd. He 
assumes the 
 model enough to accommodate the last cylinder defined. Due the same 
problem, 
 avoid use 0 END for fullpacks. 

Maybe fix the program to do a QUERY DASD DETAIL to find out how big the 
volume is?  Yeah, you have to run it from an authorized id, but that 
shouldn't be an issue.

The need for humans to tell the machine how big a disk is strikes me as 
cosmic humor.  That's as funny as ... as ... as having a $1M computer ask 
you to look at at your $15 Mickey Mouse watch and tell it what time it is 
when you IPL it.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott




Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread Alan Altmark
On Wednesday, 01/05/2011 at 06:47 EST, gclo...@br.ibm.com wrote:
 But we are talking about the DIRMAP (and DISKMAP), two IBM programs. 
 This justify to open a Request-For-Change? 

You don't need justification to open a Requirement.  IBM needs 
justification to actually fix it, however, and that could come from the 
sheer volume of clients asking for the same thing.  But if you don't ask 
for a change, changes will certainly never be made.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott


Re: SORTING DIRECTORY GAPS BY USER

2011-01-05 Thread Mike Walter
 The need for humans to tell the machine how big a disk is strikes me as
cosmic humor.  That's as funny as ... as ... as having a $1M computer ask
you to look at at your $15 Mickey Mouse watch and tell it what time it is
when you IPL it.
 Even more comically humorous to me is that without specially paid for extra 
hardware, that $1M computer (obviously someone is getting a very good deal on 
196's!), that computer's own internal clock is no more accurate than Mickey!  
Someone should be ashamed!

Mike Walter
Aon Corporation

(Sent from the wee keyboard of a Blackberry.)


- Original Message -
From: Alan Altmark [alan_altm...@us.ibm.com]
Sent: 01/05/2011 06:36 PM EST
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: SORTING DIRECTORY GAPS BY USER



On Wednesday, 01/05/2011 at 06:18 EST, gclo...@br.ibm.com wrote:
 Hi, George.
 As Kris said, the program don't know the real end of the dasd. He
assumes the
 model enough to accommodate the last cylinder defined. Due the same
problem,
 avoid use 0 END for fullpacks.

Maybe fix the program to do a QUERY DASD DETAIL to find out how big the
volume is?  Yeah, you have to run it from an authorized id, but that
shouldn't be an issue.

The need for humans to tell the machine how big a disk is strikes me as
cosmic humor.  That's as funny as ... as ... as having a $1M computer ask
you to look at at your $15 Mickey Mouse watch and tell it what time it is
when you IPL it.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training
ibm.com/systems/services/labservices
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott




The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail.