Any Assistance would be appreciated!
--
Mike Geldert, Infinity Software Systems, Inc.
Infinity...@CIS.Com
+Does anyone know of a way to combine multiple AFP spooled files into a
+single Spooled file? Any applications available for this?
+
+Any Assistance would be appreciated!
+
You can copy the spooled files into a physical file using CPYSPLF. Make
sure that the MBROPT parameter is set to *ADD. Then use CPYF to create a
spooled file from that physical file. In this case, the parameter TOFILE
should be *PRINT.
As for an app which would do all that, try looking into the user tools
that used to be included with OS/400. I think you can still order them
from either Big Blue or some other guy.
Happy New Year!
LesC.
--
Every question has two answers.
One for you, and one for me.
This won't work for IPDS or AFP. You might have to dig into the
spooled file APIs.
Bradley V. Stone
bvs...@usa.net
http://prairie.lakes.com/~bvstone/
1992 Yamaha FJ1200
1969 Suzuki T250
"I was on fire.... and I was dry!"
Maybe there is another solution for your problem, but you did not tell us
what you really want to do with the new spooled file.
If you hear something about tools concerning AFP, please mail me!
---------------------------------------------
Anton Gombkötö, E-Mail: Gombk...@ASSoft.com
AS Software
Jedleseer Strasse 3
A-1210 Vienna, Austria, Europe
Homepage: http://www.assoft.com
---------------------------------------------
michael Geldert schrieb in Nachricht <01bd17d0$5d9c4240$b1beafce@mgpent>...
>Does anyone know of a way to combine multiple AFP spooled files into a
>single Spooled file? Any applications available for this?
>
I am trying to solve a problem with Facsimile support 400. The product
sends faxes(actualy spooled files). These spooled files are sent through
the AS/400
fax adapter just like a spooled file to a printer. The Actual problem is
the user wants to send multiple spooled files to one fax recipient but have
that spooled file "appear" to be ONE fax. (They would REALLY like for it
to be one phone call, but Fax/400 does not allow this.) If I send several
faxes to the fax adapter One after the other, the user gets the spooled
files in order, However a couple of problems occur. The problem the user
is most concerned with is that the Cover page, sent with the 1st spooled
file, contains the number of pages the recipient should expect to receive,
but when sending the spooled files like this, the cover page only contains
the number of pages in the 1st spooled file, not the entire group of
spooled files.
The other problem of course is that by sending multiple faxes consecutivly,
there is the possiblity that between the sending of one of the spooled
files, and the sending of the next, the recipient's fax machine could
receive another fax from some other source.
SOOOO... I was hoping to find a way to combine the spooled files into a
single spooled file to send through the fax adapter. If the data was only
text (no AFP), I could accomplish this using some funky coding and
utilizing the Office Vision api's to Merge spooled data into a document ,
then print the resulting document as a single spooled file. BUT, AFP data
is lost when including spooled files into a document, and They are in need
of sending Images as well as Text data.
Thanks again for your reply!
--
Mike Geldert, Infinity Software Systems, Inc.
Infinity...@CSI.Com
Anton Gombkötö <gombk...@assoft.com> wrote in article
<34b0d...@news.cso.net>...
> I do not know any tool that does anything similar to that. But i do know
> enough about AFP to tell you that this is one of the most complicated
tasks.
>>>>>>
As an idea you can combine your spool files into one using a CL and send
that spool file using commands such as
This will copy spool1 to Qtemp/Temp
CPYSPLF FILE(&SPLFNAME) TOFILE(QTEMP/Temp) +
JOB(&SPLFJNBR1/&SPLFUSER/&SPLFJOB) +
SPLNBR(&SPLFNBR) CTLCHAR(*FCFC) mbropt(*replace)
This will append spool2 to Qtemp/Temp
CPYSPLF FILE(&SPLFNAME) TOFILE(QTEMP/Temp) +
JOB(&SPLFJNBR2/&SPLFUSER/&SPLFJOB) +
SPLNBR(&SPLFNBR) CTLCHAR(*FCFC) mbropt(*add)
This will create a merged spool file QSYSPRT
OVRPRTF FILE(QSYSPRT) CTLCHAR(*FCFC) OUTQ(&OUTQ) +
FORMTYPE(COPYPACK) HOLD(*NO) SAVE(*NO) +
USRDTA(DUPLICATE) SPLFNAME(&SPLFNAME)
CPYF FROMFILE(QTEMP/Temp) TOFILE(QSYSPRT)
Then you can pump QSYSPRT to your Fax !
Hope this will help
Tissa