Explain about LMPUT-



Explain about LMPUT-..

Answer / 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

More JCL Interview Questions

how to compress the data set

8 Answers   Keane India Ltd,


wht is step lib n job lib ? where can we code joblib n steplib ?

3 Answers   L&T,


How can the submitting users racf authority be overridden in a job stream?

0 Answers  


What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?

2 Answers   Patni,


Max generations in GDG??

15 Answers   Xansa,






When space is allocated for an output dataset, what units can be used?

0 Answers  


On the DD statement, what is the main difference between creating a new sequential flat file and a partitioned dataset?

2 Answers  


i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes

3 Answers  


write a jcl to execute a job by 7:00 am on jan 20,1986?

0 Answers   IBM,


In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?

3 Answers  


suppose i have 10 job steps and i want to execute only step 6.How to write?

6 Answers  


What is the purpose of the dd keylen parameter?

0 Answers  


Categories