Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

PDF conversion utility?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
pavankumarhassaji

New User


Joined: 20 Aug 2007
Posts: 11
Location: Canada

PostPosted: Tue Dec 18, 2007 5:15 pm    Post subject: PDF conversion utility?
Reply with quote

Hi,

I would like to know is there any utility to convert any flat file to PDF format. So that it can be mailed as read only.

In the forum i have seen that there is a utility VPSPDF to convert AFP to PDF. Similarly is there any utility to convert ordinary flat file to PDF. If exists please explain me how to use it.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Dec 18, 2007 5:19 pm    Post subject: Reply to: PDF conversion utility?
Reply with quote

There's TXT2PDF.

And, if you already have SAS, the SAS Output Descriptor System (ODS) produces PDF output.
Back to top
View user's profile Send private message
pavankumarhassaji

New User


Joined: 20 Aug 2007
Posts: 11
Location: Canada

PostPosted: Tue Dec 18, 2007 5:58 pm    Post subject:
Reply with quote

Could you please let me know how to use TXT2PDF. If you could give a sample code i will be pleased.
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Tue Dec 18, 2007 6:05 pm    Post subject:
Reply with quote

PDF does not make a file read only. If the recipient has Adobe Acrobat, not just the reader, or some other tool then they can edit a PDF like it was a text file.
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Tue Dec 18, 2007 7:07 pm    Post subject:
Reply with quote

Something I already was aware of, but pointed out to me in a private message, not a publicly for some reason...

PDFs can be protected to disallow things like this. Search google for TXT2PDF z/OS and you can find the manuals and see that there is a protection panel..

However, someone could write a program to edit PDFs to the PDF spec disregarding the protection bits of the format. Someone who is really determined to edit the contents of the file will be able to regardless of what kind of protection you apply at the PDF level. They could take screenshots of the PDF then take it into a graphics editor laying other text over the part they want to change. Print the doucment out and scan it back in using some OCR software then editing it as an unprotected document, etc etc...

I wasn't implying that PDF can't be protected, just that the OP had made it sound like PDF automatically made the file read only.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Dec 18, 2007 7:08 pm    Post subject: Reply to: PDF conversion utility?
Reply with quote

You know, all of the details on how to use this freeware utility are included in the distribution of the utility. Anyway, here's a sample job:
Code:

//STEPXXXX EXEC PGM=IKJEFT01,                       
// PARM='%TXT2PDF ORIENT=PORTRAIT,CC=YES'           
//SYSPROC  DD   DISP=SHR,DSN=SUPERK.REXX             
//SYSTSIN  DD   DUMMY                               
//SYSTSPRT DD   SYSOUT=*                             
//SYSUT1   DD   *                                   
1REPORT DATA ...                                     
/*                                                   
//SYSUT2   DD   DSN=SUPERK.PDF,                     
//         DISP=(,CATLG,DELETE),                     
//         UNIT=SYSDA,RECFM=VB,LRECL=256,DSORG=PS,   
//         SPACE=(TRK,(1,1),RLSE)                   
//FONTINFO DD   *                                   
Courier 10 11.5 0                                   
/*                                                   
//TRCFONTS DD   *                                   
0 Courier-Bold 10 11.5 0                             
1 Courier 10 11.5 0                                 
/*                                                   
//IMAGE    DD   DISP=SHR,DSN=SUPERK.JPG           
//IMAGECM  DD   *                                 
32 0 0 32 25 756                                 
/*                                               
//BACKTEXT DD   *                                 
100 200 60 Draft                                 
/*                                               
//TEXTTM   DD   *                                 
1 0 0 1 25 752                                   
/*                                               
//*                                               
Back to top
View user's profile Send private message
pavankumarhassaji

New User


Joined: 20 Aug 2007
Posts: 11
Location: Canada

PostPosted: Wed Dec 19, 2007 4:05 pm    Post subject:
Reply with quote

Hi Superk,

Thank you very much for the replay. The code code you sent was very useful.
I have found out some user guide for using TXT2PDF utility. I am posting the URL for that manual so that others may get benefited.

URL is : www.lbdsoftware.com/TXT2PDF-User-Guide.pdf

Thanks,
Hassaji.
Back to top
View user's profile Send private message
pavankumarhassaji

New User


Joined: 20 Aug 2007
Posts: 11
Location: Canada

PostPosted: Wed Dec 19, 2007 4:59 pm    Post subject: Reply to: PDF conversion utility?
Reply with quote

Hi,


I tried to run the job but it was unable to find TXT2PDF routine.

Does TXT2PDF come with Mainframe installation or shall we need to get it explicitly. Could you please let me know, from where and how can i get the utility?

Thanks,
Hassaji.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Dec 19, 2007 5:17 pm    Post subject: Reply to: PDF conversion utility?
Reply with quote

PDF conversion utilities come in many flavors, for many environments,
but ( bolded to point out it' s importance )


with different licensing options...
usually freeware for ==>personal use<==

Anyway before installing any third party products in a "COMMERCIAL" environment
it would be wise to ask about the practices of Your shop for such issues

there are quite often strong limitations on the use of freeware things
both from the product owner point of view,
and also from the point of view of the company using it

freeware comes with lots of legalese about responibilities liabilities and so on...

which means that if You are having troubles using it ...

YOU ARE ON YOUR OWN

Thats why I ALWAYS discourage the use of such products in a production
environment
unless there are people capable of takig care of all, repeat ALL, the problems
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us