Answer Posted / dimpy19
1.The LMPUT service writes one logical record to the data set associated with a given data ID.
2.The first LMPUT writes the first logical record to the data set, and later invocations write succeeding records.
3.The LMINIT service with ENQ(EXCLU), ENQ(SHRW), ENQ(MOD), and the LMOPEN service with the OUTPUT option must be completed before you can use the LMPUT service.
4.In INVAR mode and MULTX mode, the data-location parameter variable contains the data itself.
In MOVE mode, the data-location parameter contains the address of the data to be written.
>>-ISPEXEC--LMPUT--DATAID(data-id)--MODE(-+-INVAR-+-)----------->
+-MOVE--+
'-MULTX-'
>--DATALOC(dataloc-var)--DATALEN(data-length)--+---------+-----><
'-NOBSCAN-'
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
in ways data can be passed to a COBOL program from JCL?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
How is a type of file defined in the jcl that executes the cobol program?
what are the statements that are not valid to be included in an include statement?
How can the attributes of one sms dataset be copied to another dataset?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How can an in-stream dataset be terminated?
What is the use of symbol // in jcl?
What do you understand by the term job time – out and how can you overcome that?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Explain the hierarchy levels in jcl?
What is one line to pass PARM from JCL to COBOL?
What is the function of the steplib dd statement?
which utility is used to sort a file in jcl?
List in order the hierarchical levels of jcl?