Re: Re: Oracle 9iAS Reports

  • From: J.Velikanovs@xxxxxxxx
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 10 Aug 2004 09:37:50 +0300

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@xxxxxxx>
Sent by: oracle-l-bounce@xxxxxxxxxxxxx
10.08.2004 02:34
Please respond to oracle-l
 
        To:     <oracle-l@xxxxxxxxxxxxx>
        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@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@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //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@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: