Explain about LMMFIND - find a library member



Explain about LMMFIND - find a library member..

Answer / dimpy19

1. finds a specified member of an ISPF library or partitioned data set associated with a given data ID.
2.The LMINIT and LMOPEN services must be completed before LMMFIND can be used.
3.Whether statistics for the member are to be returned to the dialog invoking the service.
If you specify NO, no statistics are returned. If you specify YES and the data ID represents a data set that has unformatted records (RECFM=U),
the statistics are returned in these dialog variables:
a.ZLC4DATE :Creation date in 4-character year format;
b.ZLCDATE :Creation date
c.ZLCNORC :current number of records
d.ZLINORC :begining number of records
e.ZLMOD :modification level
f.ZLMSEC :second value of last change time
g.ZLMTIME :Last change time;
h.ZLUSER :user id used to do change
i.ZLVERS :version number



>>-ISPEXEC--LMMFIND--DATAID(data-id)--MEMBER(member-name)------->

>--+------+--+------------------+--+------------------+--------->
'-LOCK-' '-LRECL(lrecl-var)-' '-RECFM(recfm-var)-'

>--+------------------+--+------------------+--+-------+-------><
'-GROUP(group-var)-' | .-NO--. | '-NOLLA-'
'-STATS(-+-YES-+-)-'

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

0 Answers  


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

2 Answers  


what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......

2 Answers  


which statement is used to end the in-stream procedure in a jcl?

1 Answers   IBM,


i have 6 steps in my jcl program after going to 5th step i want to execute 3rd step.....how can i do it....by using(RESTART) can i do it or not?

2 Answers   Wipro,






What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


What is jcl in mainframe?

0 Answers  


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


What is Uncatalog dataset? How can we access/use them?

1 Answers  


If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?

2 Answers   IBM,


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

8 Answers  


Explain how can a jobs execution priority be modified?

0 Answers  


Categories