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 do you submit JCL via a Cobol program?

2 Answers   Cap Gemini,


what is a cataloged procedure ?

1 Answers   Xansa,


I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?

2 Answers   IBM,


Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) What is SPOOL and what is SPOOL FULL ? and how to direct the output of a Jobstep to SPOOL ?

3 Answers   IBM,


What does the keyword DCB mean and what are some of the keywords associated with it?

3 Answers   ITC Infotech,






What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

0 Answers   IBM,


How do you override a specific DDNAME/SYSIN in PROC from a JCL?

6 Answers   CTS,


What is primary allocation for a dataset?

4 Answers  


. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance

1 Answers  


What is Uncatalog dataset? How can we access/use them?

1 Answers  


wht do u mean by notify parameter, how can u give acess to multiple users ?

4 Answers   L&T,


For what purpose steplib and joblib are used ?

0 Answers  


Categories