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

Does jcl support automatic restart?

0 Answers  


I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


How to print data of sequential file to Spool..?

2 Answers  


What is the function of the steplib dd statement?

0 Answers  


How to search strings in multiple dataset with conditions 'string1 & string2'?

1 Answers   IBM,






What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?

2 Answers  


01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

1 Answers  


wht r different types of sorts ?

1 Answers   L&T,


01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

1 Answers  


Describe the various parameters utilized in the creation of a gdg?

0 Answers  


Explain about LMGET�read a logical record from a data set

1 Answers  


Is their any limit for data sets?

0 Answers  


Categories