excutable from menu line

Dennis Malen dmalen at malen.com
Mon Jun 10 08:38:23 PDT 2013


These are the results after adding the @ and the set -x.

 + cat trakfhd.wp                         
+ 1> trakfile                            
cat: 0652-050 Cannot open trakfhd.wp.    
+ cat trakrhdpay.wp                      
+ 1>> trakfile                           
cat: 0652-050 Cannot open trakrhdpay.wp. 
+ cat traksubpay.wp                      
+ 1>> trakfile                           
cat: 0652-050 Cannot open traksubpay.wp. 
+ cat trakrhdcst.wp                      
+ 1>> trakfile                           
cat: 0652-050 Cannot open trakrhdcst.wp. 
+ cat traksubcst.wp                      
+ 1>> trakfile                           
cat: 0652-050 Cannot open traksubcst.wp. 
                                         
Press Enter to continue:

Each of the files has the following attributes:
                                        
-rwxrwxrwx    1 filepro  staff            96 Jun 06 21:37 trakfhd.wp

What am I missing here?

I am still able to execute properly from the command prompt under user
"dennis".

Dennis

-----Original Message-----
From: Kenneth Brody [mailto:kenbrody at spamcop.net] 
Sent: Monday, June 10, 2013 10:32 AM
To: Dennis Malen
Cc: filepro-list at lists.celestial.com
Subject: Re: excutable from menu line

On 6/9/2013 9:10 PM, Dennis Malen wrote:
> I can use the following executable file from the system prompt on my 
> aix unix system:
>
[...]
> It works fine from the system prompt.
>
> The file resides in /tmp and when I use the following on a menu line 
> it does not work execute:
>
> /tmp/trakcombine
[...]

DDW.

Add an "@" at the start of the filePro menu command line.  This will cause
filePro to display "press Enter to continue" after executing the command,
which will allow you to see the error message(s) you are likely getting.

(And, to help in debugging, you can add "set -x" as the first executable
line of the script, which should cause the shell to echo each command before
it executes.)

--
Kenneth Brody



More information about the Filepro-list mailing list