¿ªÔÆÌåÓý

Two WC3270 questions.


 

Hi,

I know on VM/CE you issue the IND$FILE GET | PUN fn ft fm? What do you do on the Windows side?

I've noticed a File and Options line, but can't get anything to work (e.g. I click on File or Option and nothing occurs).? How do I get File and Option to work?

Thank you,

Bertram / WB8ERT


 

¿ªÔÆÌåÓý

You don¡¯t do anything on VM. I assume you are using Windows/10 or 11?

The problem is Windows is capturing the keystrokes and mouse clicks. You can try hitting ¡°esc¡± and typing ¡°transfer¡±.

If you want to be able to activate the menu click on the small picture of the screen , click ¡°properties¡± and make sure you clear the ¡°quick edit¡± option.

?

Dave.

?

From: [email protected] <[email protected]> On Behalf Of Bertram Moshier
Sent: 15 November 2022 09:11
To: [email protected]
Subject: [h390-vm] Two WC3270 questions.

?

Hi,

?

I know on VM/CE you issue the IND$FILE GET | PUN fn ft fm? What do you do on the Windows side?

?

I've noticed a File and Options line, but can't get anything to work (e.g. I click on File or Option and nothing occurs).? How do I get File and Option to work?

?

Thank you,

?

Bertram / WB8ERT


 

Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer canceled.

I tried several different Windows files.? Examples are:? D:\Users\Bertr\Programming\template.exec? and C:\1.2

I also tried with administration mode turned on for the WC3270 session.

On Windows the file is:

?Directory of D:\Users\Bertr\Programming
?
01/01/2023? 15:55? ? ? ? ? ? 57,175 1.2
? ? ? ? ? ? ? ?1 File(s)? ? ? ? ?57,175 bytes
? ? ? ? ? ? ? ?0 Dir(s)? 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.? Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]
?
?
Press <Enter> to resume session.
wc3270>transfer
?
File Transfer
?
Type 'quit' at any prompt to abort this dialog.
?
Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command, e.g.,
at the VM/CMS or TSO command prompt.
?
Continue? (y/n) [y]
?
?'send' means copy a file from this workstation to the host.
?'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [send]
?
Name of source file on this workstation: [D:\Users\Bertr\Programming\template.exec] C:\1.2
Name of destination file on the host: [template] 1
?
Host type: (tso/vm/cics) [vm] vm
?
?An 'ascii' transfer does automatic translation between EBCDIC on the host and
?ASCII on the workstation.
?A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]
?
?For ASCII transfers, carriage return (CR) characters can be handled specially.
?'remove' means that CRs will be removed during the transfer.
?'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]
?
?For ASCII transfers, wc3270 can either remap the text to ensure as accurate a
?translation between the Windows code page and EBCDIC code page 37+ as
?possible, or it can transfer text as-is and leave all translation to the
?IND$FILE program on the host.
?'yes' means that text will be translated.
?'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]
?
[optional] Destination file record format:
?(default/fixed/variable/undefined) [variable]
?
[optional] Destination file logical record length: [135]
?
DFT buffer size: [4096]
?
File Transfer Summary:
?Source file on workstation: C:\1.2
?Destination file on Host: 1
?Host type: VM/CMS
?Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
?Destination file:
? Record format: variable
? Logical record length: 135
?DFT buffer size: 4096
?
Continue? (y/n) [y]
Press ^C to abort
TRANS34 - Error accessing file (RC = 20): file transfer canceled
Press <Enter> to resume session.
wc3270>


 

On CMS, doesnt a TRANS34 mean the CMS file doesnt?exist??

Joe

On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <BertramMoshier@...> wrote:
Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer canceled.

I tried several different Windows files.? Examples are:? D:\Users\Bertr\Programming\template.exec? and C:\1.2

I also tried with administration mode turned on for the WC3270 session.

On Windows the file is:

