Explain about LMCOPY -
1. The LMCOPY service copies members of a partitioned data set, or copies an entire sequential data set.
2. Completion of the LMINIT service is required before you can invoke LMCOPY.
3. You must specify ENQ(MOD) with the LMINIT service if you want to use LMCOPY to append records to the "to-data-id".
4.FROMID and TODATAID can refer to the same data set but they cannot have the same data-id.
5.LMCOPY does not support the copying of unmovable data sets
6.if from-data-id represents an empty sequential data set, LMCOPY performs the copy but sets the return code to 4 as a warning.
>>-ISPEXEC--LMCOPY--FROMID(from-data-id)------------------------>
>--+---------------------------+--TODATAID(to-data-id)---------->
'-FROMMEM(from-member-name)-'
>--+-----------------------+------------------------------------>
'-TOMEM(to-member-name)-'
>--+---------+--+------+--+-------+--+------+------------------->
'-REPLACE-' '-PACK-' '-TRUNC-' '-LOCK-'
.-ALIAS---.
>--+------------------+--+---------+---------------------------><
'-SCLMSET(-+-Y-+-)-' '-NOALIAS-'
'-N-'
| Is This Answer Correct ? | 0 Yes | 0 No |
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
Name the system library from which modules are retrieved at execution
Is condition checking possible in jcl?
What is the function of dd disp parameter?
Please give me the coding for converting VB to FB and FB to VB
What is the motivation behind coding class parameter in job statement?
Which is the most widely used batch performance monitor for DB2?
What is the purpose of dd * statement in jcl?
What is Uncatalog dataset? How can we access/use them?
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?
What is one line to pass PARM from JCL to COBOL?
What will happen if we write two STOP RUN's in a COBOL program?