It depends on how you allocate it.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
SUBSCRIBE IBM-MAIN Anonymous <[email protected]>
Sent: Tuesday, February 4, 2020 7:31 AM
To: [email protected]
Subject: Linear Datasets

Hi All,

I have a TASK-A that attaches TASK-B, and then waits for TASK-B to complete. 
TASK-B does the following,

1. Dynamically allocate a linear dataset.
2. Issue "DIV IDENTIFY" for the allocated DDNAME.
3. Issue "DIV ACCESS", and then "DIV MAP".

I believe at the end of TASK-B, I need not "UNMAP", "UNACCESS", "UNIDENTIFY", 
and deallocate the linear dataset as it will automatically be done as part of 
the task clean-up. Please let me know if my understanding is correct.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
  • Linear Datasets SUBSCRIBE IBM-MAIN Anonymous
    • Re: Linear Datasets Seymour J Metz

Reply via email to