· The version of Iseries nav is for v5r3 And the service level is.? That is, you did install a recent service pack after installing the product.? Download the free trial version below to get started. Double-click the downloaded file to install the software. Links/Reviews of products on the AS400 market. Some may contain free trial versions. If you see something you have worked with please post your thoughts. I can verify the copy doesn't work at V6R1, but you can circumvent that. I have a physical file with a 133 record length on my box that I've been using to copy spool. Download - Update. Star - Update. Star. Download the. free trial version below to get started. Double- click the downloaded file. Update. Star is compatible with Windows platforms. Update. Star has been tested to meet all of the technical requirements to be compatible with. Windows 1. 0, 8. 1, Windows 8, Windows 7, Windows Vista, Windows Server 2. Windows. XP, 3. 2 bit and 6. Simply double- click the downloaded file to install it. Update. Star Free and Update. Star Premium come with the same installer. Update. Star includes support for many languages such as English, German, French, Italian, Hungarian, Russian and many more. You can choose your language settings from within the program. Creating PDF files from spool files | RPGPGM. COMI have times when a user will request that a report be emailed to them, rather than printed and sent to them via the inter company mail. The easiest way would be to create a PDF file from the spool file and then email it to the requestor. There are many third party tools that allow you to be able to convert a spool file to PDF, but how can I do it just using native IBM i features? The method I am going to describe can only be used IBM i servers with either version 6. Before you can do what I will describe in this post you need to check if you have the necessary licensed program, Transform Services, installed on your IBM i. The documentation states you can use the CHKPRDOPT command to check if it is installed, but I have found it to give false positives on some IBM i servers. I rely on viewing the list of licensed programs to see if it is there. Type: GO LICPGM and press Enter. Then take option 1. Display installed licensed programs’. The licensed program code if different depending upon which release your server is running: Version 7. TS1. Version 6. 1: 5. TS1. Scroll through the list of programs to find the following (this is from a 7. Licensed Installed. Program Status Description. TS1 *COMPATIBLE IBM Transform Services for i. TS1 *COMPATIBLE Transforms - AFP to PDF Transform. Transform Services is a free product that comes on the following disks of the install media: Version 7. B_GROUPx_0. 4 disk. Version 6. 1: B2. If it is not installed on your server ask your IBM i administrator to install: Version 7. TS1 and 5. 77. 0TS1 option 1. Version 6. 1: 5. 76.TS1 and 5. 76. 1TS1 option 1.And now to the programming… In this first example I am using the OVRPRTF command.OVRPRTF FILE(QPQUPRFIL) DEVTYPE(*AFPDS) +. . TOSTMF('/My. Folder/test. WSCST(*PDF) +. OVRSCOPE(*CALLLVL). RUNQRY QRY(*NONE) QRYFILE((MYLIB/TESTPF)) OUTTYPE(*PRINTER)There are three parameters in the OVRPRTF command we need to address: Printer Device Type, DEVTYPE, need to be *AFPDS. To Stream File, TOSTMF, contains the folder and file name I wish to save the spooled file to. In this example I will save it to the document test. IFS folder My. Folder. Work Stations Customization Object, WSCST, must be *PDF. When I run the RUNQRY command, line 2, no spool file is produced. The PDF file is created in My. Folder instead. To view it you can either use the Operations Navigator or you can use the DSPLNK at the command prompt: DSPLNK OBJ('/My. Folder/*')As I have used the asterisk after the folder name the command displays all of the files in the folder: Display Object Links. Directory . . . . My. Folder. Type options, press Enter. Display 8=Display attributes 9=Display authority. Opt Object link Type Attribute Text. STMF. While running the above example if you receive a CPFCE0. Transform Services is not installed on your server. Additional Message Information. Message ID . . . . CPFCE0. 1 Severity . Message type . . . Escape. Date sent . DD/DD/DD Time sent . TT: TT: TT. Message . Required product option not available. Cause . . . . . : The function requires that product 5. TS1 option 0. 1 be. Recovery . . . : Use the Check Product Option (CHKPRDOPT) command to verify. TS1 option 0. 1 has been properly installed on the system. Correct the error and try the request again. In my second example I am copying an existing spool file to my folder as a PDF file: CPYSPLF FILE(QPQUPRFIL) TOFILE(*TOSTMF) +. SPLNBR(*LAST) +. TOSTMF('/My. Folder/test_1. pdf') WSCST(*PDF) +. STMFOPT(*REPLACE)The same parameters in the CPYSPLF command, TOSTMF, WSCST, STMFOPT, have to be completed as in the previous example. And in the To File, TOFILE, the value *TOSTMF is given as I am copying the spool file to a stream file. If you do not have Transform Services on your server you can still copy spool files to the IFS as a TIF (TIFF) file using the Work Stations Customization Object, WSCST, QWPTIFFG4, see below: 0. OVRPRTF FILE(QPQUPRFIL) DEVTYPE(*AFPDS) +. TOSTMF('/My. Folder/test_1. WSCST(QWPTIFFG4) OVRSCOPE(*CALLLVL). RUNQRY QRY(*NONE) QRYFILE((DEVSRC)) OUTTYPE(*PRINTER)The TIF is not as nice as the PDF, but it is better than nothing. You can learn more about these from the IBM web site: This article will only work for IBM i 6. I have received several communications informing me that you can use the Operation Navigator to convert a spool file to a PDF file. The above post was to describe how to create a PDF file from a spool file without human intervention, for example: part of a day- end process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |