Explain about LMPUT-

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


Please Help Members By Posting Answers For Below Questions

Are there any set of rules for the names of the steps used in a job? What are they?

606


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

788


what are JCLLIB and STEPLIB in JCL?

665


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

846


define cond parameter in jcl?

763






when can a job time-out occur? How to overcome that?

740


whats the diff bw the evaluate also and and?

1841


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

773


How does jcl act on code(if you take a cobol program)?

698


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1576


What does a disposition of (MOD,DELETE,DELETE) mean ?

658


How to submit a jcl from cics?

653


what are the statements that are not valid to be included in an include statement?

767


What is the use of disp parameter?

643


which utility is used to run a cobol-db2 program?

796