Copying from notepad.



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Copying from notepad.

Postby VIJAY1 » Thu Oct 25, 2012 12:58 pm

Hello,
Is there a way by which i can copy the entire file from notepad into my ps?
Or should i just copy in intervals?

Thank you.
VIJAY1
 
Posts: 26
Joined: Sun Oct 21, 2012 2:49 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Copying from notepad.

 

Re: Copying from notepad.

Postby Pandora-Box » Thu Oct 25, 2012 1:33 pm

You could file transfer the notepad from your machine to mainframe using File transfer
User avatar
Pandora-Box
 
Posts: 65
Joined: Fri Feb 10, 2012 8:30 pm
Location: Mars
Has thanked: 3 times
Been thanked: 6 times

Re: Copying from notepad.

Postby dick scherrer » Thu Oct 25, 2012 7:46 pm

Hello,

Is this now working?

If you get stuck, post back here and someone will be able to help.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Copying from notepad.

Postby steve-myers » Thu Oct 25, 2012 11:29 pm

I've been able to copy a few lines from notepad to ISPF EDIT in a TSO session running in a terminal emulator window, but only a screen at a time. For something longer, you want to do a file transfer, as premkrishnan says.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: Copying from notepad.

Postby dick scherrer » Thu Oct 25, 2012 11:50 pm

Hello,

Yup, copy/paste is a pain for anything more than a few lines . . . ;)

Lately, everywhere i've been the mainframe runs an ftp server and all of the client pc's have tcp/ip. Using the ftp client on the pc should do just fine.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Copying from notepad.

Postby VIJAY1 » Fri Oct 26, 2012 12:00 am

Thank you. I ll definitely try it.I dont have a mainframe access now.I ll post if something doesnt work fine.
I just love this forum.For a beginner like me its a paradise..:)
VIJAY1
 
Posts: 26
Joined: Sun Oct 21, 2012 2:49 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Copying from notepad.

Postby VIJAY1 » Fri Oct 26, 2012 2:55 pm

But when ever i try to copy I get an acknowledgement saying lost connection with host..Why would that happen?
VIJAY1
 
Posts: 26
Joined: Sun Oct 21, 2012 2:49 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Copying from notepad.

Postby enrico-sorichetti » Fri Oct 26, 2012 3:15 pm

But when ever i try to copy I get an acknowledgement saying lost connection with host..Why would that happen?


usually brutal CUT and PASTE from a PC thing to a 3270 screen
will behave quite unpredictably

generally entering in the 3270 screen odd chars
and that will result usually in session errors and loss of the host connection
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Copying from notepad.

Postby dick scherrer » Fri Oct 26, 2012 7:49 pm

Hello,

Have you tried to ftp the file?

If not, do so and let us know what happens. If there is some problem using ftp, do NOT say "it didn't work". You need to provide the specifics if someone here is to be able to help.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Copying from notepad.

Postby VIJAY1 » Fri Oct 26, 2012 8:56 pm

IND$FILE PUT 'TRH292.A.RV.TEXT(VIJAYAMF) RECFM(V)
this is what i get everytime when i copy.My pds is VB.
VIJAY1
 
Posts: 26
Joined: Sun Oct 21, 2012 2:49 pm
Has thanked: 3 times
Been thanked: 0 time

Next

Return to IBM Cobol