uzaemon's BBS

Hosted by freeforums.org
It is currently Thu Nov 26, 2009 11:23 pm

All times are UTC



Welcome
Welcome to <strong>uzaemon's BBS</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: PROBLEM WITH SPL2STMF
PostPosted: Mon Apr 14, 2008 12:11 pm 
Offline

Joined: Mon Apr 14, 2008 11:53 am
Posts: 2
I want to convert a spool file to a Pdf document.
This spool file has the next configuration:

PAGESIZE

66
140
*rowcol
6
13,3 (cpi)

It has a frontovl

The command line is (library hpt) :

SPL2STMF FILE(&PAFILE) TOSTMF(&NOMBRE1) +
WSCST(QWPTIFFG4) +
JOB(&PAJNUM/&PAUSER/&PAJNAM) SPLNBR(&PASPLN)



When i look the tiff file , there is no ajusted.

The ovl format is in a position and the text of document is in another.

I want to add a image of the document but it'snt possible.

Can you help me??
Thanks

[/img]


Top
 Profile  
 
 Post subject: Problem determination for SPL2STMF
PostPosted: Mon Apr 14, 2008 1:30 pm 
Offline
Site Admin

Joined: Tue Jan 29, 2008 3:09 am
Posts: 47
If you suspect that your problem is in OS/400(HPT API). I recommend you to consider followings :

- apply latest Cum and HPT-related PTFs.
- there is no logical reason but just try to recompile SPL2STMF with lower optimization option.
- there is no logical reason but just try to recompile SPL2STMF with *PRV option.
- if you have an access to another AS/400 or iSeries, run the same thing and see what happens. Or you may ask your business partner or friend to recreate your problem.
- if the problem occurs only for the specific spooled file, look for the difference.
- prepare the procedure to recreate your problem using OS/400 functions which use HPT, e.g. RMTOUTQ, LPR, Access for Web, Host on Demand, etc.
- contact your support channel to ask IBM to investigate (and fix) the problem.

There was a person who reported following resolution.

Quote:
I contacted IBM, they said I should have two print files, 1 for printing and 1 for converting to TIF. This was not the resolution I was looking for. So I decided to keep working at it and after several hours I finally got the text to align with the overlay. The overlay is defined in my PRTF, so I changed the positioning on the OVERLAY keyword to move the overlay to align with the text.

A R PRTOVL
A OVERLAY(OVLNAME .2 .25)


This allowed the transform to TIF to work correctly without causing the overlay to be misaligned when I printed the spooled file.


Hope this helps.

uzaemon@Japan


Top
 Profile  
 
 Post subject: PROBLEM WITH SPL2STMF
PostPosted: Thu Apr 17, 2008 4:16 pm 
Offline

Joined: Mon Apr 14, 2008 11:53 am
Posts: 2
Thanks for your answer, but I want to ask the next:

- apply latest Cum and HPT-related PTFs.
What or where are the latest HPT.???
- there is no logical reason but just try to recompile SPL2STMF with lower optimization option
What means "with lower optimization option" ??

How can i send you an image for you can sea the exemple?

Thanks


Top
 Profile  
 
 Post subject: Re: PROBLEM WITH SPL2STMF
PostPosted: Fri Apr 18, 2008 2:43 pm 
Offline
Site Admin

Joined: Tue Jan 29, 2008 3:09 am
Posts: 47
>> - apply latest Cum and HPT-related PTFs.
> What or where are the latest HPT.???
Usually, you may contact your support channel, tell them version of OS/400 and PTF level, and ask them to look for HPT related PTFs that have not been applied to your system.

>> - there is no logical reason but just try to recompile SPL2STMF with lower optimization option
> What means "with lower optimization option" ??
Specify *NONE for OPTIMIZE parameter of CRTRPGMOD/CRTBNDRPG command in MAKE REXX procedure.

> How can i send you an image for you can sea the exemple?

You may send a mail to uzaemon@nifty.com with some keyword in mail subject so that I can pick it up from SPAM box.
However, I cannot help you by just seeing the image. Please perform the problem determination steps I introduced before.

If you are certain that SPL2STMF is the root cause of your problem, you may send full information (source code, database file, all related objects and execution environment information) to recreate your problem on my machines (either V5R4 or V6R1).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Ask Jeeves [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron