Rexx for auto logoff

2008-11-19 Thread Philip Hitti
Hi,
Is anyone can provide a vm rexx to auto logoff if someone does not enter any
key for 10 minutes.

Please give us source code and how to apply.

Regards

Philip


Re: Rexx for auto logoff

2008-11-19 Thread Thomas Kern
Do you mean a REXX EXEC, to run in a user virtual machine, that will
monitor all console input and if there is no input for 10 minutes, issue
the CP LOGOFF command?

/Tom Kern

Philip Hitti wrote:
 Hi,
 Is anyone can provide a vm rexx to auto logoff if someone does not enter
 any key for 10 minutes.
  
 Please give us source code and how to apply.
  
 Regards
  
 Philip


Re: Rexx for auto logoff

2008-11-19 Thread Rob van der Heij
Or something to let a REXX program ask for user input and time-out
after 10 minutes?

address command ,
'PIPE (end \) cons asynch | i: faninany | take | var resp',
'\ literal +600 | delay | spec ,timeout, | i:'

if resp = 'timeout' then 'CP LOGOFF'

-Rob


Re: Our old buddy Mark Cathcart

2008-11-19 Thread Rob van der Heij
On Wed, Nov 19, 2008 at 1:19 PM, Phil Smith III [EMAIL PROTECTED] wrote:

 Heh. OK, among other :-)  I knew there was something between Chemical Bank 
 (I always thought that was an odd name -- it didn't evoke money, but rather 
 vats full of interesting liquids!) and IBM, wasn't sure how many.

Keeping vats full of interesting liquids... a pub ?   VM/BARS :-)


Re: Rexx for auto logoff

2008-11-19 Thread Thomas Kern
Is there a way to use the PIPE to send a message to the console before
waiting for the response?

/Tom Kern

Rob van der Heij wrote:
 Or something to let a REXX program ask for user input and time-out
 after 10 minutes?
 
 address command ,
 'PIPE (end \) cons asynch | i: faninany | take | var resp',
 '\ literal +600 | delay | spec ,timeout, | i:'
 
 if resp = 'timeout' then 'CP LOGOFF'
 
 -Rob
 


Re: Rexx for auto logoff

2008-11-19 Thread Rob van der Heij
On Wed, Nov 19, 2008 at 1:52 PM, Thomas Kern [EMAIL PROTECTED] wrote:

 Is there a way to use the PIPE to send a message to the console before
 waiting for the response?

You can do REXX  say statements to display a message before the Pipe.
You can't feed anything into that cons stage because it may not have
an input connected to act as console input. You could make another
unconnected pipeline segment output the text, but I don't see much
value in that.

A more interesting challenge would be a 'count down'  to display a
message every minute while waiting. In principle the beat stage
would be fine for that, but it needs some work to make sure the pipe
terminates nicely on user input. I could understand apprentice
plumbers who code a wait for 1 minute in a REXX loop ;-)

-Rob


Re: Purdue Univ Batch System

2008-11-19 Thread Shedlock, George
Ah yes, I forgot about that little naming problem.


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

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of 
Thomas Kern
Sent: Tuesday, November 18, 2008 11:47 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Purdue Univ Batch System

I have a .het file (compressed AWS, I think). It has 9 tape files with the real 
files named in a pattern for some sort of a file sharing system. I will write a 
rexx exec tomorrow to rename each file to it's original fn/ft and create a 
VMARC for each tape file. I will then create an AWS tape-file with the 9 VMARC 
files dumped via VMFPLC2.  I will also create a VMARC of the VMARC files, and 
download that. I like using the VMA utility on my PC to look at VM files for 
reference. I will arrange to get both of these to David Boyes for public 
availability.

There do not seem to be any copyright statements in any of the source, update 
or documentation files.

/Tom Kern

David Boyes wrote:
 Sure. Send them to me and I'll put them up.

 On 11/18/08 1:54 PM, Thomas Kern [EMAIL PROTECTED] wrote:

 I haven't looked at the copyright statements, but it seemed freely
 distributable when I first got a copy. I don't know for sure, but it
 may have been on a Waterloo Mods tape for a couple of years. I will
 look at the copyright, but I do not have a server that it can be served out 
 from.

 Would anyone like to volunteer to host these files on their download site?



[no subject]

2008-11-19 Thread Philip Hitti
Hi,
Is anyone can provide a vm rexx to auto logoff if someone does not enter any
key for 10 minutes.

Please give us source code and how to apply.

Regards

Philip


Re: A little oddity

2008-11-19 Thread Bruce Hayden
..and you can fix the dates using the FIXCENT utility found on your
190 disk.  HELP FIXCENT for the usage details..

On Tue, Nov 18, 2008 at 6:26 PM, Rob van der Heij [EMAIL PROTECTED] wrote:
 On Tue, Nov 18, 2008 at 11:47 PM, Huegel, Thomas [EMAIL PROTECTED] wrote:
 I was just trying to do some housekeeping and got a strange display to a 
 simple listfile command.

 It looks like the old Y2K bug is alive and well...
 I did not know we had CMS file system in 1908...

 You may want to get a fresh copy of VMARC so that it picks up the
 century bit from the FST in the archive.

 -Rob




-- 
Bruce Hayden
Linux on System z Advanced Technical Support
IBM, Endicott, NY


Re: Our old buddy Mark Cathcart

2008-11-19 Thread Phil Smith III
Mark Cathcart wrote:
Hey Phil, among others not sure what you mean. I worked Chemical Bank
between 1982-1986, IFR Publishing in London for 1987, and IBM since then.

Talk about paging space and recall times...

Heh. OK, among other :-)  I knew there was something between Chemical Bank (I 
always thought that was an odd name -- it didn't evoke money, but rather vats 
full of interesting liquids!) and IBM, wasn't sure how many. Besides, didn't 
you have a paper route or something in high school?

...phsiii


Re: Rexx for auto logoff

2008-11-19 Thread Kris Buelens
You mean force any inactive VM user?  Performance monitors (like VM
Performance Toolkit) typically provide such a function.  But, most of
the time people tend to no longer force idle users off.
You could write it yourself, but as INDICATE USER doesn't give a fine
enough CPU usage number, it would mean either collecting performance
monitor records (and watch for CPU usage), or looking in VM real
storage: the CPU usage field in the VMDBKs.  Possible thus, but is it
worth the efforts?

2008/11/19 Philip Hitti [EMAIL PROTECTED]:
 Hi,
 Is anyone can provide a vm rexx to auto logoff if someone does not enter any
 key for 10 minutes.

 Please give us source code and how to apply.

 Regards

 Philip



-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: REXX DATE function

2008-11-19 Thread Gentry, Stephen
Incredibly fussy.  When I saw some examples I thought the upper/lower
case month was just careless typing.  FYI for those of you who use
ooRexx, it works the same with ooRexx. 
High priests of Rexx, why is this so?
Mark, thanks for the reply.
Steve

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Wheeler
Sent: Tuesday, November 18, 2008 7:33 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: REXX DATE function

The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU wrote on
11/18/2008
03:33:48 PM:

 I am trying to run the following code:
 code

 /*  */
 date1='12 OCT 2008'
  date1='12 Oct 2008'
 date2='13 OCT 2008'
  date2='13 Oct 2008'

Fussy, no?

Mark L. Wheeler
IT Infrastructure, 3M Center B224-4N-20, St Paul MN 55144
Tel:  (651) 733-4355, Fax:  (651) 736-7689
mlwheeler at mmm.com
--
I have this theory that if one person can go out of their way to show
compassion then it will start a chain reaction of the same. People will
never know how far a little kindness can go. Rachel Joy Scott


Re: Dumping the z/VM Reader Queue to a Tape

2008-11-19 Thread Gentry, Stephen
What version of VM are you running? 5.2 had some issues with SPXTAPE but
if you are current on maintenance for 5.2 you shouldn't have any
problems.
Steve

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of John Franciscovich
Sent: Tuesday, November 18, 2008 9:19 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Dumping the z/VM Reader Queue to a Tape

