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 |
How to DEBUG a JCL?
How can a fb file convert to vb file using sort program?
How many steps we can overide in the proc's?
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
delete rules in db2
Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?
What is the function of //cntl statement?
Why do you want to specify the REGION parameter in a JCL step?
For how long a job can be executed continuously in a mainframe ?
What is the use of DUMMY statement in the JCL? What is the use of DUMMY Utility in the JCL?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
what is a jcl?