CG_man has asked for the wisdom of the Perl Monks concerning the following question:
I need it to look like thisJob_A, 16:06:38 10/15/2008, 14:55:21 02/23/2009 Job_B, 17:39:16 03/23/ +2009, 17:47:44 03/23/2009 Job_C, ******** **********, ******** ****** +**** Job_D, ******** **********, ******** ********** Job_E, ******** +**********, ******** ********** Job_F, ******** **********, ******** +**********
Here is the codeJob_A Start Time End Time Job_B Start Time End Time Job_C Start Time End Time etc....
What do I need to add or remove ?&DBEXEC("select job_name, last_start, last_end from job_status, job where job.joid = job_status.joid and job_name in ('Job_A', 'Job_B', 'Job_C', 'Job_D', 'Job_E', 'Job_F')"); while(@status = &dbnextrow($dbproc)){ $name = ($status[0]); $stime = &GETTIME($status[1]); $etime = &GETTIME($status[2]); print "$name, $stime, $etime\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Printing issue with an array
by CountZero (Bishop) on Apr 10, 2009 at 06:23 UTC | |
|
Re: Printing issue with an array
by vinoth.ree (Monsignor) on Apr 10, 2009 at 03:52 UTC | |
by CG_man (Novice) on Apr 10, 2009 at 03:59 UTC | |
by Anonymous Monk on Apr 10, 2009 at 06:39 UTC | |
|
Re: Printing issue with an array
by Anonymous Monk on Apr 10, 2009 at 08:49 UTC | |
by Anonymous Monk on Apr 14, 2009 at 00:28 UTC |