FTP step for transfering PDF file

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Jairam_baju
Member
Posts: 10
Joined: Thu Jul 30, 2009 8:11 pm
Location: Bangalore

FTP step for transfering PDF file

Post by Jairam_baju » Tue Oct 13, 2009 3:33 pm

Hi i need to transfer the PDF file to unix server. I ftped the pdf file through the below jcl.
//STEP05 EXEC PGM=FTP,COND=(04,LT,STEP01A),REGION=2048K
//* PARM='15MPAR34 (EXIT TIMEOUT 360'
//INPUT DD *
AXRS15MPAR40
DBSADM D1B2S3ADM
CD /HOME/DBSADM/FTP/PLANSUMMARYREPORTS
ASCII
// DD *
PUT 'H6668EB.A1217.B1217PSR.PDF.FTP' 0000000017-20091012.PDF
// DD *
CLOSE
QUIT
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//*

The FTP is done and the trasfer is complete. but when the pdf file is opened from unix server it is not working as expected.
we are able to open the pdf but when we try scroll down it is giving error.

so if any one of u have solution on this pls let me know.
Sample JCL for ftp WOULD BE PREFERRED.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others