perlCrazy has asked for the wisdom of the Perl Monks concerning the following question:
when comment the $sth->{db2_more_results} error doesn't come.use strict; use strict; use DBI; my $dbh = DBI->connect("dbi:DB2:$dbname",'','',{PrintError => 0}); my $sth = $dbh->prepare("call sp.tbspace"); $sth->execute; do{ while (my $row = $sth->fetchrow_arrayref()) { my $lineStr = @$row; push @dcpu_all_array, "$lineStr\n"; } }while ($sth->{db2_more_results}); $sth->finish;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: glibc detected error with sth->{db2_more_results}
by Anonymous Monk on Jan 12, 2012 at 09:48 UTC | |
|
Re: glibc detected error with sth->{db2_more_results}
by Anonymous Monk on Jan 12, 2012 at 09:50 UTC | |
by perlCrazy (Monk) on Jan 12, 2012 at 09:56 UTC | |
by Anonymous Monk on Jan 12, 2012 at 10:14 UTC | |
by perlCrazy (Monk) on Jan 12, 2012 at 11:29 UTC | |
by Anonymous Monk on Jan 12, 2012 at 12:06 UTC | |
by Anonymous Monk on Jan 12, 2012 at 12:11 UTC | |
by perlCrazy (Monk) on Jan 12, 2012 at 09:59 UTC | |
by cavac (Prior) on Jan 13, 2012 at 16:05 UTC |