Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

transferring files from AS400 to Vms to AS400 using CFT

 
labadie_1
Honored Contributor

transferring files from AS400 to Vms to AS400 using CFT

I want to transfer files from Alpha Vms 7.3-2 to an AS400 using CFT. I do not want to modfiy the files.
The file transfer is, using CFT, in 2 ways.

From AS 400 -> Windows 2003 server (using SYnchrony Gateway from Axway, see
http://www.axway.fr/templates/page.php?lang_code=FR&menu_mnemo=PRODUCTS7)
-> Vms, then Vms -> another AS400.
The file will be modified on Vms, for those advising to transfer from AS400 to AS400 directly :-)

I have modified the CFT parameter file, mainly putting several transcodage tables, to no avail.

I added in the CFT parameter file

CFTXLATE ID = TABTEST
...
...
FNAME=disk:[dir]ATOE.DAT
and about my file transfer
CFTSEND
...
XLATE = TABTEST,

with ATOE.dat being a file (Ascii to Ebcdic) given by the Axway support.

I have asked the AS400 guys to put the other table ETOA.DAT (Ebcdic to Ascii) in their CFT parameter file.

For example, the # in a file on Vms becomes a
£, the { becomes a I with an accent on it...



Several characters above ascii 64 (like accentuated characters) are replaced by something else.

Thanks for any hint.


9 REPLIES 9
Wim Van den Wyngaert
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

I've seen in the past that a byte shown as # became a pound sign without changing the byte. It was only a question of the translation to the screen (English / Italian on HP3000 terminals).

fwiw

Wim
Wim
labadie_1
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

The Ibm guy has been kind enough to print the equivalent of a Vms
$ dump file
So I have the hex code and the character printed.
Wim Van den Wyngaert
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

If I understand correctly, the character # which is ascii 35 didn't become ebcdic hex 7B but something else ?

Wim
Wim
labadie_1
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

On OS400, the # is B1, and the # in the Vms file became on OS400 a £, which is 7B.
Wim Van den Wyngaert
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

According to http://en.wikipedia.org/wiki/Ebcdic#Codepage_layout the # is 7B so the screen is incorrect and the bytes are correct (IMO).

Wim
Wim
labadie_1
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

The CFT parameters on the AS400 was bogus.

Problem solved.
labadie_1
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

Closed
Wim Van den Wyngaert
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

Gerard,

Could you give some details of what was wrong ? Just in case someone has the same problem.

Wim
Wim
labadie_1
Honored Contributor

Re: transferring files from AS400 to Vms to AS400 using CFT

On the AS400, the card CFTRECV had the transcoding table, but not the card CFTSEND...