Can any one tell me the best way or what commands to use to dump the
reader
 and print spool queues to tape?

To dump all of the files on each of the reader, print and punch queues:

SPXTAPE DUMP vdev RDR ALL
SPXTAPE DUMP vdev PRT ALL
SPXTAPE DUMP vdev PUN ALL

You can also dump all of these with a single command:

SPXTAPE DUMP vdev STD ALL

vdev is the virtual address of the tape drive attached to the virtual
machine. You can also specify multiple tape drives as a range of
vdev-vdev.

If you are backing up your spool volumes, be sure to also dump all of
your NSS, DCSS, and other system data files which also reside in
spool space:

SPXTAPE DUMP vdev NSS ALL
   etc., or
SPXTAPE DUMP vdev SDF ALL
to dump all types of system data files.

There are many other variations of these commands. See the
CP Command and Utilities Reference for more details.

John Franciscovich
z/VM Development


Re: A little oddity

2008-11-19 Thread Huegel, Thomas
Damn Rob you are good!
Later I noticed that all of my 1908 dates were on files that had been unpacked 
with VMARC..

Maybe it is time to do as you suggested and get a more current VMARC.. 

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
Behalf Of Rob van der Heij
Sent: Tuesday, November 18, 2008 5:26 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: A little oddity


On Tue, Nov 18, 2008 at 11:47 PM, Huegel, Thomas [EMAIL PROTECTED] wrote:
 I was just trying to do some housekeeping and got a strange display to a 
 simple listfile command.

 It looks like the old Y2K bug is alive and well...
 I did not know we had CMS file system in 1908...

You may want to get a fresh copy of VMARC so that it picks up the
century bit from the FST in the archive.

-Rob


Re: XML on VM

2008-11-19 Thread David Boyes
 There is XMLPARSE on the VM download page.  It's a pipeline filter
that
 creates a Rexx structure from a well formed XML document.  I've
 experimented
 with it but never used it for anything significant.
 http://www.vm.ibm.com/download/packages/descript.cgi?XMLPARSE
 http://www.vm.ibm.com/download/packages/xmlparse.vmarc

I was going to suggest this as well. It's actually pretty good, but do
be prepared for a fair amount of CPU usage. It does a nice job of
creating a usable REXX structure. 

-- db


Re: XML on VM

2008-11-19 Thread Dave Jones

Hi, Tom.

There are a couple of good packages available that should be of some interest 
to you.

The first one is the XMLPARSE package by Jonathan Scott (IBM Hursley, UK) that 
reads an
XML document and converts it to a tree structure stored in a REXX stem. The 
tree structure
can then be navigated either sequentially or by looking up specific tag or 
attribute
names. It is available off of the IBM VM download web page:

http://www.vm.ibm.com/download/packages/xmlparse.vmarc

The second package is PARSEXML by Andrew J. Armstrong. It's a bit of Rexx code 
you append
to your Rexx exec and it then parses xml files into in-memory model and your Rexx code 
then accesses the model via a DOM-like API. It was developed for use in the TSO world, but 
it has also been used successfully on Linux with Regina Rexx, so I suspect that getting it 
to work in CMS would be a SMOP..:-) You can find it on the CBT tape collection here:


http://www.cbttape.org/ftp/updates/CBT647.zip


Hope this helps, and good luck.

Tom Duerbusch wrote:

Came back from a meeting and my brain hurts

We are forcing the integration of VSE into a new Identity Manager (IDM) system.

Currently we manage security for VSE via a bunch of REXX execs up in CMS.  With 
a bunch
of VSE systems, this was a good place to keep stuff that may need to be sent 
down to
one or more VSE systems.  So far, it works.

We have been told that the IDM system can only output XML documents.  I can 
write some
REXX code to read/process the XML file, and find the items of interest, but 
this may be
the time to see if we can start playing in the XML world.

Is there anything in the z/VM 5.X world, that we can use to process a XML file?

Right now, I'm just thinking that they will LPR the file to a CMS service 
machine,
which will wake up and process it.

Perhaps there are options that will connect to the XML port on the IP stack, 
and do
everything really nifty G.

I will also be looking for VSE and zLinux options in other emails.  I'm only 
looking
for VM responses in this email.

Thanks

Tom Duerbusch THD Consulting


--
DJ

V/Soft
  z/VM and mainframe Linux expertise, training,
  consulting, and software development
www.vsoft-software.com


Dirmaint

2008-11-19 Thread Florian Bilek
Dear all,

Some questions on Dirmaint:

In case the DATAMOVE fails to links a minidisk that shall be moved because
for example the owner has still linked to it, the transaction gets pending
and at some time DATAMOVE machine is retrying the operation. Is there a
command to resume the operation immediately?

Another issue: I tried moving Logfiles from a CMS Fileserver to another
minidisk because the DASD volume it was residing shall be cleaned. Dirmaint
is rejecting this because the disk is RESERVED. What is the problem why
Dirmaint cannot move such disks? I did it manually with DDR so why can't
DATAMOVE this not for me? Is this room for future enhancements?

-- 
Best regards

Florian Bilek


Automatic logoff after a delay

