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

//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES

5 Answers   IBM,


Suppose there are 10 steps in a PROC, I want to execute only step5. How do you give the condition in the JCL that calls this PROC?

3 Answers   IBM,


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

1 Answers  


Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

8 Answers   Saggezza,


What are the kinds of job control statements?

3 Answers  






Explain how can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.

7 Answers   IBM,


What is job control language?

0 Answers  


How I sort the records in a file and copy the first 10 records to another file

5 Answers  


One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?

1 Answers   CTS,


How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

1 Answers   Tesco,


Categories