Explain about LMCLOSE�close a data set

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is use of dcb parameter in dd statement?

886


Is automatic restart possible in jcl? If yes, how?

741


How to execute 2nd and 4th steps among 5 steps in jcl proc?

858


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1816


What are the jcl procedures?

735






Can an individual step be restricted from using all the jobs allowed cpu time?

1125


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

706


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2327


What parameter directs the output of the job log dataset?

864


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

844


What is jcl in mainframe?

833


what happens in execution stage in job processing?

729


What are the difference between jcl and jes?

1146


Explain about LMQUERY�give a dialog information about a data set

992


Explain the function of the steplib dd statement?

722