2008-11-19 Thread David Boyes
There was an IBM PRPQ called RESLIM that did something like this in the
distant past, but I don't think it was brought forward into the z/VM
era. You could probably do this with Performance Toolkit (I think it has
the idle session monitor information; I'd have to look it up), but there
may be a simpler answer. 

 

If you are trying to ensure that sessions aren't sitting around
connected with no one using them, you could use the timing mark support
in the TCPIP stack to disconnect a session after a delay if your clients
reliably support disabling response to time-mark (some do, many don't).
You would still need to adjust the time that CP keeps a session in CP
READ, but that's doable if you are on a modern CP. 

 

The discussion of time-marks in the TELNET server is in the TCP Planning
and Admin manual. The discussion of how to modify the CP READ timeout is
in CP Planning and Administration. 

 

Contact me offlist if you'd like help implementing it. 

 

-- db

 



Re: Dirmaint

2008-11-19 Thread Kris Buelens
DIRMAINT's WORKUNIT command can be used for an immediate retry.  The
problem is that it is hard to know what workunit ID to enter on the
command.   But, I weren't Sir Kris The Guide if I did't provide a
solution:
Part of my DRM package on the VM Download lib is the DIRMW EXEC
 - DIRMW lists all DIRMAINT workunits (active or failed)
   (in the list you see what the DIRM command was)
 - DIRMW provides commands to Cancel/Retry/Xedit/Delete/... workunits

Have a peek at
   http://www.vm.ibm.com/download/packages/descript.cgi?DRM


2008/11/19 Florian Bilek [EMAIL PROTECTED]:
 Dear all,

 Some questions on Dirmaint:

 In case the DATAMOVE fails to links a minidisk that shall be moved because
 for example the owner has still linked to it, the transaction gets pending
 and at some time DATAMOVE machine is retrying the operation. Is there a
 command to resume the operation immediately?

 Another issue: I tried moving Logfiles from a CMS Fileserver to another
 minidisk because the DASD volume it was residing shall be cleaned. Dirmaint
 is rejecting this because the disk is RESERVED. What is the problem why
 Dirmaint cannot move such disks? I did it manually with DDR so why can't
 DATAMOVE this not for me? Is this room for future enhancements?

 --
 Best regards

 Florian Bilek




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: Dirmaint

2008-11-19 Thread Bruce Hayden
If you know the workunit number that failed, then this will retry it:
DIRM WORKUNIT  RETRY
If you don't know the workunit number, DIRM DATAMOVE DISPLAY ERRLOG
will send you a file with the number in it.

I don't understand your question about reserved..  Does the disk
appear in EXTENT CONTROL?  Otherwise, DIRMAINT won't allocate anything
on it..


On Wed, Nov 19, 2008 at 9:59 AM, Florian Bilek [EMAIL PROTECTED] wrote:
 Dear all,

 Some questions on Dirmaint:

 In case the DATAMOVE fails to links a minidisk that shall be moved because
 for example the owner has still linked to it, the transaction gets pending
 and at some time DATAMOVE machine is retrying the operation. Is there a
 command to resume the operation immediately?

 Another issue: I tried moving Logfiles from a CMS Fileserver to another
 minidisk because the DASD volume it was residing shall be cleaned. Dirmaint
 is rejecting this because the disk is RESERVED. What is the problem why
 Dirmaint cannot move such disks? I did it manually with DDR so why can't
 DATAMOVE this not for me? Is this room for future enhancements?

 --
 Best regards

 Florian Bilek




-- 
Bruce Hayden
Linux on System z Advanced Technical Support
IBM, Endicott, NY


Re: Dirmaint

2008-11-19 Thread Kris Buelens
I forgot the second question.  Indeed DIRMAINT refuses to move a
RESERVED minidisk.  Such a minidisk is special, one cannot move the
singe file on it using COPYFILE.  A RESERVED minidisk has a somewhat
special format: the records of the single file on the minidisk will
never move around, this allows SW like SFS or DB2/VM to bypass the CMS
filesystem and directly tell CP which block(s) to read/write using
IUCV *BLOCKIO.

If you installed DFSMS, (free feature of z/VM) you can issue DFSMS
MOVE to move such a reserved minidisk (with the help of DIRMAINT and
DGTRSVnn servers), or manually with the DFSMS COPY command.
Otherwise, the most easy method is indeed the use of DDR.  DIRMAINT
could use DDR too, or Flashcopy (DS8000) but there seems to be no code
in DIRMAINT to handle it.  DIRMAINT will use DFSMS COPY is DFSMS is
available (as it is much faster than FORMAT + COPYFILE), but I think
it still rejects RESERVED minidisks.
(beside DFSMS and DDR a pure manual copy is possible too: reserve the
new disk and then use PIPE FILEUPDATE to copy the records one by one
from source to target file).

2008/11/19 Bruce Hayden [EMAIL PROTECTED]:
 If you know the workunit number that failed, then this will retry it:
 DIRM WORKUNIT  RETRY
 If you don't know the workunit number, DIRM DATAMOVE DISPLAY ERRLOG
 will send you a file with the number in it.

 I don't understand your question about reserved..  Does the disk
 appear in EXTENT CONTROL?  Otherwise, DIRMAINT won't allocate anything
 on it..


 On Wed, Nov 19, 2008 at 9:59 AM, Florian Bilek [EMAIL PROTECTED] wrote:
 Dear all,

 Some questions on Dirmaint:

 In case the DATAMOVE fails to links a minidisk that shall be moved because
 for example the owner has still linked to it, the transaction gets pending
 and at some time DATAMOVE machine is retrying the operation. Is there a
 command to resume the operation immediately?

 Another issue: I tried moving Logfiles from a CMS Fileserver to another
 minidisk because the DASD volume it was residing shall be cleaned. Dirmaint
 is rejecting this because the disk is RESERVED. What is the problem why
 Dirmaint cannot move such disks? I did it manually with DDR so why can't
 DATAMOVE this not for me? Is this room for future enhancements?

 --
 Best regards

 Florian Bilek




 --
 Bruce Hayden
 Linux on System z Advanced Technical Support
 IBM, Endicott, NY




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: Dirmaint

2008-11-19 Thread Florian Bilek
Kris, 

Thanks for this excellent explanateion. 

However it seems quite unsatisfactory. Would it worth to place a FITS
request to extend this functionality? I think DDR should be used from
DIRMAINT. It is quite cumbersom to do it manually and that is why I have
Dirmaint. 

Best regrads, 
Florian 


Re: z/VM 5.4 and VM:Secure

2008-11-19 Thread James Vincent
Yes, we have been using that combo for many moons now.  Did you have a
specific question about it or just looking for confirmation?

-- Jim Vincent
Sr. z/VM Systems Programmer
Nationwide Insurance


On Tue, Nov 18, 2008 at 11:23 AM, Buettner, Wolfgang 
[EMAIL PROTECTED] wrote:

   Is there somebody having some experiences with that combination already?

 Regards,
 Wolfgang Buettner


 Software AG – Sitz/Registered office: Uhlandstraße 12, 64297
 Darmstadt, Germany, – Registergericht/Commercial register: Darmstadt HRB
 1562 - Vorstand/ Management Board: Karl-Heinz Streibich
 (Vorsitzender/Chairman), David Broadbent, Mark Edwards, Holger Friedrich,
 Dr. Peter Kürpick, Arnd Zinnhardt; - Aufsichtsratsvorsitzender/ Chairman of
 the Supervisory Board: Frank F. Beelitz -   *http://www.softwareag.com*
 http://www.softwareag.com/





Re: XML on VM

2008-11-19 Thread Tom Duerbusch
Hooold on thereWait a gosh darn minute...
There is a PIPE stage that can process a XML document!!

This is as good a free beer, without the morning after G.

I installed XMLPARSE and tried a sample XML document with the results piped to 
the console.  That looks like what I really wanted.  Thanks.

It doesn't look like I can use LPR to send the XML document to my reader queue. 
 I keep getting truncated at 80 bytes.  I can FTP the file without any 
problems, but I sure liked the WAKEUP (RDR as the method to drive the server.  

A pipe stage for a XML document.  What a country!

Tom Duerbusch
THD Consulting

 A. Harry Williams [EMAIL PROTECTED] 11/18/2008 11:21 PM 
On Tue, 18 Nov 2008 15:49:14 -0600 Tom Duerbusch said:
Came back from a meeting and my brain hurts
We are forcing the integration of VSE into a new Identity Manager (IDM) system.
Currently we manage security for VSE via a bunch of REXX execs up in CMS.  
With a bunch of VSE systems, this was a good place to keep stuff that
may need to be sent down to one or more VSE systems.  So far, it works.
We have been told that the IDM system can only output XML documents.  I can 
write some REXX code to read/process the XML file, and find the
items
of interest, but this may be the time to see if we can start playing in the 
XML world.
Is there anything in the z/VM 5.X world, that we can use to process a XML file?
Right now, I'm just thinking that they will LPR the file to a CMS service 
machine, which will wake up and process it.
Perhaps there are options that will connect to the XML port on the IP stack, 
and do everything really nifty G.
I will also be looking for VSE and zLinux options in other emails.  I'm only 
looking for VM responses in this email.
There is XMLPARSE on the VM download page.  It's a pipeline filter that
creates a Rexx structure from a well formed XML document.  I've experimented
with it but never used it for anything significant.

http://www.vm.ibm.com/download/packages/descript.cgi?XMLPARSE 

http://www.vm.ibm.com/download/packages/xmlparse.vmarc 

Thanks
Tom Duerbusch
THD Consulting


Re: Dirmaint

2008-11-19 Thread Kris Buelens
I'd say IBM should pre-install the DFSMS code.  Then DIRMAINT could
always use it when possible:
(it must be a CMS formatted minidisk, source and target need to have
same blocksize, and target needs to be at least as big as te source).
And yes, for some other cases, DDR could be used too.

2008/11/19 Florian Bilek [EMAIL PROTECTED]:
 Kris,

 Thanks for this excellent explanateion.

 However it seems quite unsatisfactory. Would it worth to place a FITS
 request to extend this functionality? I think DDR should be used from
 DIRMAINT. It is quite cumbersom to do it manually and that is why I have
 Dirmaint.

 Best regrads,
 Florian




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: HCPSADMP

2008-11-19 Thread Kris Buelens
Did you run VMFSET ZVM CP before you started searching?

2008/11/19 Alyce Austin [EMAIL PROTECTED]:
 Hello,

 In the z/VM 5.4 Guide for Automated Installation
 and Service, it recommends creating at Stand-Alone
 Dump tape on page 145.  For instructions, it says to see
 the z/VM: CP Planning and Administration.  On page 414,
 it says certain files must exist before using
 the HCPSADMP EXEC to create a Stand-Alone Dump Tape.
 I can locate all the files except HCPVM CNTRL.
 Does anyone know where this file lives?

 Thanks for your support,
 Alyce




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: XML on VM

2008-11-19 Thread Kris Buelens
What's wrong with SENDFILE (or NETDATA) to send the XML document to
the reader of a WAKEUP based server?

2008/11/19 Tom Duerbusch [EMAIL PROTECTED]:
 Hooold on thereWait a gosh darn minute...
 There is a PIPE stage that can process a XML document!!

 This is as good a free beer, without the morning after G.

 I installed XMLPARSE and tried a sample XML document with the results piped 
 to the console.  That looks like what I really wanted.  Thanks.

 It doesn't look like I can use LPR to send the XML document to my reader 
 queue.  I keep getting truncated at 80 bytes.  I can FTP the file without any 
 problems, but I sure liked the WAKEUP (RDR as the method to drive the server.

 A pipe stage for a XML document.  What a country!

 Tom Duerbusch
 THD Consulting

 A. Harry Williams [EMAIL PROTECTED] 11/18/2008 11:21 PM 
 On Tue, 18 Nov 2008 15:49:14 -0600 Tom Duerbusch said:
Came back from a meeting and my brain hurts
We are forcing the integration of VSE into a new Identity Manager (IDM) 
system.
Currently we manage security for VSE via a bunch of REXX execs up in CMS.  
With a bunch of VSE systems, this was a good place to keep stuff that
may need to be sent down to one or more VSE systems.  So far, it works.
We have been told that the IDM system can only output XML documents.  I can 
write some REXX code to read/process the XML file, and find the
items
of interest, but this may be the time to see if we can start playing in the 
XML world.
Is there anything in the z/VM 5.X world, that we can use to process a XML 
file?
Right now, I'm just thinking that they will LPR the file to a CMS service 
machine, which will wake up and process it.
Perhaps there are options that will connect to the XML port on the IP stack, 
and do everything really nifty G.
I will also be looking for VSE and zLinux options in other emails.  I'm only 
looking for VM responses in this email.
 There is XMLPARSE on the VM download page.  It's a pipeline filter that
 creates a Rexx structure from a well formed XML document.  I've experimented
 with it but never used it for anything significant.

 http://www.vm.ibm.com/download/packages/descript.cgi?XMLPARSE

 http://www.vm.ibm.com/download/packages/xmlparse.vmarc

Thanks
Tom Duerbusch
THD Consulting




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: XML on VM

2008-11-19 Thread David Boyes
 It doesn't look like I can use LPR to send the XML document to my
reader
 queue.  I keep getting truncated at 80 bytes.  I can FTP the file
without
 any problems, but I sure liked the WAKEUP (RDR as the method to drive
the
 server.

Enable NJE in RSCS and use that instead. 


Re: XML on VM

2008-11-19 Thread Kris Buelens
I see, the XL comes from the outside.  So what about FTP to the RDR of
a server.  VM's FTP supports RDR as target (I don't know the prereqs
by heart).

2008/11/19 David Boyes [EMAIL PROTECTED]:
 It doesn't look like I can use LPR to send the XML document to my
 reader
 queue.  I keep getting truncated at 80 bytes.  I can FTP the file
 without
 any problems, but I sure liked the WAKEUP (RDR as the method to drive
 the
 server.

 Enable NJE in RSCS and use that instead.




-- 
Kris Buelens,
IBM Belgium, VM customer support


#CP STOP vs. Linux shutdown for disk snapshots

2008-11-19 Thread Hicks, Bennie
How safe (or unsafe) would use of the #CP STOP of a running linux guest be in 
order to make quick disk snapshots (PPRC Suspend in our case) for a full volume 
backup versus shutting down the linux OS?  Are there any impending gotcha's 
with I/O status or something else that needs to be discussed?  Please 
elaborate, as in prep for full volume backup automation, it seems this method 
might be quicker, just ignorant to the implications of it's use.

Thanks, Bennie


Re: HCPSADMP

2008-11-19 Thread Austin, Alyce (CIV)
Thanks, Kris!

After doing vmfsetup zvm cp, I found the file...(However, I didn't see
that step defined in the documentation.)

Alyce


-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Kris Buelens
Sent: Wednesday, November 19, 2008 9:27 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: HCPSADMP

Did you run VMFSET ZVM CP before you started searching?

2008/11/19 Alyce Austin [EMAIL PROTECTED]:
 Hello,

 In the z/VM 5.4 Guide for Automated Installation
 and Service, it recommends creating at Stand-Alone
 Dump tape on page 145.  For instructions, it says to see
 the z/VM: CP Planning and Administration.  On page 414,
 it says certain files must exist before using
 the HCPSADMP EXEC to create a Stand-Alone Dump Tape.
 I can locate all the files except HCPVM CNTRL.
 Does anyone know where this file lives?

 Thanks for your support,
 Alyce




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: XML on VM

2008-11-19 Thread Fran Hensler
Tom -
 
Why don't you ftp to the userid.rdr ?
 
I do this all the time and I use WAKEUP to process the file.
 
/Fran Hensler at Slippery Rock University of Pennsylvania USA for 45 years
mailto:[EMAIL PROTECTED]  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--
On Wed, 19 Nov 2008 11:05:09 -0600 Tom Duerbusch said:
It doesn't look like I can use LPR to send the XML document to my reader 
queue.  I keep getting truncated at 80 bytes.  I can FTP the file without any 
problems, but I
sure liked the WAKEUP (RDR as the method to drive the server.


Re: XML on VM

2008-11-19 Thread Mike Walter
RED NEON WARNING!

If you are not already paying the full license fee for RSCS, you'll need 
to speak with your IBM marketeers before enabling RSCS' NJE capabilities 
for production work (maybe even for test?).  Only the LPR print daemons 
are free.  Any use of NJE requires the full license.  At least that's my 
understanding.  You marketing reps are the best source.

I sure do with that there were some clear warnings about the costs and 
requirements in the sample SYSTEM CONFIG where the sample ENABLE 
statement for RSCS is commented out.  Related: the SDO Enable Aid. 

Mike Walter 
Hewitt Associates 
Any opinions expressed herein are mine alone and do not necessarily 
represent the opinions or policies of Hewitt Associates.



David Boyes [EMAIL PROTECTED] 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
11/19/2008 11:29 AM
Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: XML on VM






 It doesn't look like I can use LPR to send the XML document to my
reader
 queue.  I keep getting truncated at 80 bytes.  I can FTP the file
without
 any problems, but I sure liked the WAKEUP (RDR as the method to drive
the
 server.

Enable NJE in RSCS and use that instead. 





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: XML on VM

2008-11-19 Thread David Boyes
If you are not already paying the full license fee for RSCS, you'll need
to speak with your IBM marketeers before enabling RSCS' NJE capabilities
for production work (maybe even for test?).  

 

Proper license management is always the responsibility of the admin.
There are also alternatives that don't require a RSCS license. 

 



Re: #CP STOP vs. Linux shutdown for disk snapshots

2008-11-19 Thread David Boyes
Completely unsafe. Linux probably will have data in memory that has not
yet been committed to disk, so your snapshot probably will not be
complete or consistent. You need an agent inside the Linux guest that is
conscious of where data actually is at the moment to get a clean and
consistent backup. 

 



From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Hicks, Bennie
Sent: Wednesday, November 19, 2008 10:31 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: #CP STOP vs. Linux shutdown for disk snapshots

 

How safe (or unsafe) would use of the #CP STOP of a running linux guest
be in order to make quick disk snapshots (PPRC Suspend in our case) for
a full volume backup versus shutting down the linux OS?  Are there any
impending gotcha's with I/O status or something else that needs to be
discussed?  Please elaborate, as in prep for full volume backup
automation, it seems this method might be quicker, just ignorant to the
implications of it's use.  

 

Thanks, Bennie



Re: XML on VM

2008-11-19 Thread David Boyes
 The from platform is WIN/XP.

Not a problem if you can specify the command used to print the file. 
We have NJE for Windows. 


HCPSADMP

2008-11-19 Thread Alyce Austin
Hello,

In the z/VM 5.4 Guide for Automated Installation
and Service, it recommends creating at Stand-Alone
Dump tape on page 145.  For instructions, it says to see
the z/VM: CP Planning and Administration.  On page 414,
it says certain files must exist before using
the HCPSADMP EXEC to create a Stand-Alone Dump Tape.
I can locate all the files except HCPVM CNTRL.
Does anyone know where this file lives?

Thanks for your support,
Alyce


FTPEXIT Question

2008-11-19 Thread Michael Coffin
Hi Folks,

Does anybody here use the FTPEXIT EXEC to evaluate and/or modify FTP
commands?

I've got an FTPS client that sends redundant PROT P commands, after the
data channel has already been protected.  I wrote a piece of code to
check for this condition and change any redundant PROT P commands to
NOOP:

   Select   
   When (subcmd = 'PROT') Then Do/*Evaluate PROT P duplicate..*/

   If Strip(Cmd_Args)='P'  Data_Secure='2' Then Do 
   RetMsg   ='FTPEXIT: PROT P requested but Data channel',  
 'already secure - request ignored.'
   Return_Code=0   /*Have FTP process our RETSTRING*/   
   RetString='NOOP'/*Change command to be a NOOP*/  
   If (debug?) Then Say RetMsg  
   Signal FTPX_Return   
   End  

   End  
   Otherwise Nop
   End /* Select */  

I know this code is executing because I see my FTPEXIT: RetMsg on the
console, but the FTP Server is ignoring my RETSTRING (NOOP) and still
attempting to execute PROT P.

What am I doing wrong here?  Should I be using a RETURN_CODE other than
0 to indicate that FTP should evaluate my RETSTRING?

I'm confused.. :(

-Mike


Re: FTPEXIT Question

2008-11-19 Thread Miguel Delapaz

Mike,

The return string is used to send a message back to the client when the
exit rejects a command (and only if you set the return code to 4 or 12).
It will reject the command with a 502 return string.  There is no
mechanism for modifying the command that gets sent to the server.

Regards,
Miguel Delapaz
z/VM TCP/IP Development


The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU wrote on 11/19/2008
10:24:42 AM:

snip
 I know this code is executing because I see my FTPEXIT: RetMsg on the
 console, but the FTP Server is ignoring my RETSTRING (NOOP) and still
 attempting to execute PROT P.

 What am I doing wrong here?  Should I be using a RETURN_CODE other than
 0 to indicate that FTP should evaluate my RETSTRING?

 I'm confused.. :(

 -Mike

Sample code for user diagnose

2008-11-19 Thread Shedlock, George
I am looking to update some old code that includes user-written diagnose codes. 
Does anyone have an example of such a program that I can look at. I intend to 
insert my own code. Thanks in advance.


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


Re: XML on VM

2008-11-19 Thread Tom Duerbusch
Just never thought of it.

LPR is just a single command with parms.
FTP is more complex as you need a method of inputting multiple lines.  That 
process seems to be platform dependant.

I've reconfigured TCPIP to be able to use the .rdr option.  Yep, it works and I 
don't get truncated records in the rdr queud.

Thanks

Tom Duerbusch
THD Consulting

 Fran Hensler [EMAIL PROTECTED] 11/19/2008 11:40 AM 
Tom -
 
Why don't you ftp to the userid.rdr ?
 
I do this all the time and I use WAKEUP to process the file.
 
/Fran Hensler at Slippery Rock University of Pennsylvania USA for 45 years
mailto:[EMAIL PROTECTED]  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--
On Wed, 19 Nov 2008 11:05:09 -0600 Tom Duerbusch said:
It doesn't look like I can use LPR to send the XML document to my reader 
queue.  I keep getting truncated at 80 bytes.  I can FTP the file without any 
problems, but I
sure liked the WAKEUP (RDR as the method to drive the server.


Re: Our old buddy Mark Cathcart

2008-11-19 Thread Bill Munson
Mark, I for one miss you at SHARE and the debates you and Jeff and the 
old crew used to have 

Bill Munson
Brown Brothers Harriman
Sr. z/VM Systems Programmer
201-418-7588

President MVMUA
http://www2.marist.edu/~mvmua/





Mark Cathcart [EMAIL PROTECTED] 
Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
11/19/2008 01:29 PM
Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU


To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: Our old buddy Mark Cathcart






Well yes, to be fair there were loads of others, but none that apply here
.

I started life as a photographic junior(left 35-hours in the dark per wee
k 
no fun) and yes, had a paper round, but much more interesting, I worked o
n 
the last full size horse drawn barge on the Grand Union Canal(left too mu
ch 
beer), worked as an offal cutter in the butchery dept of the local 
supermarket(left too bloody); in a hardware store as a warehouse boy(poor
 
pay) and on a stall at Wembley Market in London(too cold and wet); my fir
st 
real job was as a relational database for a market research company in 

1974(ahh yes, sorting punch cards, select by row where column x equals an
d 
column y greater than).

All vastly useful experience to convince me that one day I wanted a real 

job indoors, sitting down, and here I am a Distinguished Engineer at IBM 

with no college degree and no patents, funny old world. Sadly I no longer
 
get to use or work on VM, which is a real shame. But I'm doing my best to
 
recreate the experience elsewhere.

We now return you to your normal service and I'll go back into the 
woodwork.



*** IMPORTANT
NOTE* The opinions expressed in this
message and/or any attachments are those of the author and not
necessarily those of Brown Brothers Harriman  Co., its
subsidiaries and affiliates (BBH). There is no guarantee that
this message is either private or confidential, and it may have
been altered by unauthorized sources without your or our knowledge.
Nothing in the message is capable or intended to create any legally
binding obligations on either party and it is not intended to
provide legal advice. BBH accepts no responsibility for loss or
damage from its use, including damage from virus.


Re: A little oddity

2008-11-19 Thread Rob van der Heij
On Wed, Nov 19, 2008 at 3:33 PM, Huegel, Thomas [EMAIL PROTECTED] wrote:

 Damn Rob you are good!

They say you learn best by your own mistakes. I clearly made a *lot*
of those. :-)

-Rob


Opinions needed on next version of TXT2PDF

2008-11-19 Thread llucius
Hi Folks,

I haven't done much with TXT2PDF for like 3 years(!), but I finally got the itch
to play with it again and have added 2 new features that ppl have asked for in
the past:

TrueType font embedding
Unicode mapping

The first one, of course, allows you to use most TrueType fonts in your PDFs. 
Just upload them to the mainframe as variable record files and use the new
XFONT parameters.  Aside from the obvious benefit of being able to spiff up the
reports even more, you also get proper character spacing for proportional fonts.
 And yes, barcode fonts should be usable too.  Font subsetting will be available
in the next release.

I added the Unicode mapping option to use in combination with the font embedding
as it allows you to map single byte characters to any unicode character.  I
chose to use the UCM file format since there are many well maintained ones at
www.icu.org.

But, half way through adding the mapping option, I realized that it could also
be used instead of the character translation tables that can be fed to TXT2PDF
to allow converting input text from one codepage to one usable in a PDF.

This would mean that the input text would no longer be converted...it would
remain exactly the same as the original input.  The mapping would be embedded
within the PDF and the viewer (Acrobat Reader) would do the translation before
display.

So, my question is should I allow for this type of usage?  If so, should I
remove the translation tables entirely or should I give the user the option of
using either one or both?

I guess another couple of questions would be to ask if anyone even uses TXT2PDF
anymore and if they have ever mucked about with the translation tables?

Thanks,

Leland


Re: Opinions needed on next version of TXT2PDF

2008-11-19 Thread Thomas Kern
We use TXT2PDF in a service machine every day. I think the use of
TrueType fonts is great. I don't know if we would ever play with the
translation tables. What ever it uses now seems to work just fine for us.

/Tom Kern
/U.S. Dept of Energy
/301-903-2211

[EMAIL PROTECTED] wrote:
 Hi Folks,
 
 I haven't done much with TXT2PDF for like 3 years(!), but I finally got the 
 itch
 to play with it again and have added 2 new features that ppl have asked for in
 the past:
 
 TrueType font embedding
 Unicode mapping
 
 The first one, of course, allows you to use most TrueType fonts in your PDFs. 
 Just upload them to the mainframe as variable record files and use the new
 XFONT parameters.  Aside from the obvious benefit of being able to spiff up 
 the
 reports even more, you also get proper character spacing for proportional 
 fonts.
  And yes, barcode fonts should be usable too.  Font subsetting will be 
 available
 in the next release.
 
 I added the Unicode mapping option to use in combination with the font 
 embedding
 as it allows you to map single byte characters to any unicode character.  I
 chose to use the UCM file format since there are many well maintained ones at
 www.icu.org.
 
 But, half way through adding the mapping option, I realized that it could also
 be used instead of the character translation tables that can be fed to TXT2PDF
 to allow converting input text from one codepage to one usable in a PDF.
 
 This would mean that the input text would no longer be converted...it would
 remain exactly the same as the original input.  The mapping would be embedded
 within the PDF and the viewer (Acrobat Reader) would do the translation before
 display.
 
 So, my question is should I allow for this type of usage?  If so, should I
 remove the translation tables entirely or should I give the user the option of
 using either one or both?
 
 I guess another couple of questions would be to ask if anyone even uses 
 TXT2PDF
 anymore and if they have ever mucked about with the translation tables?
 
 Thanks,
 
 Leland
 


Re: Sample code for user diagnose

2008-11-19 Thread Shimon Lebowitz
I have a local POLDGN ASSEMBLE file whose text file I 
CPXLOAD in order to enable my 2 local diagnoses.
(One of them I just wrote this week to replace the 
HCPBIS exit I asked about here).

I can email it to you Sunday if you wish (I don't expect
to be in the office till then).

 Original message 
Date:   Wed, 19 Nov 2008 13:08:40 -0600
From:   Shedlock, George [EMAIL PROTECTED]  
Subject:   Sample code for user diagnose  
To:   IBMVM@LISTSERV.UARK.EDU

I am looking to update some old code that includes
user-written diagnose codes. Does anyone have an example of
such a program that I can look at. I intend to insert my own
code. Thanks in advance.


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


Adding a spool volume

2008-11-19 Thread Martin, Terry R. (CMS/CTR) (CTR)
Hi

 

What are the steps to add a spool volume dynamically and what should I
watch out for.

 

Thank You,

 

Terry Martin

Lockheed Martin - Information Technology

z/OS  z/VM Systems - Performance and Tuning

Cell - 443 632-4191

Work - 410 786-0386

[EMAIL PROTECTED]

 



Re: Opinions needed on next version of TXT2PDF

2008-11-19 Thread Hughes, Jim
We use TXT2PDF all the time in our Z/VM environment.

We did make a minor change to have the PDF open with bookmarks visable.

You have done an excellent job Leland.  Thanks.


Jim Hughes
603-271-5586
It is fun to do the impossible.

==-Original Message-
==From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
On
==Behalf Of [EMAIL PROTECTED]
==Sent: Wednesday, November 19, 2008 3:32 PM
==To: IBMVM@LISTSERV.UARK.EDU
==Subject: Opinions needed on next version of TXT2PDF
==
==Hi Folks,
==
==I haven't done much with TXT2PDF for like 3 years(!), but I finally
got
==the itch
==to play with it again and have added 2 new features that ppl have
asked
==for in
==the past:
==
==TrueType font embedding
==Unicode mapping
==
==The first one, of course, allows you to use most TrueType fonts in
your
==PDFs.
==Just upload them to the mainframe as variable record files and use
the
==new
==XFONT parameters.  Aside from the obvious benefit of being able to
spiff
==up the
==reports even more, you also get proper character spacing for
proportional
==fonts.
== And yes, barcode fonts should be usable too.  Font subsetting will
be
==available
==in the next release.
==
==I added the Unicode mapping option to use in combination with the
font
==embedding
==as it allows you to map single byte characters to any unicode
character.
==I
==chose to use the UCM file format since there are many well maintained
==ones at
==www.icu.org.
==
==But, half way through adding the mapping option, I realized that it
could
==also
==be used instead of the character translation tables that can be fed
to
==TXT2PDF
==to allow converting input text from one codepage to one usable in a
PDF.
==
==This would mean that the input text would no longer be converted...it
==would
==remain exactly the same as the original input.  The mapping would be
==embedded
==within the PDF and the viewer (Acrobat Reader) would do the
translation
==before
==display.
==
==So, my question is should I allow for this type of usage?  If so,
should
==I
==remove the translation tables entirely or should I give the user the
==option of
==using either one or both?
==
==I guess another couple of questions would be to ask if anyone even
uses
==TXT2PDF
==anymore and if they have ever mucked about with the translation
tables?
==
==Thanks,
==
==Leland


Re: Opinions needed on next version of TXT2PDF

2008-11-19 Thread Leland
Quoting Hughes, Jim [EMAIL PROTECTED]:

 We did make a minor change to have the PDF open with bookmarks visable.

What was the change?  If you'd like, I'l make it permanent as it sounds like a
useful addition.

 You have done an excellent job Leland.  Thanks.

Thanks much,

Leland


Re: REXX DATE function

2008-11-19 Thread Chip Davis

One man's fussy is another man's rigorous or consistent ... :-)

It was designed that way because the default output format returns the month in
mixed case. It was felt that reciprocality demanded that the Date() BIF accept a
date in the same form that it returned it, as long as it was unambiguous or, in
the case of 2-digit years, windowable.  Once you open the door to variants,
things get messy, e.g. should 12Oct2008 be allowed?

Remember, Rexx is case-sensitive when it regards data; it is case-insensitive
only when it comes to how the Rexx code itself is written.

Would you expect that WordPos('OCT','Jul Aug Sep Oct Nov Dec') would return a
4 or a 0?

-Chip Davis-
[EMAIL PROTECTED]

On 11/19/08 00:33 Mark Wheeler said:

The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU wrote on 11/18/2008
03:33:48 PM:


I am trying to run the following code:
code

/*  */
date1='12 OCT 2008'

  date1='12 Oct 2008'

date2='13 OCT 2008'

  date2='13 Oct 2008'

Fussy, no?


Re: XML on VM

2008-11-19 Thread A. Harry Williams
On Wed, 19 Nov 2008 11:05:09 -0600 Tom Duerbusch said:
Hooold on thereWait a gosh darn minute...
There is a PIPE stage that can process a XML document!!
This is as good a free beer, without the morning after G.
I installed XMLPARSE and tried a sample XML document with the results piped to 
the console.  That looks like what I really wanted.  Thanks.
It doesn't look like I can use LPR to send the XML document to my reader 
queue.  I keep getting truncated at 80 bytes.  I can FTP the file
without any problems, but I sure liked the WAKEUP (RDR as the method to drive 
the server.
Look at using a LPR PUNCH queue instead of a PRINTER queue.  See

http://listserv.uark.edu/scripts/wa.exe?A2=ind0205L=VMESA-LP=R18532

/ahw


A pipe stage for a XML document.  What a country!
Tom Duerbusch
THD Consulting
 A. Harry Williams [EMAIL PROTECTED] 11/18/2008 11:21 PM 
On Tue, 18 Nov 2008 15:49:14 -0600 Tom Duerbusch said:
Came back from a meeting and my brain hurts
We are forcing the integration of VSE into a new Identity Manager (IDM) 
system.
Currently we manage security for VSE via a bunch of REXX execs up in CMS.  
With a bunch of VSE systems, this was a good place to keep stuff
that
may need to be sent down to one or more VSE systems.  So far, it works.
We have been told that the IDM system can only output XML documents.  I can 
write some REXX code to read/process the XML file, and find the
items
of interest, but this may be the time to see if we can start playing in the 
XML world.
Is there anything in the z/VM 5.X world, that we can use to process a XML 
file?
Right now, I'm just thinking that they will LPR the file to a CMS service 
machine, which will wake up and process it.
Perhaps there are options that will connect to the XML port on the IP stack, 
and do everything really nifty G.
I will also be looking for VSE and zLinux options in other emails.  I'm only 
looking for VM responses in this email.
There is XMLPARSE on the VM download page.  It's a pipeline filter that
creates a Rexx structure from a well formed XML document.  I've experimented
with it but never used it for anything significant.
http://www.vm.ibm.com/download/packages/descript.cgi?XMLPARSE
http://www.vm.ibm.com/download/packages/xmlparse.vmarc
Thanks
Tom Duerbusch
THD Consulting


Re: REXX DATE function

2008-11-19 Thread Mark Wheeler
Chip Davis wrote on 11/19/2008 04:36:20 PM:

 One man's fussy is another man's rigorous or consistent ... :-)


From Merriam-Webster:
|   

| 3 a: requiring or giving close attention to details fussy bookkeeping 
procedures b: revealing a sometimes extreme   
| concern for niceties : fastidious , picky 

|   




I was not making a judgement. Merely pointing out the way it works (or not,
as in the original example).

Mark Wheeler


Re: #CP STOP vs. Linux shutdown for disk snapshots

2008-11-19 Thread Mark Post
 On 11/19/2008 at 10:30 AM, Hicks, Bennie [EMAIL PROTECTED] wrote: 
 How safe (or unsafe) would use of the #CP STOP of a running linux guest be in 
 order to make quick disk snapshots (PPRC Suspend in our case) for a full 
 volume backup versus shutting down the linux OS?  Are there any impending 
 gotcha's with I/O status or something else that needs to be discussed?  
 Please elaborate, as in prep for full volume backup automation, it seems this 
 method might be quicker, just ignorant to the implications of it's use.

I agree with David.  Shut the Linux system down.  If you're only trying to 
backup _part_ of the Linux DASD, such as a file system for an application, you 
don't have to bring the whole system down for that.  If you can get the 
application down and the file system unmounted (or mounted read-only), then 
you'll get a good backup of that file system.  If the file system you're trying 
to backup is mounted read-write by _any_ guest, your backup will be potentially 
bad.  (Some people have gotten away with doing that on occasion.  It's 
definitely _not_ the recommended way.)


Mark Post


Re: Adding a spool volume

2008-11-19 Thread Mike Walter
Rhetorical question: When, oh when, will IBM document adding PAGE and 
SPOOL volumes dynamically in a clear, concise manner? 

This question is asked at least 3 or 4 times per year.  And more often as 
we get more new z/VM sysprogs (WELCOME!).  None of the lengthy 
calculations used to determine the initial PAGE and SPOOL volumes apply 
when someone wants to dynamically add a volume.  The answer is always the 
same - and pretty simple (but scary to the uninitiated, and their 
managers).  Just DO IT!  :-)

To answer your question:
It is to adding a PAGE volume dynamically.

One important caveat. 
--
When you add the SLOT to CP_OWNED in SYSTEM CONFIG, you don't ever get to 
change the SLOT number without first scheduling stand-alone time to use 
SPXTAPE to backup ALL your SPOOL files (including all SDF's -System Data 
Files, e.g CMS and many more). 

And I mean NEVER change a SPOOL volume SLOT number, not even by accident 
when you're doing regular housekeeping to neaten up the SYSTEM CONFIG 
file sometime in the future.

That's why in my SHARE session z/VM Installation - It's Installed, NOW 
What? (or: What we learned on the Job) 
(http://linuxvm.org/Present/SHARE111/S9120mw.pdf see slides 12-14) I 
recommend when installing z/VM to place the SPOOL volumes at the top of 
the CP_OWNED list -- and documenting why they should not be moved without 
understanding the implication of changing a SLOT number (loss of *ALL* 
SPOOL files). 

So, to cut/paste from Scott Wandschneider's posts of just last week asking 
about a dynamic PAGE volume addition, adjusting for SPOOL:

1) CP ATTach rdev to MAINT.
2) CPFMTXA FORMAT 0-end on a new volume, with your chosen volser.
3) ALLOCATE 0-0 PERM and 1-END SPOL.

additions...
4) Update SYSTEM CONFIG with new CP_OWNED SPOOL volume.  Remember the SLOT 
number. 
   (see comments above about never changing the SLOT number - maybe you 
want to slip it in right after an existing
SPOOL SLOT if there's room available).
5) Run CPSYNTAX (on MAINT's 193 disk) against the updated SYSTEM CONFIG 
(as usual, after any change).
6) DETach rdev (from MAINT)
7) ATT rdev SYSTEM volser
8) CP DEFINE CPOWNED SLOT  volser OWN   (=SLOT number from SYSTEM 
CONFIG)
9) CP START DASD rdev SPOOL
10) CP Q ALLOC SPOOL   (check that the new volume it looks right)

