Question

  Asked: Apr 14 2005   1:23 PM GMT
  Asked by: master6


I am sending some zipped files to a server, using IBM FTP CS V1R4(exec pgm=ftp). Is it possible to FTP a file in PDF format or some other more printable format than text?


DataCenter, IT architecture, Implementation, Planning, Application software, Software Quality Assurance, Exchange, E-mail applications, Centrinity, HP OpenMail, Sendmail, Microsoft Windows, Knowledge management applications, ERP, Database Management Systems, Filemaker, Development, Lifecycle development, COBOL, REXX

I am sending some zipped files to a server, using IBM FTP CS V1R4(exec pgm=ftp). I am executing cobol and ftp programs...Is there any possibility of returning the reports as PDF files (or some other more printable format than text). I mean when a user opens a zipped file they want to see PDF file, not txt. Currently, I ftp the zipped files, and when a user opens the zipped file it is in .TXT format....
Any help is greatly appreciated. Thanks.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



A- Yes it is possible to zip a pdf file.

B- IBM FTP doesn't care what the file format is, it will transfer .txt, .asc, .zip, .exe, almost any file.

C- It will even hadle .pdf files. The trick is in creation of the 'PDF'. On a PC you set a PDFwriter as a printer option and print the file to 'PDF'.

D- Not being old enough to know COBOL that well, my question is "Can you batch the output to a third program or does anyone know of a 'PDFwriter' for the '400'?
  • AddThis Social Bookmark Button

Browse more Questions and Answers on DataCenter, CIO and Security.

Looking for relevant DataCenter Whitepapers? Visit the SearchDataCenter.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

master6  |   Apr 14 2005  2:24PM GMT

Thanks a lot for the reply…
Yes, i know that the trick is in creation of the PDF file…but i am doing it in mainframe. That’s why I would like to know what steps should be taken to zip a file in mainframe into a PDF format and then ftp that file?
Any jelp is appreciated….Thanks again…

 

master6  |   May 23 2005  10:53AM GMT

Hi. I am sending some zipped files to a server, using IBM FTP CS V1R4(exec pgm=ftp). I am executing cobol and ftp programs…I need to FTP a file in some printable format. Is there any possibility of returning report files in some other more printable format than text. It isn’t necessary to be a PDF file. As i know of, the average compression to txt file is about 97%, zipping to a PDF file will cause to lose an efficiency of compression. What cam be used to save the efficiency.
Any help is greatly appreciated.

 

cglancy  |   Jul 9 2005  4:36AM GMT

If your organization will allow it, you can use CutePDF to create a pdf file - <a href="http://www.cutepdf.com/" rel="nofollow">http://www.cutepdf.com/</a>

I’ve used the free version and it works just fine. Once the report/file is on your PC or LAN simply send the report/file to print through the normal Windows PC method (menu, File -> Print), change the printer destination to point to the ‘cutepdf’ printer (gets defined during installation). Cutepdf converts the output to a pds file instead of physically printing it. Then you can zip the pdf file created, FTP it, & your user’s will be happy (& impressed).

Hope this helps!