?Directory of D:\Users\Bertr\Programming
?
01/01/2023? 15:55? ? ? ? ? ? 57,175 1.2
? ? ? ? ? ? ? ?1 File(s)? ? ? ? ?57,175 bytes
? ? ? ? ? ? ? ?0 Dir(s)? 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.? Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]
?
?
Press <Enter> to resume session.
wc3270>transfer
?
File Transfer
?
Type 'quit' at any prompt to abort this dialog.
?
Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command, e.g.,
at the VM/CMS or TSO command prompt.
?
Continue? (y/n) [y]
?
?'send' means copy a file from this workstation to the host.
?'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [send]
?
Name of source file on this workstation: [D:\Users\Bertr\Programming\template.exec] C:\1.2
Name of destination file on the host: [template] 1
?
Host type: (tso/vm/cics) [vm] vm
?
?An 'ascii' transfer does automatic translation between EBCDIC on the host and
?ASCII on the workstation.
?A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]
?
?For ASCII transfers, carriage return (CR) characters can be handled specially.
?'remove' means that CRs will be removed during the transfer.
?'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]
?
?For ASCII transfers, wc3270 can either remap the text to ensure as accurate a
?translation between the Windows code page and EBCDIC code page 37+ as
?possible, or it can transfer text as-is and leave all translation to the
?IND$FILE program on the host.
?'yes' means that text will be translated.
?'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]
?
[optional] Destination file record format:
?(default/fixed/variable/undefined) [variable]
?
[optional] Destination file logical record length: [135]
?
DFT buffer size: [4096]
?
File Transfer Summary:
?Source file on workstation: C:\1.2
?Destination file on Host: 1
?Host type: VM/CMS
?Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
?Destination file:
? Record format: variable
? Logical record length: 135
?DFT buffer size: 4096
?
Continue? (y/n) [y]
Press ^C to abort
TRANS34 - Error accessing file (RC = 20): file transfer canceled
Press <Enter> to resume session.
wc3270>


 

Hi,

I am sending to the host (CMS).

On Sun, Jan 1, 2023, 17:19 Joe Monk <joemonk64@...> wrote:
On CMS, doesnt a TRANS34 mean the CMS file doesnt?exist??

Joe

On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <BertramMoshier@...> wrote:
Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer canceled.

I tried several different Windows files.? Examples are:? D:\Users\Bertr\Programming\template.exec? and C:\1.2

I also tried with administration mode turned on for the WC3270 session.

On Windows the file is:

?Directory of D:\Users\Bertr\Programming
?
01/01/2023? 15:55? ? ? ? ? ? 57,175 1.2
? ? ? ? ? ? ? ?1 File(s)? ? ? ? ?57,175 bytes
? ? ? ? ? ? ? ?0 Dir(s)? 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.? Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]
?
?
Press <Enter> to resume session.
wc3270>transfer
?
File Transfer
?
Type 'quit' at any prompt to abort this dialog.
?
Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command, e.g.,
at the VM/CMS or TSO command prompt.
?
Continue? (y/n) [y]
?
?'send' means copy a file from this workstation to the host.
?'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [send]
?
Name of source file on this workstation: [D:\Users\Bertr\Programming\template.exec] C:\1.2
Name of destination file on the host: [template] 1
?
Host type: (tso/vm/cics) [vm] vm
?
?An 'ascii' transfer does automatic translation between EBCDIC on the host and
?ASCII on the workstation.
?A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]
?
?For ASCII transfers, carriage return (CR) characters can be handled specially.
?'remove' means that CRs will be removed during the transfer.
?'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]
?
?For ASCII transfers, wc3270 can either remap the text to ensure as accurate a
?translation between the Windows code page and EBCDIC code page 37+ as
?possible, or it can transfer text as-is and leave all translation to the
?IND$FILE program on the host.
?'yes' means that text will be translated.
?'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]
?
[optional] Destination file record format:
?(default/fixed/variable/undefined) [variable]
?
[optional] Destination file logical record length: [135]
?
DFT buffer size: [4096]
?
File Transfer Summary:
?Source file on workstation: C:\1.2
?Destination file on Host: 1
?Host type: VM/CMS
?Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
?Destination file:
? Record format: variable
? Logical record length: 135
?DFT buffer size: 4096
?
Continue? (y/n) [y]
Press ^C to abort
TRANS34 - Error accessing file (RC = 20): file transfer canceled
Press <Enter> to resume session.
wc3270>


 

Bertram,

Do you have to specify a valid CMS filename (eg test text a)?.

Chris
--
<cjar1950@...>