Let me us know if I left anything out (detailed instructions were 
obviously not included for CPFMTXA, or updating SYSTEM CONFIG).  Maybe IBM 
can use the results for a simple update to CP Planning and Use.

Mike Walter 
Hewitt Associates 
Any opinions expressed herein are mine alone and do not necessarily 
represent the opinions 
or policies of Hewitt Associates.




Martin, Terry R. (CMS/CTR) (CTR) [EMAIL PROTECTED] 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
11/19/2008 03:42 PM
Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Adding a spool volume






Hi
 
What are the steps to add a spool volume dynamically and what should I 
watch out for.
 
Thank You,
 
Terry Martin
Lockheed Martin - Information Technology
z/OS  z/VM Systems - Performance and Tuning
Cell - 443 632-4191
Work - 410 786-0386
[EMAIL PROTECTED]
 




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: Adding a spool volume

2008-11-19 Thread Mark Post
 On 11/19/2008 at  6:08 PM, Mike Walter [EMAIL PROTECTED] wrote: 
 Rhetorical question: When, oh when, will IBM document adding PAGE and 
 SPOOL volumes dynamically in a clear, concise manner? 

Maybe when the various TSC members come to a consensus on how it should be 
done/documented.  The wiki that was requested for the project has been waiting 
for some time now.


