Explain about LMCLOSE�close a data set



Explain about LMCLOSE�close a data set..

Answer / dimpy19

If LMINIT is issued with an enqueue (ENQ) of SHRW and LMOPEN is issued with the OUTPUT option,
it is important that an LMCLOSE be issued when the dialog has finished processing the data set, since the DASD volume is reserved until LMCLOSE is invoked.

>>-ISPEXEC--LMCLOSE--DATAID(data-id)---------------------------><

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

How to concatenate different LRECL of files?

2 Answers   IBM,


What is model dataset label(Model DSCB)?

1 Answers  


How do you send the output of a COBOL program to a member of a PDS?

7 Answers  


can we modify the code in copy book? if it possible how to submit ofter the modification.

3 Answers   IBM, L&T,


Explain how can an in-stream dataset be terminated?

0 Answers  






Can we change the LIMIT of GDG?

6 Answers   HCL,


How do you submit JCL via a Cobol program?

4 Answers   IBM,


1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent

4 Answers   Mind Tree,


why do we use file-aid wht r the adv of using file-aid thn in ispf

7 Answers   HCL, Tech Mahindra,


Explain about Cobol Subroutines

1 Answers  


What is the difference between primary and secondary allocations for a dataset?

8 Answers  


Explain the hierarchy levels in jcl?

0 Answers  


Categories