Automic Workload Automation

  • 1.  How to remove carriage return in JOBS RAFTP vs JOBF

    Posted Mar 30, 2018 04:03 PM
    I have a JOBF that moves a file from my mainframe to an SFTP server.  The file placed on the SFTP server has a line feed at the end of each line but no carriage return.  The vendor that picks up the file is looking for it in that format.

    I am trying to convert this job to a JOBS - RAFTP.  This job has the line feed but adds a carriage return to the end of each line in the file.  The vendor cannot handle the carriage return.

    The JOBF File Transfer options:
    Code = EBCDIC_00037
    Compression = No
    Format = Text

    The RAFTP copy file options:
    Transfer type(FTP Only = ASCII
    Data transfer mode (SFTP only) = Stream

    Does anyone know why the JOBS adds the CR and how to remove it?



  • 2.  How to remove carriage return in JOBS RAFTP vs JOBF
    Best Answer

    Posted Mar 31, 2018 07:33 PM
    Hi TimOsgood611330 ,

    Have you already tried to use EBCDIC inside the FTP job?

    Either in the copy command or free form command.

    Cheers,
    Alexander






  • 3.  How to remove carriage return in JOBS RAFTP vs JOBF

    Posted Apr 04, 2018 10:15 AM
    Hi Alexander,

    In the copy command the TransferType can be set to EBCDIC but that is for FTP only.  I am using SFTP so I can stream, compressed or block. 

    As far as free form command goes, I am not sure how to use that.  I've looked at the RAFTP Agent guide for free form commands using SFTP and none of the commands listed describe how to remove CR or change to EBCDIC.  Is there a more extensive command list someplace?

    Tim


  • 4.  How to remove carriage return in JOBS RAFTP vs JOBF

    Posted Apr 11, 2018 03:14 PM
    Hi Alexander,

    Been a rough couple of weeks and I missed that the orange items were links.

    Thanks