How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Dave Hansen
Hello, I have an EXEC that I wish to use to TRANS the console files from another userid for a given period of time. I would like to check if the userid given the EXEC actually exists. I looked at the CMS QUERY which does stack the results, but userid is not part of the CMS query. The

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Huegel, Thomas
Can't you use the return code from your CP QUERY? 0 = logged on, 3 = not in directory, 45 = in directory but not logged on... -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Dave Hansen Sent: Thursday, October 25, 2007 9:16 AM To:

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Rich Smrcina
If you want to get the output of a CP command in a REXX program use EXECIO. Dave Hansen wrote: Hello, I have an EXEC that I wish to use to TRANS the console files from another userid for a given period of time. I would like to check if the userid given the EXEC actually exists. I

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Marty Zimelis
Almost, but not quite. The RC=3 means invalid option. The proper form of the query is CP QUERY USER userid, which will report not logged on for a user that doesn't exist. Spooling your punch (after querying it to capture the existing setting) to the target user will return RC=53 if the user

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Ken Watson
Dave: This is an example of how I do that: /* CHKID: Determine if a userid exists */ Parse Source . . exnm . exmsg = '*' exnm':' exerr = exmsg 'ERROR -' Parse UPPER Arg uid . If uid = '' | uid = '?' Then Do Say exmsg 'Determine if a userid exists' Say Say 'Command Format:'

Re: RSCSAUTH

2007-10-25 Thread Bob Bates
Well the good news is that I have been able to reproduce it. All I have defined is the AUTHUSER and when I did the command with the RSCSAUTH logged on MAINT got the response back to itself. I disconnected it and tried the command and sure enough, no response to MAINT. The command does show up in

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Rick Bourgeois
Dave, Here is a pipe in an exec that will do what you want. /* */ address command arg userid

Re: RSCSAUTH

2007-10-25 Thread Harding, Mike
Does RSCSAUTH have a SECUSER defined, or set? Mike Harding EDS VM National Capability 134 El Portal Place Clayton, Ca. USA 94517-1742 * phone: +01-925-672-4403 * Fax: +01-925-672-4403 * mailto:[EMAIL PROTECTED] * mailto:[EMAIL PROTECTED] (personal) Note: For 2007, I am off on Fridays

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Rick Bourgeois
Dave, I messed up in my last example. By coding the pipe without the USER keyword yow get what you want. /* */ address command arg userid

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Dave Hansen
Hello again, Thank you for all your suggestions. I did like Kens response with the diagrc in it. I did some testing and for simplicity I favor just checking the return code on the CP Q userid. I had forgotten about our friend EXECIO that stacks the output and I liked the PIPE that put the

Re: RSCSAUTH

2007-10-25 Thread Bob Bates
OPERATOR is defined at the secondary user in the directory, as supplied. But I want to clarify a couple things I have seen: USERAUTH RSCSAUTH contains just one record * * GENERAL This allows TEST1 to only do a limited amount of things

Re: RSCSAUTH

2007-10-25 Thread Alan Altmark
On Thursday, 10/25/2007 at 11:16 EDT, Bob Bates [EMAIL PROTECTED] wrote: Q SET shows MSG IUCV. Looks like WAKEUP isn't processing MSG if it is disconnected. Could this just be a WAKEUP problem? Has anybody got this working? Bob, if a disconnected user has a secondary user defined, and that

Re: RSCSAUTH

2007-10-25 Thread Bob Bates
Aha! Sure enough that works. I should have remembered that. This seems like a documentation problem or a distribution problem then. The id as supplied does not work correctly because OPERATOR is there by default. Nor does the document mention the secuser should be removed so it will function.

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Kris Buelens
With LINK, only 1 CP command s required, so why revert to DEFINE + SPOOL + DETACH? 2007/10/25, David Boyes [EMAIL PROTECTED]: Define a virtual punch or printer at a known address and attempt to spool that device to the user in question. If the user is not valid, you will get an error. You can

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Dave Hansen
Hello again, OK, I did some pondering. I wanted to suppress the CP command and SETtting CMSTYPE of coarse did suppress it. so I used the PIPE approach. I would hope that userids should not match literals lke DISK or NOLOG, but I liked the 'NOT IN CP DIRECTORY' message from the spool

VM TSM server support

2007-10-25 Thread O'Brien, Dennis L
I've been poking around IBM's web site, trying to find out if the Tivoli Storage Manager (TSM) server is still supported for VM. I know it hasn't been enhanced in years. I just want to know if it's still supported. I think the answer is no. I found these two documents:

Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question.