Mark Post


Re: Adding a spool volume

2008-11-19 Thread Mike Harding
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU wrote on 
11/19/2008 03:08:31 PM:

 6) DETach rdev (from MAINT)
 7) ATT rdev SYSTEM volser
 8) CP DEFINE CPOWNED SLOT  volser OWN   (=SLOT number from 
SYSTEM 
 CONFIG)
 9) CP START DASD rdev SPOOL
 10) CP Q ALLOC SPOOL   (check that the new volume it looks right)
 
 Let me us know if I left anything out (detailed instructions were 
 obviously not included for CPFMTXA, or updating SYSTEM CONFIG).  Maybe 
IBM 
 can use the results for a simple update to CP Planning and Use.
 
Except you need to do the define cpowned before attaching the device to 
the system.
The define command will fail if the volume's already attached. (btdt)


Re: REXX DATE function

2008-11-19 Thread Rick Giz
Well... there's fussy and then there's fuzzy.  

One man's fuzzy is another man's flexible...

Fuzzy Logic: 
  
An extension of two-valued logic such that statements need not be true or
false, but may have a degree of truth between 0 and 1. Such a system can be
extremely useful in designing control logic for real-world systems.

Regards,
Rick Giz
[EMAIL PROTECTED]


-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Wheeler
Sent: Wednesday, November 19, 2008 5:56 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: REXX DATE function

