Call Progress Program From V8 Menu

Carl,

Thanks for all the help and the emails. I will give this a try.

Thanks!!!

Mark
--- In vantage@yahoogroups.com, "Carl Peterson" <cpeterson@...> wrote:
>
> There are several ways to run a Progress program from a V8 menu.
>
> You will need to know the paths of the following - assuming usually
Progress
> 101b
>
> Progress:
>
> \\servername\epicor\oe101b\bin\prowin32.exe
> <file:///\\servername\epicor\oe101b\bin\prowin32.exe>
>
> MFGSYS.pf file (parameter file for connecting to your database)
>
> \\servername\epicor\mfgsys803\server\config\mfgsys.pf
>
> Example of a pf file -
>
> -Mm 4096 -mmax 65534 -Bt 5000 -s 215 -yy 1970 -stsh 31 -inp 32000 -
tok 4000
> -TB 31 -TM 32 -D 500 -l 1000 -ttmarshal 5
> -T c:\epicor\oe101b_wrk
> -db c:\epicor\mfgsys803\db\mfgsys
> -cpinternal utf-8 -cpstream utf-8 -cprcodein utf-8
>
> Program path - Example:
>
> \\servername\emods\part\serialinquiry.w
> <file:///\\servername\emods\part\serialinquiry.w>
>
> Menu maintenance:
>
> Main Menu -> System Management -> Utilities -> Menu Maintenance
>
> In menu maintenance, you need to add a menu (File, New),
>
> In addition to setting up the Menu ID, Menu Name, Security ID,
Order Seq,
> you need to set the Program Type to External Process and the Icon
to None.
>
> You will but in your startup parameters in the Program area and you
can test
> your code with the Test Button
>
> Listed below is an Example a startup in the program code
>
> \\servername\epicor\oe101b\bin\prowin32.exe
> <file:///\\servername\epicor\oe101b\bin\prowin32.exe> -pf
> \\servername\epicor\mfgsys803\config\mfgsys.pf
> <file:///\\servername\epicor\mfgsys803\config\mfgsys.pf%20-p%20
\servername\e
> mods\part\serialinquiry.w> -p
\servername\emods\part\serialinquiry.w -U
> sysprogress -P sysprogress
>
> The -p is the program name
> The -U and -P are used for security - may not be needed
>
> You could but all the code in a bat file
(\\servername\emods\prgm.bat
> <file:///\\servername\emods\prgm.bat> ) but you will get a black
screen
> (flash) before the program starts
>
> I have also combined the pf and program info together as a custom
pf file -
> prgm-serial.pf and then started as
>
> \\servername\epicor\oe101b\bin\prowin32.exe
> <file:///\\servername\epicor\oe101b\bin\prowin32.exe> -pf
> \\servername\emods\prgm-serial.pf
> <file:///\\servername\emods\prgm-serial.pf>
>
> As you can see, you need to understand Progress and there are a lot
of ways
> to Get it Done!
>
> You could also put the above information in a Desktop Shortcut
Icon.
>
> Carl Peterson
> cpeterson@...
> www.cpeterson@...
> 1-734-453=3101
>
>
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> Charlie Wilson
> Sent: Monday, November 10, 2008 7:31 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] Call Progress Program From V8 Menu
>
> Do you put all this in a Batch file and run it?
>
> _____
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%
40yahoogroups.com> ] On
> Behalf Of
> Carl Peterson
> Sent: Friday, November 07, 2008 8:54 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: RE: [Vantage] Call Progress Program From V8 Menu
>
> You can also call a Progress program from an icon on your desktop -
that
> would connect to your database and execute the program.
>
> This works well if you want to run the program from your desk top.
>
> Create a shortcut and then put the progress, db, and program name
in the
> properties
>
> An example
>
> \\server\epicor\oe101b\bin\prowin32.exe
> <file:/// <file:///\\> <file:/// <file:///\\> \\>
> \\server\epicor\oe101b\bin\prowin32.exe> -db
> \\server\epicor\train803\db\mfgsys
> <file:/// <file:///\\> <file:/// <file:///\\> \\>
> \\server\epicor\train803\db\mfgsys> -H nexus -S 8310
> -N TCP -p
> \\server\emods\program-name.p <file:/// <file:///\\> <file:///
<file:///\\>
> \\>
> \\server\emods\program-name.p> -U
> sysprogress -P sysprogress
>
> -H is your host name - usually your server name
> -S is your database port number
> -N is your network - usually always TCP
> -p is your Progress program name -
>
> Carl Peterson
>
> From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> [mailto:vantage@yahoogroups <mailto:vantage%
40yahoogroups.com> .com] On
> Behalf Of
> markewhittaker
> Sent: Friday, November 07, 2008 8:31 AM
> To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> Subject: [Vantage] Call Progress Program From V8 Menu
>
> Has anyone figured out a way to run a Progress program from V8? I
have
> a couple of programs that I did in 6.1 that I was able to add to
the
> menu and allow users to run them, but I can't get it to work with
V8.
> Spoke to Epicor and they said there was no way to do it. I just
> wondered if anyone here had found a way to make it happen.
>
> [Non-text portions of this message have been removed]
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.175 / Virus Database: 270.8.6/1766 - Release Date:
11/7/2008
> 9:08 AM
>
> [Non-text portions of this message have been removed]
>
>
>
> [Non-text portions of this message have been removed]
>
Has anyone figured out a way to run a Progress program from V8? I have
a couple of programs that I did in 6.1 that I was able to add to the
menu and allow users to run them, but I can't get it to work with V8.
Spoke to Epicor and they said there was no way to do it. I just
wondered if anyone here had found a way to make it happen.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
markewhittaker
Sent: Friday, November 07, 2008 8:31 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Call Progress Program From V8 Menu

