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
What is the use of disp parameter?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Explain the function of //jcllib statement?
I need exexution process for JCL programs
Explain how can the submitting users racf authority be overridden in a job stream?
How to do automated restart when a job abend?
what sort card you will use to copy the data from one dataset to another dataset?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
How to override loadlib?
What happens if both JOBLIB & STEPLIB is specified ?
define cond parameter in jcl?
List the various advantages of using jcl language?
Are there any set of rules for the names of the steps used in a job? What are they?
What are the rules employed while naming the steps in a job?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed