Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CONVERT_OTFSPOOLJOB_2_PDF ECC6 spool conversion

Former Member
0 Likes
721

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
670

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.

3 REPLIES 3
Read only

Former Member
0 Likes
671

we have also try to open the dataset in legacy and transfer length but still the same issue.

Any clue?

Read only

0 Likes
670

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

Read only

0 Likes
670

i solved the issue by removing all the characters after the 255th one.