Kbase P148438: Example ABL code to retrieve return value of ABL procedure
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/23/2009 |
|
Status: Unverified
GOAL:
Example ABL code to retrieve return value of ABL procedure
GOAL:
How to run a ABL client in batch mode and redirect the return value into a text file
GOAL:
How to start a procedure by command line and retrieve the return value
FACT(s) (Environment):
Progress/OpenEdge Product Family
Windows
FIX:
Command line:
prowin32 -b -p batch.p > test.txt
ABL code (contents of batch.p) :
MESSAGE TODAY String(time,"hh:mm:ss") " BATCH test" VIEW-AS ALERT-BOX.
Results (contents of text.txt) :
06/23/09 11:43:28 BATCH test