Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Re: Oracle 9iAS Reports

Re: Re: Oracle 9iAS Reports

From: <J.Velikanovs_at_alise.lv>
Date: Tue, 10 Aug 2004 09:37:50 +0300
Message-ID: <OF2DB899E4.837FCE6E-ONC2256EEC.0023F28E-C2256EEC.00246DDD@alise.lv>


It is seems to be perl, or I am wrong?
Sorry I still don't know perl ;(
Is this piece use Oracle some native libraries? What %form_data type is responsible for?

Jurijs
+371 9268222 (+2 GMT)



Thank you for teaching me.
http://otn.oracle.com/ocm/jvelikanovs.html

<solbeach_at_cox.net>
Sent by: oracle-l-bounce_at_freelists.org
10.08.2004 02:34
Please respond to oracle-l  

        To:     <oracle-l_at_freelists.org>
        cc: 
        Subject:        Re: Re: Oracle 9iAS Reports


use LWP::UserAgent;
my $ua = LWP::UserAgent->new() || die "Unable to create new UserAgent object";
$ua->timeout(86400);
my $url = 'http://devias.mwh.com:7778/reports/rwservlet';

my %form_data = (

   SERVER => 'repdevias',
   USERID => 'username/password_at_dev',
   REPORT => 'sysdate',

   DESTYPE => 'FILE',
   MODE => 'CHARACTER',
   DESNAME => '/tmp/apwork.txt'
   ,STATUSFORMAT => 'XML'
);

my $response = $ua->post($url, \%form_data); print $response->status_line(),"\n";
print $response->content();



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html


Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Tue Aug 10 2004 - 01:33:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US