minixman has asked for the wisdom of the Perl Monks concerning the following question:
if($debug){&writelog(1,"INFO: Sent Order Order id = $msgsendid +: \"$sendclient,$sendordid,$sendlotsfill,$sendfillprice,$sendlotsact, +$sendtransno,$send dborderid,$sendlotsordered,$sendamedorderid,$sendorderprice,$sendtrade +rid,$sendbuysell,$sendconsid,$sendexchange,$sendfilltype,$sendlotssti +llopen,$sendmaturi ty,$sendordertype,$sendaction,$sendacc,$sendtimetransmis,$appiamsgdiff +,$appiamsgdiffsecs\" Full String");} # Now we have all the data we insert into the database table my $sql = qq{INSERT INTO $dbtable VALUES(GFMIS.FIXCUSTOMERPERF +_SEQ.nextval,'$recclient','$recordid','$senddborderid','$reclotsorder +ed', + '$recorderprice','$rectraderid','$recbuysell','$recconsid','$rec +ordertype', + '$recaction','$recacc','$rectimetransmis','$sendlotsfill','$send +fillprice', + '$sendfilltype','$sendtimetransmis','$appiamsgdiff','$appiamsgdi +ffsecs')}; my $sth = $dbh->prepare($sql); $sth->execute(); $sth->finish;
20-12-2005 11:38: INFO: Sent Order Order id = TESTER-5-send: "TESTER,f +ud646_20051118,0.0000,0.00000000,0.0000,1049,1317260662,5.0000,0,1461 +0.065,DESRISKGATEW AY,Buy,ANYTHING,0,Ack,5.0000,200512,Symbol,Report,ATOP11,20051118-05:0 +8:10,1812,1.812" Full String
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pipe tag being entered into database
by tirwhan (Abbot) on Dec 20, 2005 at 11:56 UTC | |
|
Re: Pipe tag being entered into database
by holli (Abbot) on Dec 20, 2005 at 11:55 UTC | |
|
Re: Pipe tag being entered into database
by Perl Mouse (Chaplain) on Dec 20, 2005 at 12:32 UTC | |
by minixman (Beadle) on Dec 20, 2005 at 16:48 UTC | |
|
Re: Pipe tag being entered into database
by duff (Parson) on Dec 20, 2005 at 15:49 UTC | |
by minixman (Beadle) on Dec 21, 2005 at 10:09 UTC |