It can be done - you have to use the full path to execute Progress, the
parameters, the name of the program, and user and password information

You may have to do it from favorites because there may not be enough room in
a menu to fit the entire script.

I will supply an exact example later today.

It would look something like this

\\server\epicor\oe101b\bin\prowin32.exe -db
\\server\epicor\train803\db\mfgsys -H nexus -S 8310 -N TCP -p
\\server\emods\program-name.p <file:///\\server\emods\program-name.p> -U
sysprogress -P sysprogress

-H is your host name - usually your server name
-S is your database port number
-N is your network - usually always TCP
Has anyone figured out a way to run a Progress program from V8? I have
a couple of programs that I did in 6.1 that I was able to add to the
menu and allow users to run them, but I can't get it to work with V8.
Spoke to Epicor and they said there was no way to do it. I just
wondered if anyone here had found a way to make it happen.



[Non-text portions of this message have been removed]
You can also call a Progress program from an icon on your desktop - that
would connect to your database and execute the program.

This works well if you want to run the program from your desk top.

Create a shortcut and then put the progress, db, and program name in the
properties

An example


\\server\epicor\oe101b\bin\prowin32.exe
<file:///\\server\epicor\oe101b\bin\prowin32.exe> -db
\\server\epicor\train803\db\mfgsys
<file:///\\server\epicor\train803\db\mfgsys> -H nexus -S 8310 -N TCP -p
\\server\emods\program-name.p <file:///\\server\emods\program-name.p> -U
sysprogress -P sysprogress

-H is your host name - usually your server name
-S is your database port number
-N is your network - usually always TCP
-p is your Progress program name -

Carl Peterson


From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
markewhittaker
Sent: Friday, November 07, 2008 8:31 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Call Progress Program From V8 Menu

Has anyone figured out a way to run a Progress program from V8? I have
a couple of programs that I did in 6.1 that I was able to add to the
menu and allow users to run them, but I can't get it to work with V8.
Spoke to Epicor and they said there was no way to do it. I just
wondered if anyone here had found a way to make it happen.



[Non-text portions of this message have been removed]
Do you put all this in a Batch file and run it?





_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Carl Peterson
Sent: Friday, November 07, 2008 8:54 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Call Progress Program From V8 Menu



You can also call a Progress program from an icon on your desktop - that
would connect to your database and execute the program.

This works well if you want to run the program from your desk top.

Create a shortcut and then put the progress, db, and program name in the
properties

An example


\\server\epicor\oe101b\bin\prowin32.exe
<file:/// <file:///\\> \\server\epicor\oe101b\bin\prowin32.exe> -db
\\server\epicor\train803\db\mfgsys
<file:/// <file:///\\> \\server\epicor\train803\db\mfgsys> -H nexus -S 8310
-N TCP -p
\\server\emods\program-name.p <file:/// <file:///\\>
\\server\emods\program-name.p> -U
sysprogress -P sysprogress

-H is your host name - usually your server name
-S is your database port number
-N is your network - usually always TCP
-p is your Progress program name -

Carl Peterson


From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf Of
markewhittaker
Sent: Friday, November 07, 2008 8:31 AM
To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
Subject: [Vantage] Call Progress Program From V8 Menu

Has anyone figured out a way to run a Progress program from V8? I have
a couple of programs that I did in 6.1 that I was able to add to the
menu and allow users to run them, but I can't get it to work with V8.
Spoke to Epicor and they said there was no way to do it. I just
wondered if anyone here had found a way to make it happen.


