Hi Guys,
I'm having trouble with a script that uses 2 procedures in startup.
The main procedure creates the aliases from the session to second procedure uses them to run the program.
Example:
C:\dlc10\bin\prowin32.exe -b -ininame "C:\temp\progress.ini" -pf "c:\temp\progress.pf" -p "c:\temp\alias.p" -p grap\grap0020.p
Issue: Client doesn't read the alias.p file.
If you specify a parameter more than once on the command line, the last one is used and the others are ignored. You can have only one start procedure. That makes sense, if you think about it.
If you want alias.p to run, it will have to be run by grap0020.p (or by one of its descendants).
Thank you Rob.
You can use the -param option to pass any parameters to the procedure specified after -p
Your first .p should then parse the string SESSION:PARAMETER and decide what to do.