Chip Davis wrote on 11/19/2008 04:36:20 PM:

 One man's fussy is another man's rigorous or consistent ... :-)


From Merriam-Webster:
|

| 3 a: requiring or giving close attention to details fussy bookkeeping
procedures b: revealing a sometimes extreme   
| concern for niceties : fastidious , picky

|




I was not making a judgement. Merely pointing out the way it works (or not,
as in the original example).

Mark Wheeler


Re: Opinions needed on next version of TXT2PDF

2008-11-19 Thread llucius
Quoting Hughes, Jim [EMAIL PROTECTED]:

 We did make a minor change to have the PDF open with bookmarks visable.

What was the change.  Sounds like a good option and I'll add it permanently if
you'd like.


 You have done an excellent job Leland.  Thanks.

Thanks much,

Leland


Re: Opinions needed on next version of TXT2PDF

2008-11-19 Thread Hughes, Jim
Here is my change.  Its been quite a while. When the PDF is opened, the
book marks are opened on the left and the pages are opened on the right.

  || Generate the catalog object and save ID
  */
  numCatalogObj = PDFNewObj()
  CALL PDFQueueCntl 
  CALL PDFQueueCntl /Type /Catalog
  CALL PDFQueueCntl /Pages  || numPagesObj ||  0 R
  IF pdf.boolIndex THEN DO
