|
Thank you for the SQL example that PHP calls. Can anyone offer me any help on the below script? I am getting a return code of 2. The program below converts an image on the AS/400 from a .TIF to a .PDF and places it from one IFS directory to another. I can get wrkactjob to execute to browser and a print program with parameters to execute to browser. <html> <head> <title></title> </head> <?PHP $systemcall="/QOpenSys/usr/bin/system 'CALL PGM(RVTIF2PDF) PARM('/IMAGE/051605' 'CAAAACKR.001' '/OPTICAL' ' ' '003' ' ')'"; $last_line = system($systemcall, $retval); echo ' </pre> <hr />Last line of the output: ' . $last_line . ' <hr />Return value: ' . $retval; ?> </body> </html> Lori Crane Trans American CHB 716-896-7800 x261 CONFIDENTIALITY NOTICE: This email transmission and any documents, files, or previous e-mail messages attached to it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any further review, disclosure, copying dissemination, distribution, or use of any of the information contained in or attached to this e-mail transmission is strictly prohibited. If you have received this message in error, please notify the sender immediately by e-mail, discard any paper copies, and delete all electronic files of the message. The recipient should check this email and attachments for the presence of viruses. We accept no liability for any damage caused by any virus transmitted by this email.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.