Accessing resources

When reading SMPCSI data sets, it is possible one or more data sets are unavailable for use by GIMXSID because the data sets are being used by another SMP/E task. If so, GIMXSID waits for the data sets to become available based on the value of the WAIT option (see Calling GIMXSID).

If a global zone data set or a target zone data set is not available, then GIMXSID will wait until the data set is available, or until the number of minutes specified on the WAIT option have elapsed (or 60 minutes by default). During the WAIT time, GIMXSID attempts to read the data set every 30 seconds, just in case it becomes available. If the specified number of minutes elapses and one or more of the data sets are still not available, processing stops.

If WAIT=0MIN was specified, GIMXSID does not wait for SMPCSI data sets to become available. The initial attempt is made to access the data sets, and if they are not available, GIMXSID does not wait or make additional access attempts.

The number of minutes specified on the WAIT option (or defaulted) is the total time GIMXSID waits for all data sets. For example, if WAIT=60MIN was specified and the first SMPCSI data set causes a wait of 40 minutes, GIMXSID waits only a maximum of 20 additional minutes for all subsequent SMPCSI data sets.