/* jim */   CALL PDFQueueCntl /PageMode /UseOutlines 
CALL PDFQueueCntl /Outlines  || numOutlinesObj ||  0 R
  END
  CALL PDFQueueCntl 
  CALL PDFEndObj


Jim Hughes
603-271-5586
It is fun to do the impossible.

==-Original Message-
==From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
On
==Behalf Of Leland
==Sent: Wednesday, November 19, 2008 5:05 PM
==To: IBMVM@LISTSERV.UARK.EDU
==Subject: Re: Opinions needed on next version of TXT2PDF
==
==Quoting Hughes, Jim [EMAIL PROTECTED]:
==
== We did make a minor change to have the PDF open with bookmarks
visable.
==
==What was the change?  If you'd like, I'l make it permanent as it
sounds
==like a
==useful addition.
==
== You have done an excellent job Leland.  Thanks.
==
==Thanks much,
==
==Leland


Re: Adding a spool volume

2008-11-19 Thread Mike Walter
Yeah, yeah.  You want whine with that?  :-)

I've been holding off an that issue until all (or most) the SHARE in Austin 
scheduling issues have been put to bed.  Your eyelids are heavy, you are geting 
very slepy...

Mike Walter
Hewitt Associates


- Original Message -
From: Mark Post [EMAIL PROTECTED]
Sent: 11/19/2008 04:24 PM MST
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Adding a spool volume



 On 11/19/2008 at  6:08 PM, Mike Walter [EMAIL PROTECTED] wrote:
 Rhetorical question: When, oh when, will IBM document adding PAGE and
 SPOOL volumes dynamically in a clear, concise manner?

