Problems when saving output results in Batch Mode

tdimov

New Member
Hello,
we have here a small problem concerning running
Progress scripts in batch mode in UNIX enviroment.
The question is how can we save the output file in a
specific folder. When we run the script online(via Progress editor) it works fine.
But if we run it later using the Progress command "mbpro"
we can't save the result.

The version of Progress is 9.1B
and the UNIX version is HP-UX 11.00

Regards,
Todor Dimov
 

bendaluz2

Member
Tdimov,
What parameters are you using to start mbpro and how do you start up the progress editor? The problem is probably related to the difference in environments between the two. For instance, if the propath is different, your program may not even be being run.

Hope this helps.
 

tdimov

New Member
Re

Hi bendaluz2

this is the line which starts the batch:

mbpro -pf $AFFINITYBPF -p mbatstr.p

where

$AFFINITYBPF=$AFFINITYHOME/bin/Affinity_batch.pf ; export AFFINITYBPF
and mbatstr.p is encripted progress script and I can't read it.

If you want I can send you a copy of my script file. It works when I start it via prowin32.exe (Progress client) but when I try to execute it via batch don't.

Thank you in advance!

P.S. Affinity_batch.txt = Affinity_batch.pf
 

Attachments

  • affinity_batch.txt
    1 KB · Views: 17

bendaluz2

Member
Erm....?

I thought you were running the program in a unix editor environment too, but I presume you are actually running it online in a windows client (as you mention prowin32). If this is the case, there could be many reasons why it isnt working. Have you tried running it online in the unix progress editor?
What does that do?
 

tdimov

New Member
Thanks

Hi bendaluz2,

At least I succeed. I've just change mbatstr.p with my script and it works. You help me very much.
 
Top