From Rob_Manning at mail.ci.baltimore.md.us Tue Mar 7 07:15:27 2000 From: Rob_Manning at mail.ci.baltimore.md.us (Manning, Rob) Date: Wed Aug 4 23:57:22 2004 Subject: Perl Meeting TONIGHT! Message-ID: <9A59B7C83CEDD311A17700508B95086211F882@finance.ci.baltimore.md.us> Just a quick remider that the Baltimore Perl Mongers will be meeting tonight at 7p.m. in the conference room at the Community of Science office building in Fell's Point (For directions see http://www.cos.com/directions.shtml). If this is your first meeting, you have to use the phone on the side of the building to call Community of Science to gain entrance to the building. This month there is no planned presentation so the meeting will be an open-forum that we'll use to catch up on what each of us is doing, and pose questions about Perl and related technologies. I'll also have books to raffle off, courtesy of O'Reilly and Associates. Hope to see you there. Rob Manning manningr@tcsnet.net Principal Analyst Work (410) 396-4963 TeleCommunication Systems Fax (410) 837-0546 -- Looking for a Perl user's group in Baltimore? - http://baltimore.pm.org From Michael.D.Clingman at ssa.gov Wed Mar 8 12:39:09 2000 From: Michael.D.Clingman at ssa.gov (Michael Clingman) Date: Wed Aug 4 23:57:22 2004 Subject: running mainframe jobs from the pc In-Reply-To: <9A59B7C83CEDD311A17700508B95086211F882@finance.ci.baltimore.md.us> Message-ID: Our office has the capability of submitting jobs to the mainframe from the pc. It turns out that we have very expensive proprietary software from a company called "Open Connect Systems" that runs the ftp server on the mainframe. The software allows us to "put" a jcl file into the batch queue. (Since the IBM mainframes are batch machines placing a jcl file in the batch queue is the way to run a job.) On our machines the way to do this is simply to ftp to the mainframe and give commands like: ftp ocs quote site upcase no verify put your_jcl_file sysin=a bye This places the jcl file in the batch queue. Of course everything needed by the jcl, such as the program being run and permissions to run the program and write to output, must be set up ahead of time. Either the program can be uploaded by an earlier jcl statement or stored on the mainframe. If you are using Open Connect as your ftp server the above command might work. If not you could try talking with the ftp vendor and find out if a similar command exists. Attached is an edited perlscript that submits a jcl to the mainframe and downloads the output file. Michael Clingman ----------------------------------------------------------------------- #!/usr/local/bin/perl # perlscript to submit a jcl on the mainframe and download output file. # this module allows reading in of passwords without echoing to screen. use Term::ReadKey; $cmd = "ftp -n"; # run ftp in batch mode. print "Enter MISF password: "; # read password so it does not echo to screen. ReadMode('noecho'); $passwd = ReadLine(0); print "\n"; # "ocs" is the name we use to ftp to the mainframe on our system. # $1234 is the user id. # archivej_ftp is a jcl file on the pc. it compiles, links, and runs a # fortran program already on the mainframe. # the "sysin=a" command tells the mainframe to submit the jcl as a batch job. $template = " open ocs user \$1234 $passwd quote site upcase no verify put archivej_ftp sysin=a bye "; open(CMD, "|$cmd") || die "could not start command ($cmd)."; print CMD $template; close(CMD); print "JCL submitted, giving job time to run.\n"; # wait 5 minutes to give jcl time to run sleep(5*60); # after 5 minutes download the output file. # in this case the name of the mainframe file is 'act.mdcl.pub.archive.act'. $template = " open ocs user \$1234 $passwd cd 'act.mdcl.pub.archive' get act archives_new bye "; open(CMD, "|$cmd") || die "could not start command ($cmd)."; print CMD $template; close(CMD); # check that downloaded archives file is different than prior months file # if the new downloaded file is the same as the prior downloaded file there # may be a problem with the mainframe run. $check_file = `cmp archives_new archives`; if ( "$check_file" eq "" ) # new and prior files are equivalent. { print "\n**********************WARNING************************************\n"; print "The downloaded file archives_new matches the prior month\'s\n"; print " archives file.\n"; print "The JCL batch job may not have run correctly on the MISF.\n"; print "Do you want to continue? [n]/y: "; $_ = ; unless ( /^[yY]/ ) { print "please place the current archives file in this directory and then\n"; die " rerun this script\n"; } } system("cp archives_new archives") && die "cannot run system command"; # do any processing on the downloaded file here. From jack at hamster.com Thu Mar 23 10:36:35 2000 From: jack at hamster.com (jack@hamster.com) Date: Wed Aug 4 23:57:22 2004 Subject: Your website and HAMSTER.COM! Message-ID: <200003231636.LAA24165@hamster.com> Hey! I just visited your site http://baltimore.pm.org , and found it quite interesting :> I'm running this program called -Hamster ADS- which pays up to 20 cents per unique visitor & 5 cents per click on TEXT ADS which can fit right into your site perfectly. We cut checks to our webmasters EVERY friday and I'm sure you will be very interested :> Check us out @ http://www.hamster.com If you have any questions email me at jack@hamster.com Hope to see you on our program soon! Thanks for your time. Jack http://www.hamster.com jack@hamster.com From owner-baltimore-pm-list at pm.org Fri Mar 31 06:31:57 2000 From: owner-baltimore-pm-list at pm.org (owner-baltimore-pm-list@pm.org) Date: Wed Aug 4 23:57:22 2004 Subject: No subject Message-ID: <200003311231.HAA09447@happyfunball.pm.org> > Received: from orion.ci.baltimore.md.us ([169.156.33.12]) > by happyfunball.pm.org (8.9.3/8.9.1) with SMTP id QAA06199 > for ; Thu, 30 Mar 2000 16:52:19 -0500 > (EST) > Received: from finance.ci.baltimore.md.us by orion.ci.baltimore.md.us > (SMI-8.6/SMI-SVR4) > id QAA04145; Thu, 30 Mar 2000 16:30:59 -0500 > Received: by finance.ci.baltimore.md.us with Internet Mail Service > (5.5.2650.21) > id ; Thu, 30 Mar 2000 16:34:01 -0500 > From: "Manning, Rob" > To: "'baltimore-pm-list@hfb.pm.org'" > > Subject: Perl Meeting April 4 (Tuesday) > > > Just a reminder that the next meeting of the > Baltimore Perl Mongers will be on Tuesday April > 4 in the conference room at the Community of Science > office buildings in Fell's Point (For directions see > http://www.cos.com/contact/directions.shtml). If this is > your first meeting, you have to use the phone > on the side of the building to call Community of Science > to gain entrance to the building. They usually start > listening for callers around 6:30 p.m. > > Again this month there is no planned presentation but > Dave Waldo will be on hand to tell us a little about > the LINUX and Apache conferences that have kept him > away from us the last two months. I'll also follow up on > my experience with some mainframe issues I brought > up last time (That got alot of folks interested at last meeting! > Is it me or do we have our fair share of mainframe experience? :) > > Also I have a relative bounty of books(5) to hand out this month > courtesy of Osbourne Publications. > > Hope to see you there. > > Rob Manning manningr@tcsnet.net > Principal Analyst Work (410) 396-4963 > TeleCommunication Systems Fax (410) 837-0546 > -- > Looking for a Perl user's group in Baltimore? - http://baltimore.pm.org Sender: owner-baltimore-pm-list@pm.org Precedence: bulk From owner-baltimore-pm-list at pm.org Fri Mar 31 06:40:47 2000 From: owner-baltimore-pm-list at pm.org (owner-baltimore-pm-list@pm.org) Date: Wed Aug 4 23:57:22 2004 Subject: No subject Message-ID: <200003311240.HAA09561@happyfunball.pm.org> > Just a reminder that the next meeting of the > Baltimore Perl Mongers will be on Tuesday April > 4 in the conference room at the Community of Science > office buildings in Fell's Point (For directions see > http://www.cos.com/contact/directions.shtml). If this is > your first meeting, you have to use the phone > on the side of the building to call Community of Science > to gain entrance to the building. They usually start > listening for callers around 6:30 p.m. > > Again this month there is no planned presentation but > Dave Waldo will be on hand to tell us a little about > the LINUX and Apache conferences that have kept him > away from us the last two months. I'll also follow up on > my experience with some mainframe issues I brought > up last time (That got alot of folks interested at last meeting! > Is it me or do we have our fair share of mainframe experience? :) > > Also I have a relative bounty of books(5) to hand out this month > courtesy of Osbourne Publications. > > Hope to see you there. > > Rob Manning manningr@tcsnet.net > Principal Analyst Work (410) 396-4963 > TeleCommunication Systems Fax (410) 837-0546 > -- > Looking for a Perl user's group in Baltimore? - http://baltimore.pm.org Sender: owner-baltimore-pm-list@pm.org Precedence: bulk From owner-baltimore-pm-list at pm.org Fri Mar 31 06:48:27 2000 From: owner-baltimore-pm-list at pm.org (owner-baltimore-pm-list@pm.org) Date: Wed Aug 4 23:57:22 2004 Subject: No subject Message-ID: <200003311248.HAA09589@happyfunball.pm.org> Is this message getting through to you? Sender: owner-baltimore-pm-list@pm.org Precedence: bulk Rob Rob Manning manningr@tcsnet.net Principal Analyst Work (410) 396-4963 TeleCommunication Systems Fax (410) 837-0546 -- Looking for a Perl user's group in Baltimore? - http://baltimore.pm.org From owner-baltimore-pm-list at pm.org Fri Mar 31 07:04:27 2000 From: owner-baltimore-pm-list at pm.org (owner-baltimore-pm-list@pm.org) Date: Wed Aug 4 23:57:22 2004 Subject: Another test! Message-ID: <200003311304.IAA09648@happyfunball.pm.org> How about this one? Is the subject OK? Sender: owner-baltimore-pm-list@pm.org Precedence: bulk Rob Rob Manning manningr@tcsnet.net Principal Analyst Work (410) 396-4963 TeleCommunication Systems Fax (410) 837-0546 -- Looking for a Perl user's group in Baltimore? - http://baltimore.pm.org From owner-baltimore-pm-list at pm.org Fri Mar 31 07:39:37 2000 From: owner-baltimore-pm-list at pm.org (owner-baltimore-pm-list@pm.org) Date: Wed Aug 4 23:57:22 2004 Subject: Perl Mongers Meeting April 4 (Tuesday) Message-ID: <200003311339.IAA10143@happyfunball.pm.org> Just a reminder that the next meeting of the Baltimore Perl Mongers will be on Tuesday April 4 in the conference room at the Community of Science office buildings in Fell's Point (For directions see http://www.cos.com/contact/directions.shtml). If this is your first meeting, you have to use the phone on the side of the building to call Community of Science to gain entrance to the building. They usually start listening for callers around 6:30 p.m. Sender: owner-baltimore-pm-list@pm.org Precedence: bulk Again this month there is no planned presentation but Dave Waldo will be on hand to tell us a little about the LINUX and Apache conferences that have kept him away from us the last two months. I'll also follow up on my experience with some mainframe issues I brought up last time (That got alot of folks interested at last meeting! Is it me or do we have our fair share of mainframe experience? :) Also I have a relative bounty of books(5) to hand out this month courtesy of Osbourne Publications. Hope to see you there. Rob Manning manningr@tcsnet.net Principal Analyst Work (410) 396-4963 TeleCommunication Systems Fax (410) 837-0546 -- Looking for a Perl user's group in Baltimore? - http://baltimore.pm.org