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
724

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
673

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

Any clue?

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

Any clue?

3 REPLIES 3
Read only

Former Member
0 Likes
674

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

Any clue?

Read only

0 Likes
673

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
673

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