RE: [U2] [UV] UniVerse Peculiarity
The answer was PERFORM instead of EXECUTE. Mucho thanks to all the contributed. This was a reall big help ! Barry Rogen PNY Technologies, Inc. Senior Programmer/Analyst (973) 515 - 9700 ext 5327 [EMAIL PROTECTED] - Far better it is to dare mighty things, to win glorious triumphs even though checkered by failure, than to rank with those poor spirits who neither enjoy nor suffer much because they live in the gray twilight that knows neither victory nor defeat.t. roosevelt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lembit Pirn Sent: Thursday, March 02, 2006 2:46 PM To: [EMAIL PROTECTED] Cc: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV] UniVerse Peculiarity I do not know about UniVerse but in UniData I use PCPERFORM instead, just my .5 cents [EMAIL PROTECTED] wrote: Yes, "I" may be failing... "IT", as in "The Script" may be failing "A senior moment a day keeps the neighbors away" --Karl Pearson To all. I have a program that simply execute a unix script. This script is a two line script that reads... mt -f /dev/rmt/3m status > /data4/FTP.WORKDIR/check.status chmod 666 /data4/FTP.WORKDIR/check.status When I run the program from TCL, the program performs beautifully. When I try to execute this program from another program (using a basic EXECUTE statement), it fails every time I may be failing because the environment the calling program is executing as doesn't have a PATH variable setup correctly. Try putting the full path to the executables, I.e.: /usr/bin/mt and /bin/chmod HTH, Karl If I however change to a superuser and run this program, the execute statement performs as it should and I get the desired results. It is not a permissions problem, since I can run the program that executes the script from TCL (as a non-superuser) UniVerse 10.0.19 HPUX 11.0 Any ideas, thoughts, comments, suggestions. Cheers, Barry Rogen PNY Technologies, Inc. Senior Programmer/Analyst (973) 515 - 9700 ext 5327 [EMAIL PROTECTED] - Far better it is to dare mighty things, to win glorious triumphs even though checkered by failure, than to rank with those poor spirits who neither enjoy nor suffer much because they live in the gray twilight that knows neither victory nor defeat.t. roosevelt NOT INTENDED AS A SUBSTITUTE FOR A WRITING NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING CONTRACT, OR ANY CONTRACTUAL OBLIGATION BY PNY, OR ANY INTENT TO ENTER INTO ANY BINDING OBLIGATIONS, NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC TRANSACTIONS ACT, THE FEDERAL E-SIGN ACT, OR ANY OTHER STATE OR FEDERAL LAW OF SIMILAR SUBSTANCE OR EFFECT. THIS EMAIL MESSAGE, ITS CONTENTS AND ATTACHMENTS ARE NOT INTENDED TO REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO ENTER INTO A CONTRACT. NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO SHALL ALTER THIS DISCLAIMER. This e-mail message from PNY Technologies, Inc. is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- karl _/ _/ _/ _/_/_/ __o _/ _/ _/ _/_/ _-\<._ _/_/_/ _/_/_/ (_)/ (_) _/ _/ _/ _/ .. _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- Lembit Pirn 7+7 Software Mustamde tee 4 Tallinn 10621 Estonia phone: +372 6566 232 GSM: +372 5028707 e-mail: [EMAIL PROTECTED] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] UniVerse Peculiarity
I do not know about UniVerse but in UniData I use PCPERFORM instead, just my .5 cents [EMAIL PROTECTED] wrote: Yes, "I" may be failing... "IT", as in "The Script" may be failing "A senior moment a day keeps the neighbors away" --Karl Pearson To all. I have a program that simply execute a unix script. This script is a two line script that reads... mt -f /dev/rmt/3m status > /data4/FTP.WORKDIR/check.status chmod 666 /data4/FTP.WORKDIR/check.status When I run the program from TCL, the program performs beautifully. When I try to execute this program from another program (using a basic EXECUTE statement), it fails every time I may be failing because the environment the calling program is executing as doesn't have a PATH variable setup correctly. Try putting the full path to the executables, I.e.: /usr/bin/mt and /bin/chmod HTH, Karl If I however change to a superuser and run this program, the execute statement performs as it should and I get the desired results. It is not a permissions problem, since I can run the program that executes the script from TCL (as a non-superuser) UniVerse 10.0.19 HPUX 11.0 Any ideas, thoughts, comments, suggestions. Cheers, Barry Rogen PNY Technologies, Inc. Senior Programmer/Analyst (973) 515 - 9700 ext 5327 [EMAIL PROTECTED] - Far better it is to dare mighty things, to win glorious triumphs even though checkered by failure, than to rank with those poor spirits who neither enjoy nor suffer much because they live in the gray twilight that knows neither victory nor defeat.t. roosevelt NOT INTENDED AS A SUBSTITUTE FOR A WRITING NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING CONTRACT, OR ANY CONTRACTUAL OBLIGATION BY PNY, OR ANY INTENT TO ENTER INTO ANY BINDING OBLIGATIONS, NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC TRANSACTIONS ACT, THE FEDERAL E-SIGN ACT, OR ANY OTHER STATE OR FEDERAL LAW OF SIMILAR SUBSTANCE OR EFFECT. THIS EMAIL MESSAGE, ITS CONTENTS AND ATTACHMENTS ARE NOT INTENDED TO REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO ENTER INTO A CONTRACT. NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO SHALL ALTER THIS DISCLAIMER. This e-mail message from PNY Technologies, Inc. is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- karl _/ _/ _/ _/_/_/ __o _/ _/ _/ _/_/ _-\<._ _/_/_/ _/_/_/ (_)/ (_) _/ _/ _/ _/ .. _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- Lembit Pirn 7+7 Software Mustamde tee 4 Tallinn 10621 Estonia phone: +372 6566 232 GSM: +372 5028707 e-mail: [EMAIL PROTECTED] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] UniVerse Peculiarity
Yes, "I" may be failing... "IT", as in "The Script" may be failing "A senior moment a day keeps the neighbors away" --Karl Pearson > >> To all. >> >> I have a program that simply execute a unix script. >> This script is a two line script that reads... >> mt -f /dev/rmt/3m status > /data4/FTP.WORKDIR/check.status >> chmod 666 /data4/FTP.WORKDIR/check.status >> >> When I run the program from TCL, the program performs beautifully. >>When I try to execute this program from another program (using >> a basic EXECUTE statement), it fails every time > > I may be failing because the environment the calling program is executing > as doesn't have a PATH variable setup correctly. Try putting the full path > to the executables, I.e.: /usr/bin/mt and /bin/chmod > > HTH, > > Karl > >> >> If I however change to a superuser and run this program, the >> execute statement performs as it should and I get the desired >> results. >> >> It is not a permissions problem, since I can run the program >> that executes >> the script from TCL (as a non-superuser) >> >> UniVerse 10.0.19 HPUX 11.0 >> >> Any ideas, thoughts, comments, suggestions. >> >> >> Cheers, >> >> Barry Rogen >> PNY Technologies, Inc. >> Senior Programmer/Analyst >> (973) 515 - 9700 ext 5327 >> [EMAIL PROTECTED] >> >> - >> Far better it is to dare mighty things, to win >> glorious triumphs even though checkered by >> failure, than to rank with those poor spirits who >> neither enjoy nor suffer much because they live >> in the gray twilight that knows neither victory >> nor defeat.t. roosevelt >> >> >> >> >> >> NOT INTENDED AS A SUBSTITUTE FOR A WRITING >> >> NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, >> OR >> IN >> ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING CONTRACT, OR ANY >> CONTRACTUAL OBLIGATION BY PNY, OR ANY INTENT TO ENTER INTO ANY BINDING >> OBLIGATIONS, NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC >> TRANSACTIONS ACT, THE FEDERAL E-SIGN ACT, OR ANY OTHER STATE OR FEDERAL >> LAW OF >> SIMILAR SUBSTANCE OR EFFECT. THIS EMAIL MESSAGE, ITS CONTENTS AND >> ATTACHMENTS >> ARE NOT INTENDED TO REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO >> ENTER >> INTO >> A CONTRACT. NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT >> MAY >> BE A >> PART, OR IN ANY ATTACHMENTS THERETO SHALL ALTER THIS DISCLAIMER. >> >> This e-mail message from PNY Technologies, Inc. is for the sole use of >> the >> intended recipient(s) and may contain confidential and privileged >> information. >> Any unauthorized review, use, disclosure or distribution is prohibited. >> If >> you >> are not the intended recipient, please contact the sender by reply >> e-mail >> and >> destroy all copies of the original message. >> --- >> u2-users mailing list >> u2-users@listserver.u2ug.org >> To unsubscribe please visit http://listserver.u2ug.org/ >> > > > -- > karl > > _/ _/ _/ _/_/_/ __o > _/ _/ _/ _/_/ _-\<._ >_/_/_/ _/_/_/ (_)/ (_) > _/ _/ _/ _/ .. > _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] > > -- > IT Director, ATS Industrial Supply, Inc. > http://www.atsindustrial.com > Toll-free: 800-789-9300 x29 > Direct2Desk: 801-978-4429 > Facsimile: 801-972-3888 > -- > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > -- karl _/ _/ _/ _/_/_/ __o _/ _/ _/ _/_/ _-\<._ _/_/_/ _/_/_/ (_)/ (_) _/ _/ _/ _/ .. _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] UniVerse Peculiarity
Karl, Good thought - good try - no soap. I full pathed everything. Double checked all the permissions, etc, etc - still nada. Quite bizarre. Cheers, Barry Rogen PNY Technologies, Inc. Senior Programmer/Analyst (973) 515 - 9700 ext 5327 [EMAIL PROTECTED] - Far better it is to dare mighty things, to win glorious triumphs even though checkered by failure, than to rank with those poor spirits who neither enjoy nor suffer much because they live in the gray twilight that knows neither victory nor defeat.t. roosevelt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 1:53 PM To: Barry Rogen Cc: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV] UniVerse Peculiarity > To all. > > I have a program that simply execute a unix script. > This script is a two line script that reads... > mt -f /dev/rmt/3m status > /data4/FTP.WORKDIR/check.status > chmod 666 /data4/FTP.WORKDIR/check.status > > When I run the program from TCL, the program performs beautifully. >When I try to execute this program from another program (using > a basic EXECUTE statement), it fails every time I may be failing because the environment the calling program is executing as doesn't have a PATH variable setup correctly. Try putting the full path to the executables, I.e.: /usr/bin/mt and /bin/chmod HTH, Karl > > If I however change to a superuser and run this program, the > execute statement performs as it should and I get the desired > results. > > It is not a permissions problem, since I can run the program > that executes > the script from TCL (as a non-superuser) > > UniVerse 10.0.19 HPUX 11.0 > > Any ideas, thoughts, comments, suggestions. > > > Cheers, > > Barry Rogen > PNY Technologies, Inc. > Senior Programmer/Analyst > (973) 515 - 9700 ext 5327 > [EMAIL PROTECTED] > > - > Far better it is to dare mighty things, to win > glorious triumphs even though checkered by > failure, than to rank with those poor spirits who > neither enjoy nor suffer much because they live > in the gray twilight that knows neither victory > nor defeat.t. roosevelt > > > > > > NOT INTENDED AS A SUBSTITUTE FOR A WRITING > > NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR > IN > ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING CONTRACT, OR ANY > CONTRACTUAL OBLIGATION BY PNY, OR ANY INTENT TO ENTER INTO ANY BINDING > OBLIGATIONS, NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC > TRANSACTIONS ACT, THE FEDERAL E-SIGN ACT, OR ANY OTHER STATE OR FEDERAL > LAW OF > SIMILAR SUBSTANCE OR EFFECT. THIS EMAIL MESSAGE, ITS CONTENTS AND > ATTACHMENTS > ARE NOT INTENDED TO REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO ENTER > INTO > A CONTRACT. NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY > BE A > PART, OR IN ANY ATTACHMENTS THERETO SHALL ALTER THIS DISCLAIMER. > > This e-mail message from PNY Technologies, Inc. is for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. > Any unauthorized review, use, disclosure or distribution is prohibited. If > you > are not the intended recipient, please contact the sender by reply e-mail > and > destroy all copies of the original message. > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > -- karl _/ _/ _/ _/_/_/ __o _/ _/ _/ _/_/ _-\<._ _/_/_/ _/_/_/ (_)/ (_) _/ _/ _/ _/ .. _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] UniVerse Peculiarity
> To all. > > I have a program that simply execute a unix script. > This script is a two line script that reads... > mt -f /dev/rmt/3m status > /data4/FTP.WORKDIR/check.status > chmod 666 /data4/FTP.WORKDIR/check.status > > When I run the program from TCL, the program performs beautifully. >When I try to execute this program from another program (using > a basic EXECUTE statement), it fails every time I may be failing because the environment the calling program is executing as doesn't have a PATH variable setup correctly. Try putting the full path to the executables, I.e.: /usr/bin/mt and /bin/chmod HTH, Karl > > If I however change to a superuser and run this program, the > execute statement performs as it should and I get the desired > results. > > It is not a permissions problem, since I can run the program > that executes > the script from TCL (as a non-superuser) > > UniVerse 10.0.19 HPUX 11.0 > > Any ideas, thoughts, comments, suggestions. > > > Cheers, > > Barry Rogen > PNY Technologies, Inc. > Senior Programmer/Analyst > (973) 515 - 9700 ext 5327 > [EMAIL PROTECTED] > > - > Far better it is to dare mighty things, to win > glorious triumphs even though checkered by > failure, than to rank with those poor spirits who > neither enjoy nor suffer much because they live > in the gray twilight that knows neither victory > nor defeat.t. roosevelt > > > > > > NOT INTENDED AS A SUBSTITUTE FOR A WRITING > > NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR > IN > ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING CONTRACT, OR ANY > CONTRACTUAL OBLIGATION BY PNY, OR ANY INTENT TO ENTER INTO ANY BINDING > OBLIGATIONS, NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC > TRANSACTIONS ACT, THE FEDERAL E-SIGN ACT, OR ANY OTHER STATE OR FEDERAL > LAW OF > SIMILAR SUBSTANCE OR EFFECT. THIS EMAIL MESSAGE, ITS CONTENTS AND > ATTACHMENTS > ARE NOT INTENDED TO REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO ENTER > INTO > A CONTRACT. NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY > BE A > PART, OR IN ANY ATTACHMENTS THERETO SHALL ALTER THIS DISCLAIMER. > > This e-mail message from PNY Technologies, Inc. is for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. > Any unauthorized review, use, disclosure or distribution is prohibited. If > you > are not the intended recipient, please contact the sender by reply e-mail > and > destroy all copies of the original message. > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > -- karl _/ _/ _/ _/_/_/ __o _/ _/ _/ _/_/ _-\<._ _/_/_/ _/_/_/ (_)/ (_) _/ _/ _/ _/ .. _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] [UV] UniVerse Peculiarity
To all. I have a program that simply execute a unix script. This script is a two line script that reads... mt -f /dev/rmt/3m status > /data4/FTP.WORKDIR/check.status chmod 666 /data4/FTP.WORKDIR/check.status When I run the program from TCL, the program performs beautifully. When I try to execute this program from another program (using a basic EXECUTE statement), it fails every time If I however change to a superuser and run this program, the execute statement performs as it should and I get the desired results. It is not a permissions problem, since I can run the program that executes the script from TCL (as a non-superuser) UniVerse 10.0.19 HPUX 11.0 Any ideas, thoughts, comments, suggestions. Cheers, Barry Rogen PNY Technologies, Inc. Senior Programmer/Analyst (973) 515 - 9700 ext 5327 [EMAIL PROTECTED] - Far better it is to dare mighty things, to win glorious triumphs even though checkered by failure, than to rank with those poor spirits who neither enjoy nor suffer much because they live in the gray twilight that knows neither victory nor defeat.t. roosevelt NOT INTENDED AS A SUBSTITUTE FOR A WRITING NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING CONTRACT, OR ANY CONTRACTUAL OBLIGATION BY PNY, OR ANY INTENT TO ENTER INTO ANY BINDING OBLIGATIONS, NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC TRANSACTIONS ACT, THE FEDERAL E-SIGN ACT, OR ANY OTHER STATE OR FEDERAL LAW OF SIMILAR SUBSTANCE OR EFFECT. THIS EMAIL MESSAGE, ITS CONTENTS AND ATTACHMENTS ARE NOT INTENDED TO REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO ENTER INTO A CONTRACT. NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO SHALL ALTER THIS DISCLAIMER. This e-mail message from PNY Technologies, Inc. is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/