[Non-text portions of this message have been removed]



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.6/1766 - Release Date: 11/7/2008
9:08 AM




[Non-text portions of this message have been removed]
There are several ways to run a Progress program from a V8 menu.

You will need to know the paths of the following - assuming usually Progress
101b

Progress:

\\servername\epicor\oe101b\bin\prowin32.exe
<file:///\\servername\epicor\oe101b\bin\prowin32.exe>

MFGSYS.pf file (parameter file for connecting to your database)

\\servername\epicor\mfgsys803\server\config\mfgsys.pf

Example of a pf file -

-Mm 4096 -mmax 65534 -Bt 5000 -s 215 -yy 1970 -stsh 31 -inp 32000 -tok 4000
-TB 31 -TM 32 -D 500 -l 1000 -ttmarshal 5
-T c:\epicor\oe101b_wrk
-db c:\epicor\mfgsys803\db\mfgsys
-cpinternal utf-8 -cpstream utf-8 -cprcodein utf-8

Program path - Example:

\\servername\emods\part\serialinquiry.w
<file:///\\servername\emods\part\serialinquiry.w>

Menu maintenance:

Main Menu -> System Management -> Utilities -> Menu Maintenance

In menu maintenance, you need to add a menu (File, New),

In addition to setting up the Menu ID, Menu Name, Security ID, Order Seq,
you need to set the Program Type to External Process and the Icon to None.

You will but in your startup parameters in the Program area and you can test
your code with the Test Button

Listed below is an Example a startup in the program code

\\servername\epicor\oe101b\bin\prowin32.exe
<file:///\\servername\epicor\oe101b\bin\prowin32.exe> -pf
\\servername\epicor\mfgsys803\config\mfgsys.pf
<file:///\\servername\epicor\mfgsys803\config\mfgsys.pf%20-p%20\servername\e
mods\part\serialinquiry.w> -p \servername\emods\part\serialinquiry.w -U
sysprogress -P sysprogress

The -p is the program name
The -U and -P are used for security - may not be needed

You could but all the code in a bat file (\\servername\emods\prgm.bat
<file:///\\servername\emods\prgm.bat> ) but you will get a black screen
(flash) before the program starts

I have also combined the pf and program info together as a custom pf file -
prgm-serial.pf and then started as

\\servername\epicor\oe101b\bin\prowin32.exe
<file:///\\servername\epicor\oe101b\bin\prowin32.exe> -pf
\\servername\emods\prgm-serial.pf
<file:///\\servername\emods\prgm-serial.pf>

As you can see, you need to understand Progress and there are a lot of ways
to Get it Done!

You could also put the above information in a Desktop Shortcut Icon.

Carl Peterson
cpeterson@...
www.cpeterson@...
1-734-453=3101





From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Charlie Wilson
Sent: Monday, November 10, 2008 7:31 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Call Progress Program From V8 Menu

Do you put all this in a Batch file and run it?

_____

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Carl Peterson
Sent: Friday, November 07, 2008 8:54 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Call Progress Program From V8 Menu

You can also call a Progress program from an icon on your desktop - that
would connect to your database and execute the program.

This works well if you want to run the program from your desk top.

Create a shortcut and then put the progress, db, and program name in the
properties

An example

\\server\epicor\oe101b\bin\prowin32.exe
<file:/// <file:///\\> <file:/// <file:///\\> \\>
\\server\epicor\oe101b\bin\prowin32.exe> -db
\\server\epicor\train803\db\mfgsys
<file:/// <file:///\\> <file:/// <file:///\\> \\>
\\server\epicor\train803\db\mfgsys> -H nexus -S 8310
-N TCP -p
\\server\emods\program-name.p <file:/// <file:///\\> <file:/// <file:///\\>
\\>
\\server\emods\program-name.p> -U
sysprogress -P sysprogress

-H is your host name - usually your server name
-S is your database port number
-N is your network - usually always TCP
-p is your Progress program name -

Carl Peterson

From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf Of
markewhittaker
Sent: Friday, November 07, 2008 8:31 AM
To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
Subject: [Vantage] Call Progress Program From V8 Menu

Has anyone figured out a way to run a Progress program from V8? I have
a couple of programs that I did in 6.1 that I was able to add to the
menu and allow users to run them, but I can't get it to work with V8.
Spoke to Epicor and they said there was no way to do it. I just
wondered if anyone here had found a way to make it happen.

[Non-text portions of this message have been removed]

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.6/1766 - Release Date: 11/7/2008
9:08 AM

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]