Maybe when the various TSC members come to a consensus on how it should be 
done/documented.  The wiki that was requested for the project has been waiting 
for some time now.


Mark Post




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: Opinions needed on next version of TXT2PDF

2008-11-19 Thread Leland Lucius

Hughes, Jim wrote:

Here is my change.  Its been quite a while. When the PDF is opened, the
book marks are opened on the left and the pages are opened on the right.

  || Generate the catalog object and save ID
  */
  numCatalogObj = PDFNewObj()
  CALL PDFQueueCntl 
  CALL PDFQueueCntl /Type /Catalog
  CALL PDFQueueCntl /Pages  || numPagesObj ||  0 R
  IF pdf.boolIndex THEN DO
/* jim */   CALL PDFQueueCntl /PageMode /UseOutlines 
CALL PDFQueueCntl /Outlines  || numOutlinesObj ||  0 R
  END
  CALL PDFQueueCntl 
  CALL PDFEndObj

Cool, already in there.  You must have an older version as it was added 
on June 30, of '02.


Leland


Re: Adding a spool volume

2008-11-19 Thread Martin, Terry R. (CMS/CTR) (CTR)
Thanks Mike. I knew most of the steps were the same as they were for
adding the PAGE but I just wanted to make sure of any special issues
with SPOOL!

Thanks again for the detail explanation.

Terry

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Walter
Sent: Wednesday, November 19, 2008 6:09 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Adding a spool volume

Rhetorical question: When, oh when, will IBM document adding PAGE and 
SPOOL volumes dynamically in a clear, concise manner? 

This question is asked at least 3 or 4 times per year.  And more often
as 
we get more new z/VM sysprogs (WELCOME!).  None of the lengthy 
calculations used to determine the initial PAGE and SPOOL volumes apply 
when someone wants to dynamically add a volume.  The answer is always
the 
same - and pretty simple (but scary to the uninitiated, and their 
managers).  Just DO IT!  :-)

To answer your question:
It is to adding a PAGE volume dynamically.

One important caveat. 
--
When you add the SLOT to CP_OWNED in SYSTEM CONFIG, you don't ever get
to 
change the SLOT number without first scheduling stand-alone time to use 
SPXTAPE to backup ALL your SPOOL files (including all SDF's -System Data

Files, e.g CMS and many more). 

And I mean NEVER change a SPOOL volume SLOT number, not even by
accident 
when you're doing regular housekeeping to neaten up the SYSTEM CONFIG 
file sometime in the future.

That's why in my SHARE session z/VM Installation - It's Installed, NOW 
What? (or: What we learned on the Job) 
(http://linuxvm.org/Present/SHARE111/S9120mw.pdf see slides 12-14) I 
recommend when installing z/VM to place the SPOOL volumes at the top of 
the CP_OWNED list -- and documenting why they should not be moved
without 
understanding the implication of changing a SLOT number (loss of *ALL* 
SPOOL files). 

So, to cut/paste from Scott Wandschneider's posts of just last week
asking 
about a dynamic PAGE volume addition, adjusting for SPOOL:

1) CP ATTach rdev to MAINT.
2) CPFMTXA FORMAT 0-end on a new volume, with your chosen volser.
3) ALLOCATE 0-0 PERM and 1-END SPOL.

additions...
4) Update SYSTEM CONFIG with new CP_OWNED SPOOL volume.  Remember the
SLOT 
number. 
   (see comments above about never changing the SLOT number - maybe you 
want to slip it in right after an existing
SPOOL SLOT if there's room available).
5) Run CPSYNTAX (on MAINT's 193 disk) against the updated SYSTEM CONFIG 
(as usual, after any change).
6) DETach rdev (from MAINT)
7) ATT rdev SYSTEM volser
8) CP DEFINE CPOWNED SLOT  volser OWN   (=SLOT number from
SYSTEM 
CONFIG)
9) CP START DASD rdev SPOOL
10) CP Q ALLOC SPOOL   (check that the new volume it looks right)

Let me us know if I left anything out (detailed instructions were 
obviously not included for CPFMTXA, or updating SYSTEM CONFIG).  Maybe
IBM 
can use the results for a simple update to CP Planning and Use.

Mike Walter 
Hewitt Associates 
Any opinions expressed herein are mine alone and do not necessarily 
represent the opinions 
or policies of Hewitt Associates.




Martin, Terry R. (CMS/CTR) (CTR) [EMAIL PROTECTED] 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
11/19/2008 03:42 PM
Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Adding a spool volume






Hi
 
What are the steps to add a spool volume dynamically and what should I 
watch out for.
 
Thank You,
 
Terry Martin
Lockheed Martin - Information Technology
z/OS  z/VM Systems - Performance and Tuning
Cell - 443 632-4191
Work - 410 786-0386
[EMAIL PROTECTED]
 




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.