Facing Problem in Copy/Paste



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Facing Problem in Copy/Paste

Postby Alan1208 » Wed Aug 06, 2014 10:53 am

Hi All,

I started facing below problem from last couple of weeks.

When I try to copy and paste a block of code, it continues to line nos as shown -->

000001 ABCDEF
000002 GHIJKL
000003
000004 *

I Insert 2 lines and try to copy paste first 2 values, it goes to line no.-->

000001 ABCDEF
000002 GHIJKL
000003 ABCDEF
GHIJKL

I tried to check all Properties through edit option but all seems ok. Please help me out.

Thanks
Alan
Alan1208
 
Posts: 10
Joined: Tue Aug 05, 2014 1:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Facing Problem in Copy/Paste

Postby Akatsukami » Wed Aug 06, 2014 11:28 am

This may be an emulator problem; what emulator do you use?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Facing Problem in Copy/Paste

Postby nevilh » Wed Aug 06, 2014 11:53 am

Normally you see this if you have put the terminal into DOC mode

Entry assist feature in 3270 display session

The Entry Assist (DOC mode) features enable easier editing of text documents. The Entry Assist features are available only for 3270 display sessions.

Enabling DOC mode

Enabling DOC mode The Entry Assist features can be enabled by adding the keyword Docmode=Y to the .WS session profile. Set Docmode=N to disable Entry Assist.

When Entry Assist is enabled, the DOC indicator is displayed in positions 67, 68, and 69 of the Operator Information Area (OIA). Also, all the pasting functions on the Paste tab are ignored (see Pasting in DOC mode).

You can assign the mode toggle to a keyboard key or button in the Popup Keypad. The default key assignment for DOC mode is Alt+F1.
nevilh
 
Posts: 39
Joined: Wed Jun 01, 2011 8:28 pm
Has thanked: 0 time
Been thanked: 3 times

Re: Facing Problem in Copy/Paste

Postby Alan1208 » Wed Aug 06, 2014 3:46 pm

Thanks for your Reply..

@ Akatsukami

I am using zSeries System HOST with TN3270.

@ nevilh

I am so sorry, I could not understand much from your post, Can you please elaborate it.

Thanks
Alan
Alan1208
 
Posts: 10
Joined: Tue Aug 05, 2014 1:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Facing Problem in Copy/Paste

Postby nevilh » Wed Aug 06, 2014 4:48 pm

Basically if you look at the Bottom of your screen on the Right Hand side if you see the word DOC followed by an arrow pointing down your screen is in DOC mode and this causes strange results when you PASTE things.
To get out of DOC mode enter ALT+F1 and all should be ok.
nevilh
 
Posts: 39
Joined: Wed Jun 01, 2011 8:28 pm
Has thanked: 0 time
Been thanked: 3 times

Re: Facing Problem in Copy/Paste

Postby BillyBoyo » Wed Aug 06, 2014 5:05 pm

If your emulator supports Entry Assist/DOC mode, have a look at it. It was always fund, with word-hops, wraps, deletes, etc. By no means all emulators support it. It used to be a hardware-dependent thing (correct model of terminal controller) but I guess if supported, it will be software now.

However, a workaround for your problem is to use Text Entry mode in the editor when you want to paste. Go down to where you want the paste to arrive and type TE in the line-number area and press Enter. Then paste into the blank area that opens up, and press enter. You may need to do some minor adjustments afterwards.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Facing Problem in Copy/Paste

Postby Alan1208 » Wed Aug 06, 2014 5:35 pm

@ nevilh and BillyBoyo

Thank you so much !!!

@ nevilh

Perfect Nevilh --> I was getting that doc and Arrow, I pressed Alt + F1 --> It Worked ..I am able to paste it properly now w/o TE mode. Big Thanks.

@BillyBoyo --> Thanks Billy, actually I was using TE mode only for all pasting work, but i was not finding it comfortable for many scenarios. Thank you so much.

You both made my day..

Thanks
Alan
Alan1208
 
Posts: 10
Joined: Tue Aug 05, 2014 1:27 pm
Has thanked: 0 time
Been thanked: 0 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post