----------------------------------------------------------------------------------------------------------------------------------
On Sun, 1 Jan 2023 17:45:07 -0600
"Bertram Moshier" <herc370390vm@...> wrote:
Hi,

I am sending to the host (CMS).

On Sun, Jan 1, 2023, 17:19 Joe Monk <joemonk64@...> wrote:

On CMS, doesnt a TRANS34 mean the CMS file doesnt exist?

Joe

On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <BertramMoshier@...>
wrote:

Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer
canceled.

I tried several different Windows files. Examples are:
D:\Users\Bertr\Programming\template.exec and C:\1.2

I also tried with administration mode turned on for the WC3270 session.

On Windows the file is:

Directory of D:\Users\Bertr\Programming

01/01/2023 15:55 57,175 1.2
1 File(s) 57,175 bytes
0 Dir(s) 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.
Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]


Press <Enter> to resume session.
wc3270>transfer

File Transfer

Type 'quit' at any prompt to abort this dialog.

Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command, e.g.,
at the VM/CMS or TSO command prompt.

Continue? (y/n) [y]

'send' means copy a file from this workstation to the host.
'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [send]

Name of source file on this workstation:
[D:\Users\Bertr\Programming\template.exec] C:\1.2
Name of destination file on the host: [template] 1

Host type: (tso/vm/cics) [vm] vm

An 'ascii' transfer does automatic translation between EBCDIC on the
host and
ASCII on the workstation.
A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]

For ASCII transfers, carriage return (CR) characters can be handled
specially.
'remove' means that CRs will be removed during the transfer.
'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]

For ASCII transfers, wc3270 can either remap the text to ensure as
accurate a
translation between the Windows code page and EBCDIC code page 37+ as
possible, or it can transfer text as-is and leave all translation to the
IND$FILE program on the host.
'yes' means that text will be translated.
'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]

[optional] Destination file record format:
(default/fixed/variable/undefined) [variable]

[optional] Destination file logical record length: [135]

DFT buffer size: [4096]

File Transfer Summary:
Source file on workstation: C:\1.2
Destination file on Host: 1
Host type: VM/CMS
Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
Destination file:
Record format: variable
Logical record length: 135
DFT buffer size: 4096

Continue? (y/n) [y]
Press ^C to abort
TRANS34 - Error accessing file (RC = 20): file transfer canceled
Press <Enter> to resume session.
wc3270>





 

I am asked a filename, yes.? I tried first

Template exec a

Later on I tried just?

1

Bert

On Sun, Jan 1, 2023, 18:21 cjar1950 via <cjar1950=[email protected]> wrote:
Bertram,

Do you have to specify a valid CMS filename (eg test text a)?.

Chris
--
?<cjar1950@...>



