Re: SFS problem
Just to exhaust the possibilities in this line, we have had occasions when a job would fail for another reason, then be re-submitted by another userid without the required authority. On Tue, Apr 19, 2011 at 7:47 AM, Graves Nora E nora.e.gra...@irs.govwrote: Kris, The submitter is ABC, the directory owner is XYZ. The submitter has WRITE/NEWRITE authority to the directory and files. Nora Graves nora.e.gra...@irs.gov Main IRS, Room 6531 (202) 622-6735 Fax (202) 622-3123 SE:W:CAR:MP:D:KS:BRSI -- *From:* The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] *On Behalf Of *Kris Buelens *Sent:* Thursday, April 14, 2011 4:58 PM *To:* IBMVM@LISTSERV.UARK.EDU *Subject:* Re: SFS problem Note: if you use VMBATCH, the worker machine connects to SFS with the authority of the job submitter. You say This user is the owner of most of the directories You mean: the submitter is userid ABC, the dirids are all named fpoolid:ABC.something? 2011/4/14 Graves Nora E nora.e.gra...@irs.gov We are having an intermittent problem with SFS and I'm hoping someone may have some ideas of what to pursue next. We have several batch jobs that run under VMBATCH overnight. Sometimes they are not able to create a file in a directory, even though most times it is successful. The only differences in the executions are the file names; for many of these the File Type is the date. In the job I am most familiar with, these are the specifics. The job runs Monday-Saturday. This year, it has failed on January 4, January 12, February 9, March 18, March 25, and April 13. It has run successfully the other days. Other than the QUERY statements below, it has not changed. The job runs in a work machine, WORK7. The job is submitted by the User ID of the database owner. The SFS directories are owned by a 3rd user. Failures occur in many of the subdirectories, not just one subdirectory owned by this user. This user is the owner of most of the directories containing the data files we create in batch, so I don't think it's significant that it's the ID that has the problem. However, as far as I know, it is the only ID that does have the problem. This job uses VMLINK to acquire a write link to SFS directory. This always looks to be successful--no error is given. (Other jobs use GETFMADDR and ACCESS to acquire the write link to the directory. This always appears successful as well). Once the file is ready to be copied from the Work Machine's 191 disk to the SFS directory, the intermittent error appears. The vast majority of the time, the write is successful. However, sometimes, the job gets this error message: DMSOPN1258E You are not authorized to write to file XX 20110413 Z1 The file is not large--last night's file was only 12 blocks. At the suggestion of our systems programmer, I've put in a lot of query statements. I've issued QUERY LIMITS for the job submitter; it's only used 84% of the allocation, with several thousand blocks available. The SFS directory owner has only used 76% of its allocation, with several thousand more blocks still available. The filepool is not full. I've issued QUERY FILEPOOL CONFLICT. There is no conflict. I've issued QUERY ACCESSED. The directory shows that is accessed R/W. When the write is unsuccessful, the program then loops through 5 tries of releasing the access, reacquiring the access, and attempting to write the file again. This has never been successful. I've issued both a COPYFILE and a PIPE to try to write the file; these do not work once there has been a failure. We've looked at the operator consoles to see if we can find any jobs running at the same time. We haven't found any that are accessing that directory structure. There aren't any dumps to look at--it looks perfectly successful other than the fact that it won't write the file. Does anyone have any suggestions of something to try next? Nora Graves nora.e.gra...@irs.gov -- Kris Buelens, IBM Belgium, VM customer support
Re: MAILIT question
I am not familiar with MAILIT, but are you polling for files? Is it possible that the files are being created empty, then the contents written into them? In that case you could be trying to process them when they actually are empty, and SFS would not report any error. You could try creating the files with temporary names that do not get picked up by the poll, then rename them after they are complete. On Thu, Jan 20, 2011 at 2:30 PM, Bill Pettit bill.pet...@ormutual.comwrote: I have been using MAILIT to send emails with attached PDF files for several months now. 99.5% of the time it works like a champ, no errors. But, every now and then I find a few of the emails rejected by SMTP, he says it he rejecting them because they are NULL files. I have nailed this down I think to periods when my SFS server is very busy receiving files from other processes that are running at the same time, it just depends where we are in our nightly batch cycle if this happens to coincide with the sending of the emails with the attached PDF files. The problem is MAILIT always returns me a zero return code, whether the files are rejected by SMTP or not. I am suspecting (and hoping) that MAILIT is getting a return code from SFS saying it cannot provide the file for MAILIT to attach when MAILIT is building the email, but I have not been able to verify that yet. Anyone else that is using MAILIT have a similar experience? Thank you Bill Pettit
Re: VSM - TCPIP
Or simply PIPE CP QUERY NAMES|NFIND VSM - |CONS feeds nicely into additional piping. On Thu, Sep 16, 2010 at 10:12 AM, Scott Rohling scott.rohl...@gmail.comwrote: Hi Frank -- Yes, that pipe looks like it makes good use of rules 1 and 2 and comes up with a good list. Nicely done - thanks! I still don't think the VSM info should be under Q NAMES - and those sneaky rules make me suspect it was a shoehorn :-) But it's been interesting and now at least I have a better way than just tossing 'VSM'. Thanks all! Scott Rohling On Thu, Sep 16, 2010 at 7:56 AM, Frank M. Ramaekers framaek...@ailife.com wrote: Are you looking to do something like this?QN EXEC: /* QUERY NAMES replacement */ Trace O Address COMMAND PIPE (endchar ?), | CP QUERY NAMES, | ZONE 9.1 NFIND -||, | SPLIT ,, | STRIP, | SORT, | SPEC 1.15 1.16, |o:FANOUT, | SNAKE 5, |i:FANIN, | CONSOLE, ?o:, | COUNT LINES, | SPEC / Total number of users = / 1 1-* NW, |j:FANIN, | JOIN *, |i:, ?o:, | SPEC FS - F2 STRIP 1, |p:FIND DSC||, | COUNT LINES, | SPEC / disconnected = / 1 1-* NW, | j: Exit rc Frank M. Ramaekers Jr. -- *From:* The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] *On Behalf Of *Scott Rohling *Sent:* Wednesday, September 15, 2010 7:30 PM *To:* IBMVM@LISTSERV.UARK.EDU *Subject:* Re: VSM - TCPIP Ok - #1 helps a little (but I'm assuming a real user can end up by itself on a line too) - #2 a bit more (yes, sneaky) - #3 even more, but probably going a little far unless I'm going for 6 Sigma or something :-) Probably will stick with tossing VSM user cuz I'm a lazy old cuss. The good news for me is now I know why it's there and why I'm excluding it ... so.. thanks again... Scott Rohling On Wed, Sep 15, 2010 at 6:10 PM, Alan Altmark alan_altm...@us.ibm.com wrote: On Wednesday, 09/15/2010 at 07:46 EDT, Scott Rohling scott.rohl...@gmail.com wrote: Ok - so this is about linemode sessions. And yeah - I get the crickets - who the heck uses linemode? I suppose it fits. I always have a grin on my face when I explain virtual reader/punch/printer to non-z/VM folk. The consistency factor is me expecting the first word in front of the dash (-) to be a guest name. So I still think Q VSM would be better than stuffing it into Q NAMES where I'm looking for guest names and their status. But no one asked me.. hmmph Sounds like I get my list of running guests by ignoring VSM..Keeping my fingers crossed no one names a guest VSM until I retire :-) Perhaps it would help to know that all VSMs 1. Appear on a separate line of output on QUERY NAMES 2. Have the '-' in column 9. User IDs have it in column 10. (Sneaky, huh?) 3. Can be seen via CP QUERY IUCV *CCS Alan Altmark z/VM Development (T minus 3h 50m) IBM Endicott _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: SENDFILE with SMTP
On Thu, Oct 1, 2009 at 1:39 PM, Schuh, Richard rsc...@visa.com wrote: Yes. Well, maybe. The question is: What is in the file? A hex editor on your PC will tell you. The source file, if I haven't copied it adding strange bytes while trying to find the secret, is strictly printable EBCDIC, comprised of the characters a-z (upper and lower case) digits 0-9, blanks, and the characters -/. (at least there were no others in my test file). Is there a hex editor that is included with Office 2003 or with WinXP? We have zero-tolerance prohibitions against installing unapproved software, and most everything falls into that category. There are none that I can find in the approved list. debug.exe is in WinXP. Pretty crude, but it should do the job for this case. You can find some instructions at: http://mirror.href.com/thestarman/asm/debug/debug.htm My question about What form of SENDFILE did you use? goes to the heart of the issue. Both SMTP and, as of this morning, MIME. Files sent in the plain-text body of the e-mail will be subjected to any and all re-encoding required to get it past the SMTP sensor net looking for SMTP controls. CRLFs are the usual victims. By using the MIME options on SENDFILE, the file will be encoded in a way that insulates the file from such predations. Looks like I will have to either convert to RECFM F or send it as an attachment. Late breaking news - appending x'05' to each record works regardless of whether SMTP or MIME is specified. Alan Altmark z/VM Development IBM Endicott
Re: VM lockup due to storage typo
On Wed, Sep 16, 2009 at 3:06 PM, Huegel, Thomas thue...@kable.com wrote: I don't know that I want CP to do anything different than it does now EXCEPT I want z/VM to a) keep running and b) have some facility that I can use to be able to examine the system to find/fix the problem... I I agree. The mainframe has a long history of managing over committed resources, but Linux is presenting new challenges since it was not written to be virtualized. Rob noted earlier: One of the problems with booting Linux is that it determines the size of the virtual machine by testing pages rather than ask CP about it. It seems to me that this will become a problem in other virtual environments as well and, similar to the timer tick problem, another opportunity for the mainframe to show Linux a better way to behave. If Linux does not use up all available space when it starts, there is opportunity to monitor and intervene before it gets critical. Then we do not have to worry about making sure all our virtual blocks fit in the virtual toy box. don't know/care how that get's done, maybe reserving some page space for CP and/or a special 'hook' into the HMC.. I'll leave that up to the developers. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of P S Sent: Wednesday, September 16, 2009 12:53 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: VM lockup due to storage typo On Wed, Sep 16, 2009 at 10:42 AM, Schuh, Richard rsc...@visa.com wrote: Logon would not be the right or only place to put it. DEF STOR is another possible place to err if the maximum storage was too high. Perhaps a check of virtual storage at IPL time. That is a common point that must be traversed no matter where the error occurred. Suggest this not get hung up on But it won't be perfect ideas. For DIRMAINT, perhaps a site configuration option could say Warn me if a userid is defined with either storage limit above x. Similarly, at LOGON or DEFINE STORAGE, if the VMsize is than the total page space defined, a warning would be useful. This doesn't help for aggregate overload (20x1GB with 4GB of page space), doesn't guarantee that XAUTOLOG BIGPIG won't spiral the system into the ground before the operator (what operator?) can react, etc., but it would at least give some more informed consent. In this era of Big Numbers and big Linux guests, this is probably more important than it used to be -- in days of yore, if you accidentally defined a 32MB guest on an 8MB system, (a) there probably WAS enough page space, and (b) the user was probably CMS and wouldn't touch the pages that fast anyway. Ethan
Re: z/VM 6.1 - IBM Preview Letter..
IBM's use of V6.1 is shorthand for Version 6 Release 1. The first release of each version is necessarily Release 1. What IBM avoids (IIRC) is *Version* 1, as that implies a future version, presumably with substantial upgrades. On Wed, Jul 8, 2009 at 10:35 AM, RPN01 nix.rob...@mayo.edu wrote: If I remember the story correctly, you won't see a version such as 6.0, because in IBM wisdom, this would imply that there would be following releases (due to the decimal). Now why it's ok to have 6.1, and why that doesn't carry the same implication, I don't know. -- Robert P. Nix Mayo Foundation.~. RO-OE-5-55 200 First Street SW/V\ 507-284-0844 Rochester, MN 55905 /( )\ -^^-^^ In theory, theory and practice are the same, but in practice, theory and practice are different. On 7/8/09 6:50 AM, Phil Smith III li...@akphs.com wrote: Mike Walter wrote: snip For that matter, z/VM Version 6.1? What happened to Version 6.0? Doesn't everyone know that odd-numbered versions are considered unlucky? Can't have Version 6 Release 0 ... ya know? ...phsiii
Re: z/VM 6.1 - IBM Preview Letter..
At which point it was released as Day 1! :) On Wed, Jul 8, 2009 at 11:54 AM, Jack Woehr j...@well.com wrote: Schuh, Richard wrote: Only if you are counting bits, bytes, words, etc., and then only if it is an offset you are counting. Who thought of using offset instead of ordinal numbers, anyway? The Almighty started on the zero'th day. After he did his work, the earth was without form and void, and the evening and subsequent morning were the first day, i.e., the first day wasn't complete until it was over! -- Jack J. Woehr# I run for public office from time to time. It's like http://www.well.com/~jax http://www.well.com/%7Ejax # working out at the gym, you sweat a lot, don't get http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards.
Re: REXX Date Function Help...Please
On Wed, May 13, 2009 at 11:38 AM, Chip Davis c...@aresti.com wrote: Yes, that was the intention of the ANSI Standard Committee's Y2K work. It is not possible to convert from any of the ambiguous date formats. What should Date('U', 'Tuesday', 'W') return? Since the Julian format was defined to have only a two-digit year (yynnn) there is no way to define an accurate equivalent date. And yes, we discussed sliding windows and a number of other hacks and ultimately rejected them as dangerous. One could get the wrong answer and not know it. We like the 'astonishment factor' to stay as low as possible. Besides, as Bob has shown, there are several ways of accomplishing the conversion as long as you know the century the Julian date belongs to. -Chip- However, date('S','04/05/09','U') returns '20090405' consistent with: 2. Input dates given in 2-digit year formats are interpreted as being within a 100 year window as calculated by: (current_year - 50) = low end of window (current_year + 49) = high end of window so it looks like the point is phasing out Julian dates. On 5/13/09 14:02 Edward M Martin said: Hello Howard, From z/VM 5.3 Help REXX DATE --DATE(--.---.--.-.--)--- |(1)| '-| Group 1 |-' '-output_date_format' And then reference (1) Has NOTE: (1) If the Century or Julian format is specified, then no other options are permitted. These two formats are provided for compatibility with programs written for releases prior to VM/ESA(R) version 2 release 1.1. It is recommended that they not be used for new programs. It would seem that if you specify Julian format you have to use today’s date. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 snip
Re: REXX and URL's
On Thu, 2008-10-09 at 12:39 -0400, Gentry, Stephen wrote: Is there a way, in REXX, that I can specify a URL, and get the results returned in a stem? For example, the url http://tycho.usno.navy.mil/cgi-bin/timer.pl when ran from a browser, returns about 8 lines of information. Once the info is in a stem/queue/stack, I can select the one I want to display. Yes, see the TCPCLIENT stage. I have an EXEC. Thanks, Steve
Re: DB2/VM dataspace problem on zVM 5.20 (was Re: Attention DB2/VM users)
Thanks, looks like that was it. We thought we were up-to-date when we switched, but that one was missing. Hodge, Robert L [EMAIL PROTECTED] Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 07/08/2006 06:28 PM Please respond to The IBM z/VM Operating System To: IBMVM@LISTSERV.UARK.EDU cc: Subject:Re: DB2/VM dataspace problem on zVM 5.20 (was Re: Attention DB2/VM users) Ethan, Have you installed CP APAR VM63978? APAR Identifier .. VM63978 Last Changed 06/06/28 DB2 VM DATASPACES STORAGE CORRUPTION WITH MAPMDISK Symptom .. AB ABEND Status ... CLOSED PER Severity ... 2 Date Closed . 06/06/27 Component .. 568411202 Duplicate of Reported Release . 520 Fixed Release 999 Component Name VM CPSpecial Notice ATTENTION Current Target Date ..06/05/27 Flags SCP ... Platform PERVASIVE Status Detail: SHIPMENT - Packaged solution is available for shipment. PE PTF List: PTF List: Release 520 : UM31822 available 06/06/28 (1000 ) Release 440 : No PTF planned Release 510 : No PTF planned Parent APAR: Child APAR list: ERROR DESCRIPTION: ARI0040E A database manager system error occurred - ARIYD06 26 is possible when running DB2 on z/VM R520 with VM data spaces (VMDSS). The results are unpredictable once the situation is encountered: there could be possible data corruption or other DB2 error messages, such as ARIYI36 05 or 07. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Lanz Sent: Saturday, July 08, 2006 4:12 PM To: IBMVM@LISTSERV.UARK.EDU Subject: DB2/VM dataspace problem on zVM 5.20 (was Re: Attention DB2/VM users) Is this issue resolved? Last night we moved from a z800 (2066?) to a z9 (2096). We had been running DB2/VM 7.4 utilizing dataspaces on zVM5.2 for several weeks on the old box, but since moving to the z9, the databases are abending with ARI0040E ... ARISIIO 05 which indicates directory corruption. I have a call in to IBM, but thought I would see what info I could gather from the list while I wait for a call-back. Ethan Lanz VM/ESA and z/VM Discussions VMESA-L@LISTSERV.UARK.EDU wrote on 2006-01-31 16:02:52: Hi Ed, it does not matter what release of DB2/VM. It is the dataspaces support in z/VM 5.20 seems to cause this problem. I know of, DB2/VSEVM Support is working closely with VM development trying to identify/resolve this problem. They are advising user to temporary take the DB2/VM database off from dataspaces support. Yes, it is a toss up between performance and database corruption! *SIGH* I hope this help. Regards, ...Roland Ed Zell [EMAIL PROTECTED] wrote: Hi all, Please be adviced that you shouold do more frequent archive of your DB2/VM database if you are using dataspace support and is running under z/VM 5.20. I don't know if this is related, but we just got bit with DB2 server hard down. We installed z/VM 5.2.0 on a 2084 this weekend and DB2 came up OK at 6am Sunday and ran until 11pm. I was curious what version of DB2 for VM this was, or does that even matter if the problem is with VM dataspaces? This reminds me of a MAP MDISK problem with VM/ESA 1.2 that we ran into back in 1993 on SQL/DS 3.3.0. We had to turn off dataspace support for several months until it was resolved. Not a pleasant experience at all. Ed Zell (309) 674-8255 x-107 [EMAIL PROTECTED] . CONFIDENTIAL NOTICE: This communication, including any attachments, is intended only for the use of the individual or entity to which it is addressed and contains information which may be confidential. If you are not the intended recipient, any distribution or copying of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately, delete the communication and destroy all copies. Thank you for your compliance. With best regards, ...Roland Chung Senior Technical Specialist (S/390,VM/VSE,DB2/VSEVM) MAXC Consultants Inc. Voice/Fax: 416-469-3280 (If busy, call: 416-469-2268) 197 Hastings Ave., Toronto, Ontario, Canada. M4L 2L6 ** Life is short. Stop once in a while and smell the roses. **