You can copy specific records from one sequential data set or member to another. Using the SMCOPY command, specify:
___ Example ____________________________________________________________
| To copy the first five records of text from the member MEM1 of |
| PREFIX.PDS1.DATA to MEM2 of PREFIX.PDS2.DATA, specify: |
| |
| SMCOPY FDS(pds1.data(mem1)) LINE(1:5) TDS(pds2.data(mem2)) NOTRANS |
| |
|________________________________________________________________________|
You cannot use the LINE operand to copy specific line numbers within a numbered data set. The system treats the numbers you specify as offsets from the beginning of the data set.
For more information about the SMCOPY command, see Chapter 18, "Session Manager" in topic 4.2 and OS/390 TSO/E Command Reference.
© Copyright IBM Corp. 1988, 2000
Return to library: [ OS/390 | TPF | VM | VSE | IBM Hardware | S/390 Redbooks | RS/6000 SP ]
Glossary - IBM Dictionary of Computing
How to: [ Order publications | Contact OS/390 ]