2014 Feb 20 6:51 PM
Hi Folks, we facing an issue with the spool conversion in pdf.
We are using the FM CONVERT_OTFSPOOLJOB_2_PDF and upload the file on an application server.
The pdf is opening correctly but we have noticed that after the %%EOF they are others characters and this avoid the destination system to process the file.
Is it normal having characters after the %%EOF?
Since it's a binary file how to remove these characters ( if it possible).?
After the conversion we upload it in an application server using
OPEN DATASET fullpath FOR OUTPUT IN BINARY MODE MESSAGE srvmsg ...
Regards.
2014 Feb 20 7:07 PM
we have also try to open the dataset in legacy and transfer length but still the same issue.
Any clue?
Hi Folks, we facing an issue with the spool conversion in pdf.
We are using the FM CONVERT_OTFSPOOLJOB_2_PDF and upload the file on an application server.
The pdf is opening correctly but we have noticed that after the %%EOF they are others characters and this avoid the destination system to process the file.
Is it normal having characters after the %%EOF?
Since it's a binary file how to remove these characters ( if it possible).?
After the conversion we upload it in an application server using
OPEN DATASET fullpath FOR OUTPUT IN BINARY MODE MESSAGE srvmsg ...
Regards.
2014 Feb 20 7:07 PM
we have also try to open the dataset in legacy and transfer length but still the same issue.
Any clue?
2014 Feb 21 6:09 AM
Hi Andre,
In Coding of FM ,Can you check what "Spool: Output" device are you using ?
And also check the device type for the same in SPAD transaction.
Regards,
Prakash
2014 Mar 01 11:29 AM
i solved the issue by removing all the characters after the 255th one.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |