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
Are there any set of rules for the names of the steps used in a job? What are they?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
what are JCLLIB and STEPLIB in JCL?
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
define cond parameter in jcl?
when can a job time-out occur? How to overcome that?
whats the diff bw the evaluate also and and?
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?
How does jcl act on code(if you take a cobol program)?
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' ?
What does a disposition of (MOD,DELETE,DELETE) mean ?
How to submit a jcl from cics?
what are the statements that are not valid to be included in an include statement?
What is the use of disp parameter?
which utility is used to run a cobol-db2 program?