2007-10-25 Thread Huegel, Thomas
Yes I did. This is what I did. copy vsm221b $ppf d = = a add the override statements to the end of the $ppf file. compile using VMFPPF VSM221B DFSMSVM try to install ... vmfins install ppf vsm221b dfsmsvm (nomemo nolink Is that the correct procedure? -Original Message- From: The IBM

Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question.

2007-10-25 Thread Kris Buelens
Can I have a look at the PPF file? 2007/10/25, Huegel, Thomas [EMAIL PROTECTED]: Yes I did. This is what I did. copy vsm221b $ppf d = = a add the override statements to the end of the $ppf file. compile using VMFPPF VSM221B DFSMSVM try to install ... vmfins install ppf vsm221b dfsmsvm

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Kris Buelens
By coding IF WORD(RESP.1,1) = 'HCPCSP053E' THEN you depend in CP SET EMSG ON Why not simply testing the returncode? And, the test with the LINK, is a LINK without a minidisk address: 'PIPE CP LINK ' cw if rc=22 then ... user exists ... if rc=53 then ... user not in CP directory Side

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread David Boyes
Either will work. That's just the method that popped off the top of my head.

Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question.

2007-10-25 Thread Huegel, Thomas
Sure. I sent them to you off list. Thanks [Huegel, Thomas] -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Kris Buelens Sent: Thursday, October 25, 2007 12:47 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: z/VM 5.3 installing DFSMS/VM PPF

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Harding, Mike
It's workable, but I'd suggest that for what you're doing you don't really need a separate test for valid userid. The query rdr itself will do that. Your date checking can be streamlined as well. This would be my solution: /* **

Re: How can I find if a user is defined in the directory (without looking!)?

2007-10-25 Thread Dale R. Smith
CP LINK userid is the best way to tell if a userid is defined in the directory or not. CP SPOOL PUN userid will give a non-zero return code for a userid defined in the directory with a password of NOLOG. This information could be useful if you were trying to determine whether or no t you

Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question.

2007-10-25 Thread Jim Bohnsack
Rather than going thru the PPF OVERRIDE route, here's what I add to the DFSMS directory entry. * LINK ISPVM 0192 0192 RR * DFSMS insists on having a 192 disk MDISK 0192 3390 T-DISK 1 DFSMS just wants to have a 192 disk. It works for me. Jim Huegel, Thomas wrote: This is a

Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question.

2007-10-25 Thread Huegel, Thomas
THANK-YOU JOHN !!! I got all cought up in the PPF stuff and never even thought of the EASY way. It worked like a charm. Thanks again. Tom -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Jim Bohnsack Sent: Thursday, October 25, 2007 3:11 PM

Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question.

2007-10-25 Thread Huegel, Thomas
Rather Thank-you JIM !!! lol -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Huegel, Thomas Sent: Thursday, October 25, 2007 3:26 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question. THANK-YOU JOHN

IBM's Next Generation Mainframe Processor

2007-10-25 Thread Pamela Christina sunny and colorful endicott
Ref: Your note of Fri, 19 Oct 2007 07:29:11 -0400 (attached) Dale asked: Speaking of ads, does the Take Back Control commercial on www.vm.ibm.com really work, or is it a firewall issue here at work? It'd be interesting to see that. When I click on Watch Video, I get a screen to select

Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question.

2007-10-25 Thread Jim Bohnsack
That's all right. I must look like a John :-\ because even people who I have met call me John. I may be arrested sometime just on suspicion. I really don't understand why IBM insists on having a 192 disk. I have not had a system with ISPF for over 5 years. I can't use ISMF but you can

Re: z/VM 5.3 installing DFSMS/VM PPF OVERRIDE question.

2007-10-25 Thread Les Geer (607-429-3580)
This is what I did. copy vsm221b $ppf d = = a add the override statements to the end of the $ppf file. compile using VMFPPF VSM221B DFSMSVM try to install ... vmfins install ppf vsm221b dfsmsvm (nomemo nolink Is that the correct procedure? I know you already resolved this by defining a 192

Re: RSCSAUTH

2007-10-25 Thread Les Geer (607-429-3580)
Yes!!! Thank you all, the secondary user was the problem. I agree with Bob, it isn't good that it is broken when installed as documented. It does sound like the RSCSAUTH ID should not have been defined with a SECUSER in the directory. Will probably need to take a doc or info APAR on this.