Advertisement

05.26.2008 at 11:10AM PDT, ID: 23433080
[x]
Attachment Details

invoke shell script from Perl

Asked by saibsk in Perl Programming Language, KornShell (ksh)

I am trying to execute a shell script which is giving me the following error.
system ksh check_xmlExtracts.ksh client638 source cl638 failed: 256 at run_dcm_scripts.pl line 12, <FH> line 1.

Perl script:

@args=("ksh", "check_Extracts.ksh","$array[0]","$array[4]", "$array[2]");
system(@args)==0
        or die "system @args failed: $?";

where @array=(client638    qsapp01     cl638       ATG    source)

Please advise.Start Free Trial
[+][-]05.26.2008 at 11:29AM PDT, ID: 21647535

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 11:35AM PDT, ID: 21647560

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 12:14PM PDT, ID: 21647679

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 12:17PM PDT, ID: 21647692

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 12:19PM PDT, ID: 21647701

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 12:36PM PDT, ID: 21647763

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 12:36PM PDT, ID: 21647765

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 02:02PM PDT, ID: 21648088

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Perl Programming Language, KornShell (ksh)
Sign Up Now!
Solution Provided By: ozo
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628