Copy a single at multiple places in ISPF.
Moderator: mickeydusaor
Copy a single at multiple places in ISPF.
Hi.
In ISPF when I edit a dataset and I need to copy a line from one place to another I do "C" copy and paste it using "a" at a location I want to. But if I have to copy it multiple time, I need to copy it multiple times, is there way to overcome this in ISPF? Please advise.
In ISPF when I edit a dataset and I need to copy a line from one place to another I do "C" copy and paste it using "a" at a location I want to. But if I have to copy it multiple time, I need to copy it multiple times, is there way to overcome this in ISPF? Please advise.
Thanks,
Anil
Anil
Re: Copy a single at multiple places in ISPF.
No. Or, at least, there wasn't. Try looking up 'K(eeP)'. I am not sure if that is what it does as it is 3 years since I last used a modern version of ISPF and I am not going to look up the manual as you can do that yourself.
Regards
Nic
Nic
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Copy a single at multiple places in ISPF.
With z/OS 2.1, I use the CUT primary command and PASTE primary command of ISPF to duplicate one or more lines of code multiple times.
- prino
- Registered Member
- Posts: 68
- Joined: Sun Jun 01, 2014 4:15 am
- Location: Vilnius, Lithuania
- Contact:
Re: Copy a single at multiple places in ISPF.
"C" on line to copy, "AK"/"BK" on all lines to copy to, and just "A"/"B" on the last of them.
Re: Copy a single at multiple places in ISPF.
No keep did not work for me. Thanks though.
Thanks,
Anil
Anil
Re: Copy a single at multiple places in ISPF.
The 'K' is for Keep, so you did not look hard enough.
Regards
Nic
Nic
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute