I need some help with the following:
I have some output in my spool file. But I don't want to send it to a
printer but I want it to become an ASCII text file which I can download and
use on my PC (Windows OS).
How do I do this?
I'm not an AS400 expert but I know this can be done. I just need to know
what command's I need to use...
Thanks
Patrick Oosterholt
P.Oost...@allers.nl
Something like:
CRTPF FILE(MYLIB/MYPRINT) RCDLEN(133)
MAXMBRS(*NOMAX) SIZE(*NOMAX)
then, once I have the spool file of interest:
CPYSPLF FILE(QSYSPRT) TOFILE(MYLIB/MYFILE)
JOB(00nnnn/USERID/QPADEV00nn) SPLNBR(nnn) TOMBR(MYNAME)
MBROPT(*REPLACE)
Be sure to replace the various "nn" with the correct values. A spool file is
known by its job number, the user profile, and the third parameter is usualy
something like the 5250 session that the job was executing under. The SPLNBR
is there because some jobs have more than one version of a file, especially
QSYSPRT which is where things like stdout in C or many regular AS/400 commands
end up.
Then, just use FTP to upload MYLIB/MYFILE MYNAME to something meaningful on
the PC.
Check around. A lot of people provide a variety of front-ends to this
process. The guy next
door may have a nifty little utility that makes all this easy.
Patrick Oosterholt- Allers Bedrijfswagens B.V. <P.Oost...@allers.nl>
schreef in berichtnieuws 94103633...@WHIRLwind.plex.nl...
SPLTOOL will let you download a spooled file via FTP, shared folders or
the IFS to text, doc, excel, or html.
--
Bradley V. Stone
BVS/Tools
http://www.bvstools.com
(posting via DN because my ISP can't run a newserver)
Sent via Deja.com http://www.deja.com/
Before you buy.
Here's the web site address: http://www.rjssoft.com
Regards,
Richard Schoen
RJS Software Systems
Patrick Oosterholt- Allers Bedrijfswagens B.V. wrote in message
<94103633...@WHIRLwind.plex.nl>...
Best regards,
Diana Bao
Symtrax
In article <94103633...@WHIRLwind.plex.nl>,
"Patrick Oosterholt- Allers Bedrijfswagens
B.V." <P.Oost...@allers.nl> wrote:
> Greetings,
>
> I need some help with the following:
>
> I have some output in my spool file. But I
don't want to send it to a
> printer but I want it to become an ASCII text
file which I can download and
> use on my PC (Windows OS).
>
> How do I do this?
>
> I'm not an AS400 expert but I know this can be
done. I just need to know
> what command's I need to use...
>
> Thanks
>
> Patrick Oosterholt
> P.Oost...@allers.nl
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Brian Dinter
Andy
Itpro99 wrote in message <19991114115737...@ng-fu1.aol.com>...