----------------------------------------------------------------------------------------------------------------------------------
On Sun, 1 Jan 2023 17:45:07 -0600
"Bertram Moshier" <herc370390vm@...> wrote:
> Hi,
>
> I am sending to the host (CMS).
>
> On Sun, Jan 1, 2023, 17:19 Joe Monk <joemonk64@...> wrote:
>
> > On CMS, doesnt a TRANS34 mean the CMS file doesnt exist?
> >
> > Joe
> >
> > On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <BertramMoshier@...>
> > wrote:
> >
> >> Hello,
> >>
> >> I'm getting TRANS34 - Error accessing file (RC = 20): file transfer
> >> canceled.
> >>
> >> I tried several different Windows files.? Examples are:
> >> D:\Users\Bertr\Programming\template.exec? and C:\1.2
> >>
> >> I also tried with administration mode turned on for the WC3270 session.
> >>
> >> On Windows the file is:
> >>
> >>? Directory of D:\Users\Bertr\Programming
> >>
> >> 01/01/2023? 15:55? ? ? ? ? ? 57,175 1.2
> >>? ? ? ? ? ? ? ? 1 File(s)? ? ? ? ?57,175 bytes
> >>? ? ? ? ? ? ? ? 0 Dir(s)? 9,234,605,932,544 bytes free
> >>
> >> It is the REXX template file I use for various operating systems.
> >> Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.
> >>
> >>
> >> This is a copy of one of the several attempts:
> >>
> >> [wc3270]
> >>
> >>
> >> Press <Enter> to resume session.
> >> wc3270>transfer
> >>
> >> File Transfer
> >>
> >> Type 'quit' at any prompt to abort this dialog.
> >>
> >> Note: In order to initiate a file transfer, the 3270 cursor must be
> >> positioned on an input field that can accept the IND$FILE command, e.g.,
> >> at the VM/CMS or TSO command prompt.
> >>
> >> Continue? (y/n) [y]
> >>
> >>? 'send' means copy a file from this workstation to the host.
> >>? 'receive' means copy a file from the host to this workstation.
> >> Direction: (send/receive) [send]
> >>
> >> Name of source file on this workstation:
> >> [D:\Users\Bertr\Programming\template.exec] C:\1.2
> >> Name of destination file on the host: [template] 1
> >>
> >> Host type: (tso/vm/cics) [vm] vm
> >>
> >>? An 'ascii' transfer does automatic translation between EBCDIC on the
> >> host and
> >>? ASCII on the workstation.
> >>? A 'binary' transfer does no data translation.
> >> Transfer mode: (ascii/binary) [ascii]
> >>
> >>? For ASCII transfers, carriage return (CR) characters can be handled
> >> specially.
> >>? 'remove' means that CRs will be removed during the transfer.
> >>? 'keep' means that no special action is taken with CRs.
> >> CR handling: (remove/keep) [remove]
> >>
> >>? For ASCII transfers, wc3270 can either remap the text to ensure as
> >> accurate a
> >>? translation between the Windows code page and EBCDIC code page 37+ as
> >>? possible, or it can transfer text as-is and leave all translation to the
> >>? IND$FILE program on the host.
> >>? 'yes' means that text will be translated.
> >>? 'no' means that text will be transferred as-is.
> >> Re-map character set? (yes/no) [yes]
> >> Windows code page for re-mapping: [1252]
> >>
> >> [optional] Destination file record format:
> >>? (default/fixed/variable/undefined) [variable]
> >>
> >> [optional] Destination file logical record length: [135]
> >>
> >> DFT buffer size: [4096]
> >>
> >> File Transfer Summary:
> >>? Source file on workstation: C:\1.2
> >>? Destination file on Host: 1
> >>? Host type: VM/CMS
> >>? Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
> >>? Destination file:
> >>? ?Record format: variable
> >>? ?Logical record length: 135
> >>? DFT buffer size: 4096
> >>
> >> Continue? (y/n) [y]
> >> Press ^C to abort
> >> TRANS34 - Error accessing file (RC = 20): file transfer canceled
> >> Press <Enter> to resume session.
> >> wc3270>
> >>
> >>
> >
>
>
>
>
>








 

Bertram,

I just tried:-

[wc3270]



File Transfer

Type 'quit' at any prompt to abort this dialog.

Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command, e.g.,
at the VM/CMS or TSO command prompt.

Continue? (y/n) [y]

'send' means copy a file from this workstation to the host.
'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [receive] send

Name of source file on this workstation: c:\users\xx xxxxxx\desktop\readme.1st
Name of destination file on the host: x test a

Host type: (tso/vm/cics) [tso] vm

An 'ascii' transfer does automatic translation between EBCDIC on the host and
ASCII on the workstation.
A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]

For ASCII transfers, carriage return (CR) characters can be handled specially.
'remove' means that CRs will be removed during the transfer.
'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]

For ASCII transfers, wc3270 can either remap the text to ensure as accurate a
translation between the Windows code page and EBCDIC code page 37+ as
possible, or it can transfer text as-is and leave all translation to the
IND$FILE program on the host.
'yes' means that text will be translated.
'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]

[optional] Destination file record format:
(default/fixed/variable/undefined) [default]

[optional] Destination file logical record length:

Direction: (send/receive) [receive] send

Name of source file on this workstation: c:\users\xx xxxxxx\desktop\readme.1st
Name of destination file on the host: x test a

Host type: (tso/vm/cics) [tso] vm

An 'ascii' transfer does automatic translation between EBCDIC on the host and
ASCII on the workstation.
A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]

For ASCII transfers, carriage return (CR) characters can be handled specially.
'remove' means that CRs will be removed during the transfer.
'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]

