¿ªÔÆÌåÓý

Re: Two WC3270 questions.


 

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>

Join [email protected] to automatically receive all group messages.