Friday, January 20, 2012

Appending to ISPF Clipboard

Scenario:

I have a dataset with 10,000 lines. I want to cut the first 10 lines and last 10 lines and paste into another dataset. When I cut the first 10 lines and then again the last 10 lines, only the last 10 lines are pasted into the new dataset.

Is there anyway out (other than doing a 2 cut & paste)?

Yes, here it is.

  1. First cut 10 lines, then issue CUT APPEND.

  2. Cut last 10 lines, then issue CUT APPEND.

  3. When you PASTE it, you got both.

No comments:

Post a Comment