For ASCII transfers, wc3270 can either remap the text to ensure as accurate a
translation between the Windows code page and EBCDIC code page 37+ as
possible, or it can transfer text as-is and leave all translation to the
IND$FILE program on the host.
'yes' means that text will be translated.
'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]

[optional] Destination file record format:
(default/fixed/variable/undefined) [default]

[optional] Destination file logical record length:

DFT buffer size: [4096]

File Transfer Summary:
Source file on workstation: c:\users\xx xxxxxx\desktop\readme.1st
Destination file on Host: x test a
Host type: VM/CMS
Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
DFT buffer size: 4096

Continue? (y/n) [y]
Press ^C to abort
Transfer complete, 137325 bytes transferred
72.3 Kbytes/sec in CUT mode
Press <Enter> to resume session.
wc3270>



Works fine.

Chris
--
<cjar1950@...>



----------------------------------------------------------------------------------------------------------------------------------
On Sun, 1 Jan 2023 18:34:10 -0600
"Bertram Moshier" <herc370390vm@...> wrote:
I am asked a filename, yes. I tried first

Template exec a

Later on I tried just

1

Bert

On Sun, Jan 1, 2023, 18:21 cjar1950 via groups.io <cjar1950=
[email protected]> wrote:

Bertram,

Do you have to specify a valid CMS filename (eg test text a)?.

Chris
--
<cjar1950@...>




----------------------------------------------------------------------------------------------------------------------------------
On Sun, 1 Jan 2023 17:45:07 -0600
"Bertram Moshier" <herc370390vm@...> wrote:
Hi,

I am sending to the host (CMS).

On Sun, Jan 1, 2023, 17:19 Joe Monk <joemonk64@...> wrote:

On CMS, doesnt a TRANS34 mean the CMS file doesnt exist?

Joe

On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <
BertramMoshier@...>
wrote:

Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer
canceled.

I tried several different Windows files. Examples are:
D:\Users\Bertr\Programming\template.exec and C:\1.2

I also tried with administration mode turned on for the WC3270
session.

On Windows the file is:

Directory of D:\Users\Bertr\Programming

01/01/2023 15:55 57,175 1.2
1 File(s) 57,175 bytes
0 Dir(s) 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.
Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]


Press <Enter> to resume session.
wc3270>transfer

File Transfer

Type 'quit' at any prompt to abort this dialog.

Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command,
e.g.,
at the VM/CMS or TSO command prompt.

Continue? (y/n) [y]

'send' means copy a file from this workstation to the host.
'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [send]

Name of source file on this workstation:
[D:\Users\Bertr\Programming\template.exec] C:\1.2
Name of destination file on the host: [template] 1

Host type: (tso/vm/cics) [vm] vm

An 'ascii' transfer does automatic translation between EBCDIC on the
host and
ASCII on the workstation.
A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]

For ASCII transfers, carriage return (CR) characters can be handled
specially.
'remove' means that CRs will be removed during the transfer.
'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]

For ASCII transfers, wc3270 can either remap the text to ensure as
accurate a
translation between the Windows code page and EBCDIC code page 37+ as
possible, or it can transfer text as-is and leave all translation to
the
IND$FILE program on the host.
'yes' means that text will be translated.
'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]

[optional] Destination file record format:
(default/fixed/variable/undefined) [variable]

[optional] Destination file logical record length: [135]

DFT buffer size: [4096]

File Transfer Summary:
Source file on workstation: C:\1.2
Destination file on Host: 1
Host type: VM/CMS
Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
Destination file:
Record format: variable
Logical record length: 135
DFT buffer size: 4096

Continue? (y/n) [y]
Press ^C to abort
TRANS34 - Error accessing file (RC = 20): file transfer canceled
Press <Enter> to resume session.
wc3270>














 

Right, which means youre doing a RECEIVE on the host!

Joe

On Sun, Jan 1, 2023 at 5:45 PM Bertram Moshier <herc370390vm@...> wrote:
Hi,

I am sending to the host (CMS).

On Sun, Jan 1, 2023, 17:19 Joe Monk <joemonk64@...> wrote:
On CMS, doesnt a TRANS34 mean the CMS file doesnt?exist??

Joe

On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <BertramMoshier@...> wrote:
Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer canceled.

