Page 1 of 1

Facing Problem in Copy/Paste

PostPosted: Wed Aug 06, 2014 10:53 am
by Alan1208
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

Re: Facing Problem in Copy/Paste

PostPosted: Wed Aug 06, 2014 11:28 am
by Akatsukami
This may be an emulator problem; what emulator do you use?

Re: Facing Problem in Copy/Paste

PostPosted: Wed Aug 06, 2014 11:53 am
by nevilh
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.

Re: Facing Problem in Copy/Paste

PostPosted: Wed Aug 06, 2014 3:46 pm
by Alan1208
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

Re: Facing Problem in Copy/Paste

PostPosted: Wed Aug 06, 2014 4:48 pm
by nevilh
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.

Re: Facing Problem in Copy/Paste

PostPosted: Wed Aug 06, 2014 5:05 pm
by BillyBoyo
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.

Re: Facing Problem in Copy/Paste

PostPosted: Wed Aug 06, 2014 5:35 pm
by Alan1208
@ 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