× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> I have a requirement to create a print file on the iseries.   This has to
> be sent to a Unix box using the LPR command.  The problem is that the data
> will exceed 378 characters and so the spoolfile will not do.
>
> The thought is to create a variable record length file on the IFS.

You mean a stream file, right?

> Now, can this file has to be sent to a print queue on a Unix box ? - The
> software is by ExStream.
>
> Is this possible from an AS400 CLP using Qshell commands? Is it possible at
> all?

AFIAK, there's no lpr command in QShell.  LPR support is available in the
form of CL commands -- but they only act upon spooled files on the iSeries
side.

You could certainly write an HLL program that would do this.  I did it in
ILE RPG a few years ago using the sockets API because I had the same
requirements that you do.

> What with all the enhancements to Linux by IBM, I am hoping it is
> possible.... Has anyone done this before? Any help would be appreciated.

I'm not sure what this has to do with "enhancements to Linux"?  Linux has
ALWAYS had the capability to do this.

You have a rather unusual requirement here, because IBM expects LPR to be
used for printing, and expects that printouts will be spooled files on the
iSeries side.  They don't expect you to want to send a stream file! :)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.