I tried several different Windows files.? Examples are:? D:\Users\Bertr\Programming\template.exec? and C:\1.2

I also tried with administration mode turned on for the WC3270 session.

On Windows the file is:

?Directory of D:\Users\Bertr\Programming
?
01/01/2023? 15:55? ? ? ? ? ? 57,175 1.2
? ? ? ? ? ? ? ?1 File(s)? ? ? ? ?57,175 bytes
? ? ? ? ? ? ? ?0 Dir(s)? 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.? Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]
?
?
Press <Enter> to resume session.
wc3270>transfer
?
File Transfer
?
Type 'quit' at any prompt to abort this dialog.
?
Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command, e.g.,
at the VM/CMS or TSO command prompt.
?
Continue? (y/n) [y]
?
?'send' means copy a file from this workstation to the host.
?'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [send]
?
Name of source file on this workstation: [D:\Users\Bertr\Programming\template.exec] C:\1.2
Name of destination file on the host: [template] 1
?
Host type: (tso/vm/cics) [vm] vm
?
?An 'ascii' transfer does automatic translation between EBCDIC on the host and
?ASCII on the workstation.
?A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]
?
?For ASCII transfers, carriage return (CR) characters can be handled specially.
?'remove' means that CRs will be removed during the transfer.
?'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]
?
?For ASCII transfers, wc3270 can either remap the text to ensure as accurate a
?translation between the Windows code page and EBCDIC code page 37+ as
?possible, or it can transfer text as-is and leave all translation to the
?IND$FILE program on the host.
?'yes' means that text will be translated.
?'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]
?
[optional] Destination file record format:
?(default/fixed/variable/undefined) [variable]
?
[optional] Destination file logical record length: [135]
?
DFT buffer size: [4096]
?
File Transfer Summary:
?Source file on workstation: C:\1.2
?Destination file on Host: 1
?Host type: VM/CMS
?Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
?Destination file:
? Record format: variable
? Logical record length: 135
?DFT buffer size: 4096
?
Continue? (y/n) [y]
Press ^C to abort
TRANS34 - Error accessing file (RC = 20): file transfer canceled
Press <Enter> to resume session.
wc3270>


 

Hello,

I have been doing a send all along.? Please review my first email.

After reviewing successful transfers, I realized there were things I was doing that the successful ones weren't.? This time I decided to accept all the defaults and the transfer worked!

Thank you for the help!

Bert.

On Sun, Jan 1, 2023 at 7:06 PM Joe Monk <joemonk64@...> wrote:
Right, which means youre doing a RECEIVE on the host!

Joe

On Sun, Jan 1, 2023 at 5:45 PM Bertram Moshier <herc370390vm@...> wrote:
Hi,

I am sending to the host (CMS).

On Sun, Jan 1, 2023, 17:19 Joe Monk <joemonk64@...> wrote:
On CMS, doesnt a TRANS34 mean the CMS file doesnt?exist??

Joe

On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <BertramMoshier@...> wrote:
Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer canceled.

I tried several different Windows files.? Examples are:? D:\Users\Bertr\Programming\template.exec? and C:\1.2

I also tried with administration mode turned on for the WC3270 session.

On Windows the file is:

?Directory of D:\Users\Bertr\Programming
?
01/01/2023? 15:55? ? ? ? ? ? 57,175 1.2
? ? ? ? ? ? ? ?1 File(s)? ? ? ? ?57,175 bytes
? ? ? ? ? ? ? ?0 Dir(s)? 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.? Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]
?
?
Press <Enter> to resume session.
wc3270>transfer
?
File Transfer
?
Type 'quit' at any prompt to abort this dialog.
?
Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command, e.g.,
at the VM/CMS or TSO command prompt.
?
Continue? (y/n) [y]
?
?'send' means copy a file from this workstation to the host.
?'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [send]
?
Name of source file on this workstation: [D:\Users\Bertr\Programming\template.exec] C:\1.2
Name of destination file on the host: [template] 1
?
Host type: (tso/vm/cics) [vm] vm
?
?An 'ascii' transfer does automatic translation between EBCDIC on the host and
?ASCII on the workstation.
?A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]
?
?For ASCII transfers, carriage return (CR) characters can be handled specially.
?'remove' means that CRs will be removed during the transfer.
?'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]
?
?For ASCII transfers, wc3270 can either remap the text to ensure as accurate a
?translation between the Windows code page and EBCDIC code page 37+ as
?possible, or it can transfer text as-is and leave all translation to the
?IND$FILE program on the host.
?'yes' means that text will be translated.
?'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]
?
[optional] Destination file record format:
?(default/fixed/variable/undefined) [variable]
?
[optional] Destination file logical record length: [135]
?
DFT buffer size: [4096]
?
File Transfer Summary:
?Source file on workstation: C:\1.2
?Destination file on Host: 1
?Host type: VM/CMS
?Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
?Destination file:
? Record format: variable
? Logical record length: 135
?DFT buffer size: 4096
?
Continue? (y/n) [y]
Press ^C to abort
TRANS34 - Error accessing file (RC = 20): file transfer canceled
Press <Enter> to resume session.
wc3270>


 

