28.11.10

SAP Note 10355 - Copying R3trans data files from Unix to VMS

Symptom

R3trans has difficulties importing files to VMS that were copied from Unix to VMS with FTP.

Cause and prerequisites

FTP writes copied files in BIN mode with:
Record format: Fixed length 512 byte records
but R3trans can only process files with
Record format: Stream_LF
Solution

Two alternative solutions exist:

1. If the file is copied with FTP with GET/FDL to VMS, the file will be saved in the correct record format.
To do this, the UNIX directory must contain an FDL file called
FILE.EXTfdl, in addition to the FILE.EXT file, with the
following contents:

FILE
ORGANIZATION sequential

RECORD
BLOCK_SPAN yes
CARRIAGE_CONTROL carriage_return
CONTROL_FIELD_SIZE 0
FORMAT stream_LF

2. On newer systems (from Version 2.1G/2.2A ) the program PCFILE_ADJUST can be used to adjust the file attributes:


Here, proceed as follows:

- Copy the files with ftp in binary mode.
ftp reports the number of transferred bytes.
Note this number for the following step.

- Convert the file with the following command:
$ MC SAP__EXE:PCFILE_ADJUST

Key word: R3SLTRAR3T

No comments:

Post a Comment