Execution Time Of a Batch Program

rash

Member
Progress: 9.1E
Qad Mfg/pro : eb21sp7
Environment: Character

There are two batch programs prg1 & prg2.
I need to execute prg2 just after the execution of prg1 gets done.
Could anyone help me how to achieve this?

Regards,
Rash
 

rzr

Member
I'm not familiar with MFGPro architecture and how things get done in MFGPro but a generic solution to your situation would be to:


1. Write a wrapper program that first calls prg1 then prg2.
2. If execution of prg2 is dependent on "successful" execution of prg1 then you need to roll out error handling as well.
3. finally trigger the wrapper program from your batch setup / unix shell / windows scheduler depending on how batch works currently in your application
 

Nikhil Limaye

New Member
Solution will depend on what is prg1 doing. If it is supposed to commit something on the DB and based on successful commit prg2 is to be triggered then above solutions won't help. Can you please specify more details?
 
Top