Explain about LMGET�read a logical record from a data set
1.The LMGET service reads one logical record from the data set associated with the given data ID.
2.Completion of the LMINIT and LMOPEN services for the data set is required before LMGET is invoked.
3.If the data to be processed is a sequential data set, the first LMGET reads the first logical record. Later invocations read successive logical records
4.If the data is an ISPF library or MVS� partitioned data set, previous completion of the LMMFIND service is required in addition to completion of LMINIT and LMOPEN.
The LMGET service reads from the last member referred to by the LMMFIND service in the data sets being processed. Thus, if LMMFIND is issued referencing member A,
LMGET reads from member A. If another LMMFIND is issued referencing member B, LMGET reads from member B, not member A.
>>-ISPEXEC--LMGET--DATAID(data-id)--MODE(-+-MOVE---+-)---------->
+-LOCATE-+
+-INVAR--+
'-MULTX--'
>--DATALOC(dataloc-var)--DATALEN(datalen-var)------------------->
>--MAXLEN(max-length)------------------------------------------><
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we change the LIMIT of GDG?
When cursor is not closed what is the error?
How can I override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL.
wht r different types of sorts ?
I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?
Can anyone tell me the syntax for printing two files at two different destinations in a single step?
a dd statement has 2 types of parameters. Name them?
when does a dataset go uncataloged?
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly
can anyone explain me about sort in jcl with inrec and outrec ?
describe the dd statement,its meaning,syntax and keywords?
Is Default for MSGCLASS = (1,1) ?