"I?have been doing a send all along.? Please review my first email."

When you invoke SEND on the PC, it invokes RECEIVE on the host.

When you invoke SEND on the host, it invokes RECEIVE on the PC.

Joe

On Sun, Jan 1, 2023 at 7:28 PM Bertram Moshier <herc370390vm@...> wrote:
Hello,

I have been doing a send all along.? Please review my first email.

After reviewing successful transfers, I realized there were things I was doing that the successful ones weren't.? This time I decided to accept all the defaults and the transfer worked!

Thank you for the help!

Bert.

On Sun, Jan 1, 2023 at 7:06 PM Joe Monk <joemonk64@...> wrote:
Right, which means youre doing a RECEIVE on the host!

Joe

On Sun, Jan 1, 2023 at 5:45 PM Bertram Moshier <herc370390vm@...> wrote:
Hi,

I am sending to the host (CMS).

On Sun, Jan 1, 2023, 17:19 Joe Monk <joemonk64@...> wrote:
On CMS, doesnt a TRANS34 mean the CMS file doesnt?exist??

Joe

On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <BertramMoshier@...> wrote:
Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer canceled.

I tried several different Windows files.? Examples are:? D:\Users\Bertr\Programming\template.exec? and C:\1.2

I also tried with administration mode turned on for the WC3270 session.

On Windows the file is:

?Directory of D:\Users\Bertr\Programming
?
01/01/2023? 15:55? ? ? ? ? ? 57,175 1.2
? ? ? ? ? ? ? ?1 File(s)? ? ? ? ?57,175 bytes
? ? ? ? ? ? ? ?0 Dir(s)? 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.? Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]
?
?
Press <Enter> to resume session.
wc3270>transfer
?
File Transfer
?
Type 'quit' at any prompt to abort this dialog.
?
Note: In order to initiate a file transfer, the 3270 cursor must be
positioned on an input field that can accept the IND$FILE command, e.g.,
at the VM/CMS or TSO command prompt.
?
Continue? (y/n) [y]
?
?'send' means copy a file from this workstation to the host.
?'receive' means copy a file from the host to this workstation.
Direction: (send/receive) [send]
?
Name of source file on this workstation: [D:\Users\Bertr\Programming\template.exec] C:\1.2
Name of destination file on the host: [template] 1
?
Host type: (tso/vm/cics) [vm] vm
?
?An 'ascii' transfer does automatic translation between EBCDIC on the host and
?ASCII on the workstation.
?A 'binary' transfer does no data translation.
Transfer mode: (ascii/binary) [ascii]
?
?For ASCII transfers, carriage return (CR) characters can be handled specially.
?'remove' means that CRs will be removed during the transfer.
?'keep' means that no special action is taken with CRs.
CR handling: (remove/keep) [remove]
?
?For ASCII transfers, wc3270 can either remap the text to ensure as accurate a
?translation between the Windows code page and EBCDIC code page 37+ as
?possible, or it can transfer text as-is and leave all translation to the
?IND$FILE program on the host.
?'yes' means that text will be translated.
?'no' means that text will be transferred as-is.
Re-map character set? (yes/no) [yes]
Windows code page for re-mapping: [1252]
?
[optional] Destination file record format:
?(default/fixed/variable/undefined) [variable]
?
[optional] Destination file logical record length: [135]
?
DFT buffer size: [4096]
?
File Transfer Summary:
?Source file on workstation: C:\1.2
?Destination file on Host: 1
?Host type: VM/CMS
?Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252
?Destination file:
? Record format: variable
? Logical record length: 135
?DFT buffer size: 4096
?
Continue? (y/n) [y]
Press ^C to abort
TRANS34 - Error accessing file (RC = 20): file transfer canceled
Press <Enter> to resume session.
wc3270>


 

