Having been an AS/400 administrator for a number of years, the newer
version of the aforementioned PC Support is now called Client Access.
However, there's a better way to do this - hold the printer queue, then
run whatever job that generates the spool file.  Before you release the
queue, use the command cpysplf then hit f4.  There are a number of
options to take, but you are looking to copy this to a regular flat file
in whatever library.  Once this is in a file format, you can ftp to the
400 and grab the flat file, and then do whatever you want to it.  Sorry
for being vague - it's been a couple of years since I've even signed on
to a 400.  

Barry Willett



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Frank Bax
Sent: Tuesday, October 15, 2002 12:39 PM
To: [EMAIL PROTECTED]
Subject: Re: AS/400 data


At 12:35 PM 10/15/02, Mark wrote:
>On Tuesday 15 October 2002 06:50 am, Richard is done writ:
>
> > I've been given a little challenge by my boss which I'm kinda hoping

> > one of you kinda people can help me with. We need to capture some 
> > data from a AS/400 system held centrally. The data can only be 
> > exported by way of a print job from the AS/400 which prints it 
> > through a server not
> controlled by
> > us to a jet direct print server using port 9100 instead of the 
> > traditional LPR/LPD Mechanism. I need to find a way to substitute a 
> > pc for the print server so the jobs can be dumped to a text file on 
> > the hard disk of the machine.
><snip>
>Seems to me that you ought to be able to write it to a disk file, and 
>then transfer it over your network. I've only done a tiny bit of CL, 
>but I should think that you could reroute the o/p to a file.
>
>Now, keep in mind that the only time I worked with an AS/400 was 
>1987-8, but you might also dig into the manuals, and see if they've 
>added some stuff that was part of CICS...pcsup...can't remember, but it

>wasn't too hard to write a CICS app, no screen, that would accept 
>access from the pc, and select a bunch of data on the fly, and d/l it.
>
>         mark

You mixing mainframes here - CICS was part of MVS systems, I don't think
it 
was available on the AS/400 - I think you started to say PC-Support -
the 
AS/400 terminal emulation software that provides several options for 
getting data from AS/400 to PC; including:
- interactive file transfer,
- AS/400 can be PC network file server,
- interactive query tool that generates SQL.

Just have the print job directed to a print queue for which no real
printer 
exists.  Then go look in the appropriate library on the AS/400 and
download 
the report file.  I seem to remember it being that simple (1992-3 for
me).

Or, configure PC-Support to be the printer the AS/400 wants and then do
not 
actually have a printer on that port (say LPT3, for example) - your PC
will 
then have the file in a spool directory somewhere.

Frank



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to