executing opearating system commands from a 4gl program
Posted in 2003
Juan Ignacio Carbajal Rivera asked for a 4GL equivalent of the SPL SYSTEM command for running OS commands. Paul Watson asked whether to run without waiting. Michael Krzepkowski said any OS command or 4GL program can be run. Paul said he knew of no non-waiting option and suggested C. Stefan Weideneder noted a 'without waiting' option exists and asked about a wait(pid) command; unanswered.
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Security, Permissions & Auditing
Hello: I've discovered a great utility which executes OS commands from a procedure(SYSTEM is the one). I wonder is there something similar but for a 4gl program instead?. REGARDS *********************************** Juan I Carbajal R. AUDITOR DE FRAUDE INTERNACIONAL INTERNATIONAL FRAUD AUDITOR RADIOMOVIL DIPSA SA de CV AV Ej'rcito NAL #488 Col. Polanco 011(52)55-56253700 ext 2489
Run [without waiting] ? Juan Ignacio Carbajal Rivera wrote: > > Hello: > I've discovered a great utility which executes OS commands from a > procedure(SYSTEM is the one). > I wonder is there something similar but for a 4gl program instead?. > REGARDS > > *********************************** > Juan I Carbajal R. > AUDITOR DE FRAUDE INTERNACIONAL > INTERNATIONAL FRAUD AUDITOR > RADIOMOVIL DIPSA SA de CV > AV Ej'rcito NAL #488 Col. Polanco > 011(52)55-56253700 ext 2489 -- Paul Watson # Oninit Ltd # Growing old is mandatory Tel: +44 1436 672201 # Growing up is optional Fax: +44 1436 678693 # Mob: +44 7818 003457 # www.oninit.com #
Since you can run any O/S command you can run any 4gl program too. If you are in a compiled 4GL just run myprogram.4ge (or whatever it is) or in RDS use "fglgo myprogram" HTH Michael Juan Ignacio Carbajal Rivera wrote: >Hello: >I've discovered a great utility which executes OS commands from a >procedure(SYSTEM is the one). >I wonder is there something similar but for a 4gl program instead?. >REGARDS > > >*********************************** >Juan I Carbajal R. >AUDITOR DE FRAUDE INTERNACIONAL >INTERNATIONAL FRAUD AUDITOR >RADIOMOVIL DIPSA SA de CV >AV Ej'rcito NAL #488 Col. Polanco >011(52)55-56253700 ext 2489 > > >
Stefan Weideneder wrote: > > Hi Paul, > > "without waiting" is an option. Thank you for > that new input. > Without reading the manual: Is there a command > which performs the "wait(pid)", too ? Isn't the same as RUN <cmd> Anyway not that I'm aware of, if you want to do that then I'd suspect you are off to C land. > > Regards > > Stefan > > Paul Watson wrote: > > > Run [without waiting] ? > > > Juan Ignacio Carbajal Rivera wrote: > >> > >> Hello: > >> I've discovered a great utility which executes OS commands from a > >> procedure(SYSTEM is the one). > >> I wonder is there something similar but for a 4gl program instead?. > >> REGARDS > >> > >> *********************************** > >> Juan I Carbajal R. > >> AUDITOR DE FRAUDE INTERNACIONAL > >> INTERNATIONAL FRAUD AUDITOR > >> RADIOMOVIL DIPSA SA de CV > >> AV Ej'rcito NAL #488 Col. Polanco > >> 011(52)55-56253700 ext 2489 > > -- Paul Watson # Oninit Ltd # Growing old is mandatory Tel: +44 1436 672201 # Growing up is optional Fax: +44 1436 678693 # Mob: +44 7818 003457 # www.oninit.com #
Hi Paul, "without waiting" is an option. Thank you for that new input. Without reading the manual: Is there a command which performs the "wait(pid)", too ? Regards Stefan Paul Watson wrote: > Run [without waiting] ? > Juan Ignacio Carbajal Rivera wrote: >> >> Hello: >> I've discovered a great utility which executes OS commands from a >> procedure(SYSTEM is the one). >> I wonder is there something similar but for a 4gl program instead?. >> REGARDS >> >> *********************************** >> Juan I Carbajal R. >> AUDITOR DE FRAUDE INTERNACIONAL >> INTERNATIONAL FRAUD AUDITOR >> RADIOMOVIL DIPSA SA de CV >> AV Ejᅵrcito NAL #488 Col. Polanco >> 011(52)55-56253700 ext 2489 >