¿ªÔÆÌåÓý

CMS files must have a filetype. ¡°1¡± does not have a filetype

Dave

?

From: [email protected] <[email protected]> On Behalf Of Bertram Moshier
Sent: 01 January 2023 23:45
To: [email protected]
Subject: Re: [h390-vm] Two WC3270 questions.

?

Hi,

?

I am sending to the host (CMS).

?

On Sun, Jan 1, 2023, 17:19 Joe Monk <joemonk64@...> wrote:

On CMS, doesnt a TRANS34 mean the CMS file doesnt?exist??

?

Joe

?

On Sun, Jan 1, 2023 at 4:03 PM Bertram Moshier <BertramMoshier@...> wrote:

Hello,

I'm getting TRANS34 - Error accessing file (RC = 20): file transfer canceled.

I tried several different Windows files.? Examples are:? D:\Users\Bertr\Programming\template.exec? and C:\1.2

I also tried with administration mode turned on for the WC3270 session.

On Windows the file is:

?Directory of D:\Users\Bertr\Programming

?

01/01/2023? 15:55? ? ? ? ? ? 57,175 1.2

? ? ? ? ? ? ? ?1 File(s)? ? ? ? ?57,175 bytes

? ? ? ? ? ? ? ?0 Dir(s)? 9,234,605,932,544 bytes free

It is the REXX template file I use for various operating systems.? Presently it supports DOS, Win95, WinNT (Win 7 - 11), and OS/2.


This is a copy of one of the several attempts:

[wc3270]

?

?

Press <Enter> to resume session.

wc3270>transfer

?

File Transfer

?

Type 'quit' at any prompt to abort this dialog.

?

Note: In order to initiate a file transfer, the 3270 cursor must be

positioned on an input field that can accept the IND$FILE command, e.g.,

at the VM/CMS or TSO command prompt.

?

Continue? (y/n) [y]

?

?'send' means copy a file from this workstation to the host.

?'receive' means copy a file from the host to this workstation.

Direction: (send/receive) [send]

?

Name of source file on this workstation: [D:\Users\Bertr\Programming\template.exec] C:\1.2

Name of destination file on the host: [template] 1

?

Host type: (tso/vm/cics) [vm] vm

?

?An 'ascii' transfer does automatic translation between EBCDIC on the host and

?ASCII on the workstation.

?A 'binary' transfer does no data translation.

Transfer mode: (ascii/binary) [ascii]

?

?For ASCII transfers, carriage return (CR) characters can be handled specially.

?'remove' means that CRs will be removed during the transfer.

?'keep' means that no special action is taken with CRs.

CR handling: (remove/keep) [remove]

?

?For ASCII transfers, wc3270 can either remap the text to ensure as accurate a

?translation between the Windows code page and EBCDIC code page 37+ as

?possible, or it can transfer text as-is and leave all translation to the

?IND$FILE program on the host.

?'yes' means that text will be translated.

?'no' means that text will be transferred as-is.

Re-map character set? (yes/no) [yes]

Windows code page for re-mapping: [1252]

?

[optional] Destination file record format:

?(default/fixed/variable/undefined) [variable]

?

[optional] Destination file logical record length: [135]

?

DFT buffer size: [4096]

?

File Transfer Summary:

?Source file on workstation: C:\1.2

?Destination file on Host: 1

?Host type: VM/CMS

?Transfer mode: ASCII, remove CRs, remap text, Windows code page 1252

?Destination file:

? Record format: variable

? Logical record length: 135

?DFT buffer size: 4096

?

Continue? (y/n) [y]

Press ^C to abort

TRANS34 - Error accessing file (RC = 20): file transfer canceled

Press <Enter> to resume session.

wc3270>