How to use FTP Stage to transfer into Mainframe

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ScottDun
Participant
Posts: 61
Joined: Thu Dec 10, 2015 9:51 am

How to use FTP Stage to transfer into Mainframe

Post by ScottDun »

Hi again,

I am using an FTP to shoot a file into the mainframe. However, when I run into the mainframe I am running into a problem where I can only transfer 80 characters out of my 3600 characters. I use my username/password for connection, FTP transfer mode and transfer ASCII with Overwrite as yes. I am sending 1 column into the mainframe with 3600 plus character rows into mainframe.

Thanks,

Scott
SCOTTDun
dxpeoria02
Participant
Posts: 1
Joined: Tue Oct 24, 2017 1:10 pm

Re: How to use FTP Stage to transfer into Mainframe

Post by dxpeoria02 »

You have to set site command to send more than 80 characters to mainframe Dataset file.
ftp node set this site command
Example: RECFM=FB LRECL=3600 CYLINDER PRIMARY=50 SECONDARY=50
dxDev
Post Reply