Explain about LMMLIST�list a library's members

Answer Posted / dimpy19

1.The LMMLIST service, when used with the LIST or SAVE option, creates a list of the first occurrence of all the members in an ISPF library,
a concatenated set of ISPF libraries, or an MVS� partitioned data set associated with the given data ID
2.You must complete the LMINIT and LMOPEN services before using LMMLIST. Use the LMMLIST FREE option to release the list storage space when it is not needed.
3.LIST|FREE|SAVE - These options determine the action performed by the LMMLIST service.
a.LIST : The first time that you invoke the LMMLIST service with the LIST option, it creates a member list for use by a dialog.
b.FREE : The FREE option specifies that the storage acquired to create the member list is to be freed.
C.SAVE : The SAVE option writes all member names in a list specified by the data ID to a data set.need use Group and Member for this.


>>-ISPEXEC--LMMLIST--DATAID(data-id)--+--------------------+---->
| .-LIST-. |
'-OPTION(-+-FREE-+-)-'
'-SAVE-'

>--+--------------------+--+------------------+----------------->
'-MEMBER(member-var)-' | .-NO--. |
'-STATS(-+-YES-+-)-'

>--+--------------+--+-------------------------+--+------+-----><
'-GROUP(group)-' '-PATTERN(member-pattern)-' '-LONG-'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to run cobol program using jcl?

648


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2166


i want to store 20 digits . how will u do it in cobol ?

858


How can return codes be tested before execution of a job step?

919


write a jcl to execute a job by 7:00 am on jan 20,1986?

697






Explain how can a stopped job be started again?

636


What is the syntax of JCL statement?

692


For what purpose steplib and joblib are used ?

685


Can we use DISP=SHR in output file in JCL

951


What is the function of //jcllib statement?

802


A dd statement consists of 4 fields. Name them?

926


Explain the function of //jcllib statement?

700


Name what parameter directs the output of the job log dataset?

557


Are there any set of rules for the names of the steps used in a job? What are they?

612


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

816