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 .
>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=ind0205&L=VMESA-L&P=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 .
>>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: 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 .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 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. 


Re: XML on VM

2008-11-19 Thread Tom Duerbusch
The from platform is WIN/XP.

My initial view, was to have the process do a LPR to send the file to IDMADMIN 
reader queue in VM.  And use WAKEUP (RDR to trigger processing.

Tom Duerbusch
THD Consulting

>>> Kris Buelens <[EMAIL PROTECTED]> 11/19/2008 11:28 AM >>>
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 .
>
> 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 .
>>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
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: 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" 
11/19/2008 11:29 AM
Please respond to
"The IBM z/VM Operating System" 



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 Fran Hensler
Tom -
 
Why don't you ftp to the .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 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


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

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

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


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-18 Thread A. Harry Williams
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 .
>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: XML on VM

2008-11-18 Thread Huegel, Thomas
There is such a thing, I played with it about a year or two ago, I don't 
remember too much about it.. It was maybe a XML parser in WEBSHARE ... I'll 
look at my notes to see if I wrote anything down about it.. If i find anything 
further I'll let you know. 

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
Behalf Of Tom Duerbusch
Sent: Tuesday, November 18, 2008 3:49 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: XML on VM


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 .

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


XML on VM

2008-11-18 Thread Tom Duerbusch
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 .

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