![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I need to pass a return code from VFP to a DOS program which invoked the VFP program. The DOS software manages and schedules programs (a product called Control-M from BMC). Is it just a matter to return, say, -1 from VFP? Control-M monitors running programs and reports completion/late completion/failure/etc (it is, to all intent and purposes, a remote operator). Would such a DOS program pick up any field type returned? tia anthony shipley - Military Intelligence..... still an oxymoron! |
#2
| |||
| |||
|
|
I haven't tested this in several years, but Fox USED to properly set DOS ERRORLEVEL (for testing in .Bat files) to whatever your main program RETURNs. Dan "Anthony Shipley" <astech (AT) iinet (DOT) net.au> wrote in message news:b8c9kv4a9f67jgeleuktml12onu4mo1v85 (AT) 4ax (DOT) com... I need to pass a return code from VFP to a DOS program which invoked the VFP program. The DOS software manages and schedules programs (a product called Control-M from BMC). Is it just a matter to return, say, -1 from VFP? Control-M monitors running programs and reports completion/late completion/failure/etc (it is, to all intent and purposes, a remote operator). Would such a DOS program pick up any field type returned? tia anthony shipley - Military Intelligence..... still an oxymoron! |
![]() |
| Thread Tools | |
| Display Modes | |
| |