I have 4 batch processes that begin to run at the same time. They all read from and write to a properties file. So the properties file looks like this (with the values changing everyday, of course):
Batch1Date=20040809
Batch2Date=20040729
Batch3Date=20040808
Batch4Date=20040808
These wont have to be in this same order. But my question is, if more than one batch process tries to write to this properties file at the same time, will there be problems? I just need to make sure no writing is lost or no previous value is retained because of concurrent access and unavailability of the file for writing by a batch process.
I cant run batch for the timebeing and so I cant test this myself. Thanks for any help.
Batch1Date=20040809
Batch2Date=20040729
Batch3Date=20040808
Batch4Date=20040808
These wont have to be in this same order. But my question is, if more than one batch process tries to write to this properties file at the same time, will there be problems? I just need to make sure no writing is lost or no previous value is retained because of concurrent access and unavailability of the file for writing by a batch process.
I cant run batch for the timebeing and so I cant test this myself. Thanks for any help.