Explain about LMPUT-
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 |
What is RESTART? How is it invoked?
Where can program checkpoints be stored for use in a restart?
How to send notification to multiple users through jcl???
Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly
Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx
How does jcl specify the job to the operating system?
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is the function of the steplib dd statement?
hi guys what r the diff types of procs in jcl? bye ramya
4 Answers ACS, Keane India Ltd,
There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?