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

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.

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

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

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:

[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

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

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

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

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,

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

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

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

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

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

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

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

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

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

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.

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.

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

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

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

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

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:

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

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

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

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.

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

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

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,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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