DSENQSHR Parameter Example


Scenario1 -

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (META007),'PAWAN Y',DSENQSHR=ALLOW

Explaining Example -

The JOB statement specifies that for any file allocated for this job, the serialization may change to SHR. It depends on the DSENQSHR JES jobclass attribute value.

Scenario2 -

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP2 JOB (META007),'PAWAN Y',DSENQSHR=USEJC

Explaining Example -

The JOB statement specifies that for any file allocated in this job, the serialization may change to SHR. Also, it depends on the DSENQSHR JES jobclass attribute value.

Scenario3 -

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP3 JOB (META007),'PAWAN Y',DSENQSHR=DISALLOW

Explaining Example -

The JOB statement specifies that the serialization may not change to SHR for any file allocated for this job.