INFO-VAX Thu, 08 Feb 2007 Volume 2007 : Issue 77 Contents: Re: adding Poly Center Archive Files Re: Anyone have a copy of the DCL book they'd part with? Re: AXP 150 available and probably cheap Building OpenSSL 0.9.8d on a VAX, is it possible? Re: Building OpenSSL 0.9.8d on a VAX, is it possible? Re: DST changes and VMS 7.2 Re: DST changes and VMS 7.2 Re: Help configuring VMS mail with Dynaccess.com Re: Help configuring VMS mail with Dynaccess.com Re: Intel prepares to kill off the Pentium 4 Re: Intel prepares to kill off the Pentium 4 Re: Mark Daniel and/or Hein van den Huevel or anyone really Re: MIME - scripting and symbol substitutions Re: Program looping Re: Program looping Re: Program looping Re: Program looping Re: Program looping Re: Program looping Re: Program looping Re: Program looping Re: SPANNING BACKUP TAPES Re: SPANNING BACKUP TAPES Re: SPANNING BACKUP TAPES Re: SPANNING BACKUP TAPES Re: SPANNING BACKUP TAPES Re: SPANNING BACKUP TAPES Virtual tape libraries ---------------------------------------------------------------------- Date: 8 Feb 2007 00:18:18 -0600 From: cornelius@encompasserve.org (George Cornelius) Subject: Re: adding Poly Center Archive Files Message-ID: In article <1170860355.438000.186640@s48g2000cws.googlegroups.com>, "Beach Runner" writes: > I have a site that for some reason does not have the monthly and > yearly .cpd files. > > Advise archive does not create them. The only answer I've received so > far was to reinstall them, but there must be another alternative. You mean Polycenter Performance Advisor of course. Don't know what CA calls it now that it's part of Unicenter TNG. I know that I was able to create all the files I needed at some point without doing a reinstall. Unfortunately I don't use the archiving facility any more so I can't be of much additional help. Weren't there sample archiving scripts? Perhaps in a directory called PSPA$EXAMPLES? Is there an $ ADVISE EDIT to allow you to edit your configuration? -- George Cornelius cornelius()eisner.decus.org cornelius()mayo.edu > How to recreate the archival files, Monthly and Yearly? ------------------------------ Date: Wed, 7 Feb 2007 11:49:31 -0800 From: DeanW Subject: Re: Anyone have a copy of the DCL book they'd part with? Message-ID: <3f119ada0702071149r7651d4c6r80888c0bb6f5a3de@mail.gmail.com> On 7 Feb 2007 04:13:29 -0800, mb301@hotmail.com wrote: > On 7 Feb, 02:49, wins...@SSRL.SLAC.STANFORD.EDU (Alan Winston - SSRL > Central Computing) wrote: > > In article , heal...@aracnet.com writes: > > >DeanW wrote: > > >> I gave my copy of "Writing Real Programs in DCL" to a geographically > > >> remote co-worker, figuring I'd just pick up another copy. That book > > >> turns out to be unobtanium. > > >I think it's time for a Third Edition :^) Seconded! (or should that be "thirded!"?) > There appears to be a few on the second hand section. > This book > http://www.amazon.com/Vax-Vms-Writing-Programs-Digital/dp/1555580238 Is the first edition- I've got a copy of that. It's smaller, by 68 pages > http://www.elsevier.com/wps/find/bookdescription.librarians/677449/description#description > http://www.amazon.co.uk/gp/offer-listing/1555581919/ref=dp_olp_2/203-8424089-1971938 As I previously noted, $250 is a tad steep, even if it were autographed by Hoff. -- Dean Woodward =o&o dean.woodward@gmail.com ------------------------------ Date: 7 Feb 2007 12:44:20 -0800 From: "tadamsmar" Subject: Re: AXP 150 available and probably cheap Message-ID: <1170881060.076021.267640@v45g2000cwv.googlegroups.com> On Feb 5, 8:50 am, "tadamsmar" wrote: > On Jan 31, 9:00 pm, David J Dachtera > wrote: > > > By the way: Before you junk the 150, see if you can offer it to the community. I > > wouldn't mind having a spare. > > I seem to be bound by red-tape. It will be surplused. I think it > will go up for sale at auction in the Research Triangle Park (RTP) in > NC. It will be on a palette with a bunch of PCs most likely, but > there should be an itemized list of the contents of the pallet. > > I am trying to figure out where the auctions are held and how to get > announcements in advance of the pallet inventories. > > Some of the guys I work with have gone to the auctions in the past but > the system and location may have changed since then. > > They said that a pallet might sell for $10. Even if it bids up too > high, you can just go to the buyer of the pallet and offer to buy the > AXP 150. > > I may just go buy the thing and make it available to the community if > I can figure out how to do it. > > It will most likely come without the PAKs, I don't know of a way to > sell them and we might be able to use them on another system. > > I am planning to delete everything on the disks before I surplus it, > but I am not sure what I am legally obligated to do. Anyway, if you > have the CDs you should be able to load another OS. > > Are you located near the RTP? The auctions are announced at: www.gsaauctions.gov I would assume it will be in North Carolina some time in the near future. I deleted all the licenses but left on the operating system so people could confirmed it worked at the auction inspection if they cared to do so and had the minimal possible password guessing skills :). ------------------------------ Date: 7 Feb 2007 17:00:28 -0600 From: kuhrt.nospammy@encompasserve.org (Marty Kuhrt) Subject: Building OpenSSL 0.9.8d on a VAX, is it possible? Message-ID: I'm trying to build OpenSSL 0.9.8D on a VAX running V7.3. Even though I did the config on the VAX, the build runs into problems with some routines wanting 64 bit numbers. Can this version be built on a VAX? ------------------------------ Date: Wed, 7 Feb 2007 21:25:32 -0600 (CST) From: sms@antinode.org (Steven M. Schweda) Subject: Re: Building OpenSSL 0.9.8d on a VAX, is it possible? Message-ID: <07020721253271_20219436@antinode.org> From: kuhrt.nospammy@encompasserve.org (Marty Kuhrt) > I'm trying to build OpenSSL 0.9.8D on a VAX running V7.3. > Even though I did the config on the VAX, the build runs > into problems with some routines wanting 64 bit numbers. > > Can this version be built on a VAX? Not having tried it, it might be easier for me to guess if I could see one or more examples of the actual error messages. If it really needs 64-bit integer types, then it's probably doomed (unless you'd like to do very much work). ------------------------------------------------------------------------ Steven M. Schweda sms@antinode-org 382 South Warwick Street (+1) 651-699-9818 Saint Paul MN 55105-2547 ------------------------------ Date: 7 Feb 2007 12:58:43 -0800 From: "DaveG" Subject: Re: DST changes and VMS 7.2 Message-ID: <1170881923.273014.162460@a34g2000cwb.googlegroups.com> On Feb 7, 1:28 pm, dhutchings wrote: > Hi there - the company I work for has a pair of VAXen running OpenVMS > 7.2. I understand that's out of support and as such has no DST patch > created for it. > > My plan is to submit jobs that will change the time at the appropriate > dates. Unfortunately, this will require that each year I'm going to > have to remember to modify those jobs with the upcoming year's new DST > change dates. Also, I can't seem to find a way to turn off DST > processing in 7.2 so I'll probably have to create two other jobs that > run on the regular DST dates (again, modified each year) to re-set the > time. > > What are others doing for VMS 7.2 and the upcoming DST changes? > > -- > dhutchings > ------------------------------------------------------------------------ > dhutchings's Profile:http://techiegroups.com/member.php?userid=2640 > View this thread:http://www.techiegroups.com/showthread.php?t=126695 In case you haven't seen this, the OpenVMS FAQ can help: Here's a link to the Time chapter: http://hoffmanlabs.org/vmsfaq/vmsfaq_004.html#faq_time Dave... ------------------------------ Date: 7 Feb 2007 16:33:24 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: DST changes and VMS 7.2 Message-ID: <2gtfYYjWd+Gt@eisner.encompasserve.org> In article , dhutchings writes: > > > What are others doing for VMS 7.2 and the upcoming DST changes? I think I'm goingto let Multinet handle it. The version of Multinet I have on my 7.2 systems is supported and IP applications are the only ones I have that care in any way about the time zone. The Multinet patches I've applied will keep the system clock in sync with Congress. ------------------------------ Date: 7 Feb 2007 18:31:27 -0800 From: mcbill20@yahoo.com Subject: Re: Help configuring VMS mail with Dynaccess.com Message-ID: <1170901887.300673.37430@v33g2000cwv.googlegroups.com> On Feb 6, 1:11 am, hel...@astro.multiCLOTHESvax.de (Phillip Helbig--- remove CLOTHES to reply) wrote: > What is probably happening is that your dynamic DNS address is being > rejected by mail servers somewhere down the line. I had the same > problem when I set up email at home. However, I CAN send outgoing mail > with the standard TCPIP software. I avoid the "we reject mail from > volatile addresses" problem by sending it through an SMTP relay server > provided by my dynamic-DNS provider,http://www.dynaccess.com/. (They > offer more services than DYNDNS.COM for less money. The pricing > structure is different (packages with more and more features, rather > than buying things =E0 la carte), but for me works out to about half what > I would pay for similar features at DYNDNS.COM (and includes some > features DYNDNS.COM doesn't offer). I highly recommend them. If you > switch, you could just set the alternate gateway to their SMTP relay > server and you're in business. The important thing: no SMTP > authentication is needed; it is based on the IP address, which the > dynamic-DNS provider knows anyway, of course. It is not a > pay-per-message system, but rather a reasonable number of messages is > included in the flat rate.) (I also have email addresses with > DYNDNS.COM, so I am familiar with them too.) > I _am_ using dynaccess to send SMTP but that is what is not working the way I have it configured. In my SMTP config I have dynaccess.com specified as my alternate gateway. Is that correct? > > Wait---do you mean dyndns.com or dynaccess.com? They are two separate > companies. > I was using dyndns.com before. With them I was able to receive SMTP but I could only send by using a C program I wrote that would connect to an SMTP server that required authentication at my ISP. I am now using dynaccess.com based on recommendations in posts in COV. > I think the error message is wrong. I think this error occurs when your > alternate gateway doesn't work. > I agree but I am not sure what I am doing wrong in my configuration. > There are several issues here. First, again, you are now talking aboutht= tp://www.dynaccess.com, nothttp://www.dynds.org/, right? Second, the > address 192.168.1.1 is not routable; you need a NAT or PAT router or > something similar to connect to the outside world. Third, you need an > alternate gateway. > I know that address is not routable. That is the address of my alpha. It is connected to a NAT router on a DSL line. The alternate gateway is set to "dynaccess.com". > I have been a satisfied dynaccess.com customer for many, many years. All > my email is done with VMS MAIL from my cluster at home, which receives > email directly and sends it via the SMTP relay server at dynaccess.com. > What is the output of the following TCPIP commands? > > SHOW NAME > SHOW CONFIGURATION NAME > SHOW HOST/LOCAL > SHOW CONFIGURATION SMTP > SHOW ROUTE > SHOW ROUTE/PERMANENT > SHOW CONFIGURATION INTERFACE/FULL > SHOW INTERFACE/FULL TCPIP> show name BIND Resolver Parameters Local domain: batcave.dynaccess.com System State: Started, Enabled Transport: TCP Domain: BATCAVE.DYNACCESS.COM Retry: 4 Timeout: 4 Servers: dns1, dns2 Path: No values defined Process State: Enabled Transport: Domain: Retry: Timeout: Servers: Path: TCPIP> show config name BIND Resolver Configuration Transport: TCP Domain: BATCAVE.DYNACCESS.COM Retry: 4 Timeout: 4 Servers: 205.171.3.65, 205.171.2.65 Path: No values defined TCPIP> show host/local LOCAL database Host address Host name 127.0.0.1 LOCALHOST, localhost 192.168.1.1 Linksys 192.168.1.2 batcave 205.171.3.65 dns1, DNS1 205.171.2.65 dns2, DNS2 192.168.1.6 ds6, DS6 192.168.1.3 hyde, HYDE 64.58.4.38 pop3.mho.com, POP3.MHO.COM 192.168.1.4 scooby, SCOOBY 192.168.1.5 scrappy, SCRAPPY 66.252.192.11 secure.wcox.com *** Note: I have tried both "batcave" alone, as well as the fully qualified name for the 192.168.1.2 local host entry. TCPIP> show config smtp SMTP Configuration =20 Options Initial interval: 0 00:30:00.00 Address_max: 16 NOEIGHT_BIT Retry interval: 0 01:00:00.00 Hop_count_max: 16 NORELAY Maximum interval: 3 00:00:00.00 HEADERS Timeout Initial Mail Receipt Data Terminate Send: 5 5 5 3 10 Receive: 5 Alternate gateway: DYNACCESS.COM General gateway: not defined Substitute domain: BATCAVE.DYNACCESS.COM Zone: not defined Postmaster: TCPIP$SMTP Log file: SYS$SPECIFIC:[TCPIP$SMTP]TCPIP$SMTP_LOGFILE.LOG Generic queue Queues Participating nodes TCPIP$SMTP_SHAGGY_00 1 SHAGGY TCPIP> show route DYNAMIC Type Destination Gateway AN 0.0.0.0 192.168.1.1 AH 127.0.0.1 127.0.0.1 AN 192.168.1.0/24 192.168.1.2 AH 192.168.1.2 192.168.1.2 TCPIP> show route/perm PERMANENT Type Destination Gateway PN 0.0.0.0 192.168.1.1 TCPIP> show config interface/full Interface: LO0 IP_Addr: 127.0.0.1 NETWRK: 255.0.0.0 BRDCST: C_Addr: C_NETWRK: C_BRDCST: Flags: Receive buffer: 0 Interface: WE1 IP_Addr: 192.168.0.250 NETWRK: 255.255.255.0 BRDCST: 192.168.0.255 C_Addr: C_NETWRK: C_BRDCST: Flags: Receive buffer: 0 Interface: WE0 IP_Addr: 192.168.1.2 NETWRK: 255.255.255.0 BRDCST: 192.168.1.255 C_Addr: C_NETWRK: C_BRDCST: Flags: Receive buffer: 0 TCPIP> show interface/full Interface: LO0 IP_Addr: 127.0.0.1 NETWRK: 255.0.0.0 BRDCST: MTU: 4096 Flags: UP LOOP NOARP MCAST SMPX RECEIVE SEND Packets 84 84 Errors 0 0 Collisions: 0 Interface: WE0 IP_Addr: 192.168.1.2 NETWRK: 255.255.255.0 BRDCST: 192.168.1.255 Cluster C_Addr: 192.168.1.2 C_NETWRK: 255.255.255.0 C_BRDCST: 192.168.1.255 Ethernet_Addr: AA-00-04-00-8C-28 MTU: 1500 Flags: UP BRDCST RUN MCAST SMPX RECEIVE SEND Packets 1825 2119 Errors 0 0 Collisions: 0 ------------------------------ Date: 7 Feb 2007 21:42:40 -0800 From: mcbill20@yahoo.com Subject: Re: Help configuring VMS mail with Dynaccess.com Message-ID: <1170913360.400794.261080@j27g2000cwj.googlegroups.com> Well, now I have everything completely hosed. I can no longer receive SMTP mail either. When the SMTP connection is made, I get the following error: %%%%%%%%%%% OPCOM 7-FEB-2007 22:38:58.72 %%%%%%%%%%% Message from user TCPIP$SMTP on SHAGGY TCPIP-W-SMTP_UNRSLVMF, MAIL FROM:<> has unresolvable domain I think I am definitely missing something as far as configuration goes. When I do a "SHOW NAME" in TCPIP now I get the following: TCPIP> show name TCPIP> show name BIND Resolver Parameters Local domain: * Mismatch * System State: Started, Disabled Transport: UDP Domain: Retry: Not defined Timeout: Not defined Servers: No values defined Path: No values defined Process State: Disabled Transport: Domain: Retry: Timeout: Servers: Path: TCPIP> show config name BIND Resolver Configuration Transport: TCP Domain: BATCAVE.DYNACCESS.COM Retry: 4 Timeout: 4 Servers: 205.171.3.65, 205.171.2.65 Path: No values defined Any ideas? Thanks. ------------------------------ Date: 7 Feb 2007 16:09:04 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: Intel prepares to kill off the Pentium 4 Message-ID: In article <52uj0iF1poafpU2@mid.individual.net>, bill@cs.uofs.edu (Bill Gunshannon) writes: > > Who is going to do that port? The VMS fairies? HP "burned their boats" > again when they got rid of the cream of VMS engineering. > While we know of some well known people who have left VMS Engineering, I'd not be in such a hurry to claim all the cream is gone. ------------------------------ Date: 7 Feb 2007 16:28:53 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: Intel prepares to kill off the Pentium 4 Message-ID: In article <52u27qF1pircrU1@mid.individual.net>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > > Irrelevant, really. Alpha is as dead as VAX as far as HP is > concerned. HP says Itanium is VMS's future and Itanium is > all but dead. So what. Seeing recent posts that someone is going to try to build VAX replacements on FPGA, knowing that Charon VAX does have a market, being a user of SIMH, and knowing a shop where the continued use of an 11/785 is the only reasonable approach to a real life problem, I don't consider VAX dead. HP is not the only source of working VAX or Alpha and the end of thier production hasn't killed them. HP has committed to more years of VMS future for existing Alpha which doesn't quite match your claim that they say Itanium is the future. By the time HP looks at only providing VMS updates for Itanium they may have decided to do another port. The recent cleaning out of older VMS folks gives them the resources needed to hire cheaper talent, which makes another port more of a viable business proposition. Age discrimination is illegal, salary discrimination is not. ------------------------------ Date: 7 Feb 2007 15:39:16 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: Mark Daniel and/or Hein van den Huevel or anyone really Message-ID: In article , "Richard Maher" writes: > Hi David, > >> Dumb question: might FTP serve the same purpose? > > Apparently, yes. Can you give me a few quick tips on setting up an anonymous > FTP server. (Or if someone could give me an example of a FTP URL with > Username/Password that VMS UCX likes then that would be good too.) > ftp:/user@hostname/path/file If that user requires a password, the browser will prompt. ------------------------------ Date: Wed, 07 Feb 2007 20:46:31 -0600 From: David J Dachtera Subject: Re: MIME - scripting and symbol substitutions Message-ID: <45CA8F07.BE48E308@spam.comcast.net> mabbuttg@yahoo.ca wrote: > > Hi, I'm adding mail functionality to a script using MIME and MAIL. > This script is creating a text file with a different filename > everytime (time/date embedded in the filename), and attempting to mail > that script as an attachment. The constructed filename is stored in a > symbol called NEWFILENAME (which works, as the script generates the > file and manipulates it using that symbol) . > > However, when the script invokes MIME, I can't seem to get the symbol > substitution to work with the filename when specifying "new" or "add" > - it keeps coming back with "invalid file name - respecify". I've > also tried it outside of the script, with the same results. > > Inside of MIME, the syntax I've tried is: > - NEW 'NEWFILENAME' > - NEW 'NEWFILENAME > - NEW ''NEWFILENAME > > Variations on this theme work in DCL scripts proper (and elsewhere in > this script itself), so at this point am I correct in assuming symbol > substitution doesn't work at all inside of the MIME interpreter? Do I > just have the syntax wrong? > > I can't find many further details from HELP, and everything I've tried > so far hasn't worked, so is there an undocumented way to maybe invoke > MIME from the command line with all options (so normal DCL > substitutions will work)? Any other ideas/tricks I can try here > (writing a temp file with the commands substituted and redefining SYS > $INPUT for instance? Giving up on MIME and constructing a file for use > with SMTP_SFF)? > > This is running on VMS 7.3-1 Alpha. > > Thanks in advance. PIPE is your friend: $ PIPE - (write sys$output "new ", filename ; - write sys$output "save") | - mc mime That is, use WRITE SYS$OUTPUT statements to create the command stream within the pipeline. That allows the use of symbols and other constructs. When MIME is invoked in the second pipeline segment, SYS $INPUT should be pointing to SYS$PIPE (the data flowing in through the pipeline from the output of the previous segment). Hope this helps. -- David J Dachtera dba DJE Systems http://www.djesys.com/ Unofficial OpenVMS Marketing Home Page http://www.djesys.com/vms/market/ Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/ Unofficial OpenVMS-IA32 Home Page: http://www.djesys.com/vms/ia32/ Unofficial OpenVMS Hobbyist Support Page: http://www.djesys.com/vms/support/ ------------------------------ Date: 7 Feb 2007 10:54:25 -0800 From: "mb301@hotmail.com" Subject: Re: Program looping Message-ID: <1170874465.028285.176020@j27g2000cwj.googlegroups.com> On 7 Feb, 12:37, h...@NIRWANA-mppmu.mpg.de (Joseph Huber) wrote: > In article <1170849523.384149.255...@m58g2000cwm.googlegroups.com>, "m...@hotmail.com" writes: > > > Have a cobol program that's looping does anyone have any ideas or > > pointer to find out where in the coding its looping? How about setting > > the process to DUMP? > > > $ SET PROC/DUMP > > I could crash the system (with 1000 users I'll be very popular) > > generate a crash dump but what could I look at? > > $ SET PROC/DUMP=NOW could catch it at the loop PC if it's a tight loop. > > You can look at the "Current PC" SHOW PROC/CONT to get an idea where > the program loops., i.e. which addresses appear repeatedly. > Then look at the map and compiler listings to get > an idea. > > -- > Joseph Huber , Muenchen,Germany: http://www.huber-joseph.de/ Hi Joseph Thanks for getting back to me the $ SET PROC/DUMP=NOW/id/=pid ! only in openvms v7.3-2 I have some listing and maps the "Current PC" values I have a several do I need to convert them or do I just find the value in the list/ maps? The .COB program is linked like this program1,program2,program3,program4,program5 etc is the reason I don't see Current PC is I need to review the listing of the other programs as well? Kind Regards Mark ------------------------------ Date: Wed, 7 Feb 2007 14:23:15 -0500 From: norm.raphael@metso.com Subject: Re: Program looping Message-ID: You might want to compile,link,run this way to get maximum information: $COBOL/LIST/MACHINE/CROSS/MAP/DEBUG p1 $LINK/FULL/MAP/DEBUG/EXEC=p1.exe p1,p2,...,pn $RUN/DEBUG "mb301@hotmail.com" wrote on 02/07/2007 01:54:25 PM: > On 7 Feb, 12:37, h...@NIRWANA-mppmu.mpg.de (Joseph Huber) wrote: > > In article <1170849523.384149.255...@m58g2000cwm.googlegroups. > com>, "m...@hotmail.com" writes: > > > > > Have a cobol program that's looping does anyone have any ideas or > > > pointer to find out where in the coding its looping? How about setting > > > the process to DUMP? > > > > > $ SET PROC/DUMP > > > I could crash the system (with 1000 users I'll be very popular) > > > generate a crash dump but what could I look at? > > > > $ SET PROC/DUMP=NOW could catch it at the loop PC if it's a tight loop. > > > > You can look at the "Current PC" SHOW PROC/CONT to get an idea where > > the program loops., i.e. which addresses appear repeatedly. > > Then look at the map and compiler listings to get > > an idea. > > > > -- > > Joseph Huber , Muenchen,Germany: http://www.huber-joseph.de/ > > Hi Joseph > Thanks for getting back to me the $ SET PROC/DUMP=NOW/id/=pid ! only > in openvms v7.3-2 > I have some listing and maps the "Current PC" values I have a several > do I need to convert them or do I just find the value in the list/ > maps? > The .COB program is linked like this > program1,program2,program3,program4,program5 etc is the reason I don't > see Current PC is I need to review the listing of the other programs > as well? > > Kind Regards > Mark > > > ------------------------------ Date: 7 Feb 2007 13:43:52 -0800 From: "Bob Gezelter" Subject: Re: Program looping Message-ID: <1170884632.753959.290940@j27g2000cwj.googlegroups.com> On Feb 7, 6:58 am, "m...@hotmail.com" wrote: > Have a cobol program that's looping does anyone have any ideas or > pointer to find out where in the coding its looping? How about setting > the process to DUMP? > > $ SET PROC/DUMP > > I could crash the system (with 1000 users I'll be very popular) > generate a crash dump but what could I look at? > > Regards > > Mark Mark, First, as several other people have noted, you will need to note the PC that appears to be loopiing (I presume that the CPU time is constantly increasing). Get a LINK map of the image (do the LINK operation with the /MAP qualifier). This will allow you to determine which module the code is looping in (I would do the SHOW PROCESS/ CONTINUOUS command several times to ensure that the result of the first command is not a fluke). Then, compile the module with a MACHINE_CODE listing (see the COBOL HELP text for details). Now you will be able to determine which line it is at. There are a variety of strategies at this point, including adding code to identify the problem and using the debugger. There is not enough information in the posting to identify the best course of action. I have gone this path many times, in many different languages. It is productive, albeit sometimes laborious. In no case should it be necessary to crash the system (I don't recall having to go to that extreme for a normal user mode program in decades, literally). - Bob Gezelter, http://www.rlgsc.com ------------------------------ Date: 7 Feb 2007 16:11:38 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: Program looping Message-ID: <0ZjvdLW1bM+1@eisner.encompasserve.org> In article <1170849523.384149.255050@m58g2000cwm.googlegroups.com>, "mb301@hotmail.com" writes: > Have a cobol program that's looping does anyone have any ideas or > pointer to find out where in the coding its looping? How about setting > the process to DUMP? > > $ SET PROC/DUMP show process/continuous/id= IIRC, there's also some code lurking around that will let a privileged user post an AST to a process to set its process dump flag. ------------------------------ Date: Wed, 07 Feb 2007 23:13:07 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: Program looping Message-ID: <00A62E6C.14DECCF2@SendSpamHere.ORG> In article <0ZjvdLW1bM+1@eisner.encompasserve.org>, koehler@eisner.nospam.encompasserve.org (Bob Koehler) writes: > > >In article <1170849523.384149.255050@m58g2000cwm.googlegroups.com>, "mb301@hotmail.com" writes: >> Have a cobol program that's looping does anyone have any ideas or >> pointer to find out where in the coding its looping? How about setting >> the process to DUMP? >> >> $ SET PROC/DUMP > > show process/continuous/id= > > IIRC, there's also some code lurking around that will let a privileged > user post an AST to a process to set its process dump flag. ...and there's even some software to tell the program to log traceback and process dump info even if the program is looping in an AST. Contact me if this is needed. -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" ------------------------------ Date: 7 Feb 2007 16:14:11 -0800 From: dooleys@snowy.net.au Subject: Re: Program looping Message-ID: <1170893651.141984.31970@l53g2000cwa.googlegroups.com> On Feb 7, 10:58 pm, "m...@hotmail.com" wrote: > Have a cobol program that's looping does anyone have any ideas or > pointer to find out where in the coding its looping? How about setting > the process to DUMP? > > $ SET PROC/DUMP > > I could crash the system (with 1000 users I'll be very popular) > generate a crash dump but what could I look at? > > Regards > > Mark Can you run it in a batch queue? If so, you could set a low cpulimit on the job, and when it crashes it may give you a stack dump and module name/line no Phil ------------------------------ Date: Thu, 08 Feb 2007 05:59:20 +0100 From: Paul Sture Subject: Re: Program looping Message-ID: In article <0ZjvdLW1bM+1@eisner.encompasserve.org>, koehler@eisner.nospam.encompasserve.org (Bob Koehler) wrote: > In article <1170849523.384149.255050@m58g2000cwm.googlegroups.com>, > "mb301@hotmail.com" writes: > > Have a cobol program that's looping does anyone have any ideas or > > pointer to find out where in the coding its looping? How about setting > > the process to DUMP? > > > > $ SET PROC/DUMP > > show process/continuous/id= > > IIRC, there's also some code lurking around that will let a privileged > user post an AST to a process to set its process dump flag. With V8.3, there's SET PROCESS/DUMP=NOW SET PROCESS /DUMP /DUMP[=NOW] [/ID=pid] [process-name] /NODUMP (default) Causes the contents of the address space to be written to the file named (image-name).DMP in the current default directory (where the image name is the same as the file name) when an image terminates because of an unhandled error. To specify a target process, indicate either the process ID or the process name. Using the NOW option (available on Alpha and I64 systems only) causes the targeted process to dump as soon as possible. This is especially useful for hung processes. -- Paul Sture ------------------------------ Date: 8 Feb 2007 00:44:09 -0600 From: cornelius@encompasserve.org (George Cornelius) Subject: Re: Program looping Message-ID: <8qpMVsd02JiC@eisner.encompasserve.org> In article <1170849523.384149.255050@m58g2000cwm.googlegroups.com>, "mb301@hotmail.com" writes: > Have a cobol program that's looping does anyone have any ideas or > pointer to find out where in the coding its looping? How about setting > the process to DUMP? > > $ SET PROC/DUMP > > I could crash the system (with 1000 users I'll be very popular) > generate a crash dump but what could I look at? Others have suggested ways based on watching the current PC, running with debug on, or invasive techniques such as queueing a kernel AST to the process. But SDA (ANALYZE/SYSTEM) can look inside processes and is able to dump the contents of any given virtual memory range, including the stacks. I use an initial SHOW PROCESS command, then SHOW CALL followed by repeated SHOW CALL/NEXT commands, to trace back through the call stack. I don't know how well this works on a looping process, since it may be that the process context that SDA is examining changes between successive SHOW CALL invocations, and I don't know what SDA would do if you were to suspend the process beforehand. If you have a map file and compile listings you can locate individual variables if you like. Just be aware that if optimization is turned on the variable may at any point in time be out of date (maintained in a register; value implied by other values; etc.), if it exists at all. NOTE: Look into SDA's SET OUTPUT command if you are going to generate extensive output. -- George Cornelius cornelius()eisner.decus.org cornelius()mayo.edu ------------------------------ Date: Wed, 7 Feb 2007 14:50:20 -0500 From: Wayne Sewell Subject: Re: SPANNING BACKUP TAPES Message-ID: <00A62E4F.C0DBE40A.13@tachysoft.com> X-News: tachysoft.com local.mail_to_news.info_vax:50156 >From: wayne@tachysoft.xxx.555664.killspam.00c1 (Wayne Sewell) >Subject: Re: SPANNING BACKUP TAPES >Date: 7 Feb 2007 13:20:13 CDT >Message-ID: >Received: from MVB.SAIC.COM (198.151.12.104) by hardy.tachysoft.com (MX V5.4 > AnHm) with SMTP for ; > Wed, 7 Feb 2007 06:48:59 -0500 >From: Paul Sture >X-Newsgroups: comp.os.vms >Subject: Re: SPANNING BACKUP TAPES >Organization: Indexed, Prolog: 3, Using 4 keys >User-Agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X) >Date: Wed, 07 Feb 2007 12:34:42 +0100 > >Yes, if you have the resources. But I'd rather let a backup continue to >another tape than find the backup is incomplete. One nasty here is that >if BACKUP requires a continuation tape, and that tape isn't available, >it can happily overwrite the next tape physically mounted, irrespective >of its label. > It can't if you use TAPESYS, which validates all labels, including those on continuation tapes. =============================================================================== Wayne Sewell, Tachyon Software Consulting (281)812-0738 wayne@tachysoft.com http://www.tachysoft.com/www/tachyon.html and wayne.html =============================================================================== Curly:"Hey, I'm no mule." Moe:"No, your ears are too short!" ------------------------------ Date: 7 Feb 2007 15:57:54 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: SPANNING BACKUP TAPES Message-ID: In article , "Colin Butcher" writes: > > After all the purpose of a backup is to be able to get the system back from > the dead as swiftly as possible if you have to. So, aim for a backup > strategy that lets you accomplish that. I like to see disc to disc as well > as disc to tape for just that reason. Worst case you can just boot from the > alternate set of discs. Disc is cheap enough to do that these days, so's > tape. If you drop that backup disk you may not be able to recover that data. If you drop your backup tape it probably won't even crack the case. Of course, this was a bigger issue when platters were removable, but I've seen folks carrying disks around. ------------------------------ Date: 7 Feb 2007 16:04:03 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: SPANNING BACKUP TAPES Message-ID: <50xxlWKsz5vj@eisner.encompasserve.org> In article , "Colin Butcher" writes: > > After all the purpose of a backup is to be able to get the system back from > the dead as swiftly as possible if you have to. If that was the purpose, you'ld be using shadowing. Or at least you'ld turn off CRCs and groups. VMS BACKUP is designed to improve the speed of making a saveset at the cost of making restores slower. Most people do a lot more saveset creation than restores. The purpose of a backup is to make sure you CAN get the system back from the dead. Watch out for backup systems that can't match VMS BACKUP CRCs and groups, I've used those features in real life. ------------------------------ Date: 7 Feb 2007 16:06:50 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: SPANNING BACKUP TAPES Message-ID: In article <1170854235.530479.292990@l53g2000cwa.googlegroups.com>, "AEF" writes: > > Well, there is an advantage to the pkzip method. If you want to > restore one file from your multi-floppy zip file, insertion of the > last floppy to read the "directory" allows pkzip to tell you which > floppy to put in next to recover that one file. (IIRC). With VMS > BACKUP you can only do this is you already have a journal or listing > file. With VMS BACKUP you can use meaningfull save set names in a controlled fashion so that you know which save set the one file is in. And if you have to, you can mount the tape as a labled tape and use DIRECTORY to find out which of a multi-reel set contains that save set. I find just keeping a batch log of the backup session around makes that unecessary. ------------------------------ Date: 7 Feb 2007 17:13:02 -0800 From: "AEF" Subject: Re: SPANNING BACKUP TAPES Message-ID: <1170897182.050079.20850@q2g2000cwa.googlegroups.com> On Feb 7, 5:06 pm, koeh...@eisner.nospam.encompasserve.org (Bob Koehler) wrote: > In article <1170854235.530479.292...@l53g2000cwa.googlegroups.com>, "AEF" writes: > > > > > Well, there is an advantage to the pkzip method. If you want to > > restore one file from your multi-floppy zip file, insertion of the > > last floppy to read the "directory" allows pkzip to tell you which > > floppy to put in next to recover that one file. (IIRC). With VMS > > BACKUP you can only do this is you already have a journal or listing > > file. > > With VMS BACKUP you can use meaningfull save set names in a > controlled fashion so that you know which save set the one file > is in. > > And if you have to, you can mount the tape as a labled tape and > use DIRECTORY to find out which of a multi-reel set contains that > save set. I find just keeping a batch log of the backup session > around makes that unecessary. Hi Bob, I was talking about the case in which a single save set spans multiple tapes. This is analagous to a zip file that spans multiple floppies, which is what I was discussing above. If your save set spans tapes, clever save set names aren't going to tell you which tape of the set your file is on. Your advice would work when there are multiple save sets on each tape, and then (in general) only if you know which save set you're looking for. I was talking about the opposite case in which there are multiple tapes in a single save set. For that you need listings or a journal file, especially if you don't know which save set your file is in! AEF ------------------------------ Date: Wed, 07 Feb 2007 20:14:26 -0500 From: JF Mezei Subject: Re: SPANNING BACKUP TAPES Message-ID: <2ab6c$45ca7986$cef8887a$28777@TEKSAVVY.COM> Bob Koehler wrote: > If that was the purpose, you'ld be using shadowing. Or at least > you'ld turn off CRCs and groups. Shadowing is good for actual disk failure or multi node access to data even if one node goes down. But it does not prevent a user from recovering from a DELETE disk:[000000...]*.*;* You need to have a snapshot taken of your disk from time to time. ------------------------------ Date: Wed, 07 Feb 2007 22:50:56 +0100 From: Marc Van Dyck Subject: Virtual tape libraries Message-ID: Has anyone out there already tried to backup one (or more) OpenVMS systems with any kind of virtual tape library system ? Vax , Alpha, Itanium ? Which system ? Which software on the server side ? And has it been successful ? I'm interested in any experience that can be shared in this area. Many thanks in advance, -- Marc Van Dyck ------------------------------ End of INFO-VAX 2007.077 ************************