Multiple remote job entry writing to the same dataset



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Multiple remote job entry writing to the same dataset

Postby MLK2348 » Wed Nov 15, 2023 3:55 am

I am generating multiple jobs with Natural remote job entry using an input dataset with a list of 300 objects. Each object is used in its own job and data is written to a single dataset on tape.

I want for each job to write to the same dataset. Do I need to insert time delays between each job submission to ensure the dataset will close? If I write to a DASD dataset with disp=(mod,catlg), do I have to know the total size to allocate at the time of creation? The amount of data will vary depending on the time of year so total size is hard to estimate.

Mel
MLK2348
 
Posts: 7
Joined: Tue Oct 24, 2023 1:06 am
Has thanked: 0 time
Been thanked: 0 time

Re: Multiple remote job entry writing to the same dataset

Postby willy jensen » Wed Nov 15, 2023 1:50 pm

DISP=MOD will allocate with exclusive access, so job2 will wait for job 1 to finish, before it gains access to the dataset. CTLG is not neccssary unless the dataset already exist and is uncataloged.
For fluctuating space requirements, you should look at at reasonable small primary allocation and a somewhat bigger secondary.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post