× 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.






Hi Dave:

Well, the "other team" dont want to do anything other than start their jobs
at a set time every day!  So, thats why I want to copy/print the STMF to a
print queue straight on the unix box.

cheers,
viji




                                                                                
                                                          
                      Dave Schnee                                               
                                                          
                      <DSchnee@barsaconsul        To:       
midrange-l@xxxxxxxxxxxx                                                       
                      ting.com>                   cc:                           
                                                          
                      Sent by:                    Subject:  Re: MIDRANGE-L 
Digest, Vol 3, Issue 1813 - Printing from IFS to a Unix Box    
                      midrange-l-bounces@m                                      
                                                          
                      idrange.com                                               
                                                          
                                                                                
                                                          
                                                                                
                                                          
                      11/17/2004 10:46 AM                                       
                                                          
                      Please respond to                                         
                                                          
                      Midrange Systems                                          
                                                          
                      Technical Discussion                                      
                                                          
                                                                                
                                                          
                                                                                
                                                          




Viji:

So long as you have actually created the correct data in the IFS file,
it's no problem to get it to the Unix box as a "file".  You can also get
it there if it is stored as a QSYS.LIB DB2 file.  The easiest way I've
found is FTP.  The iSeries has quite a capable FTP client and it can be
driven with commands stored in another file (source PF, for example)
which, if needed can also be generated for each transmission (e.g., if the
names or directories or destinations need to change).

This will not get it actually sent to the printer on the Unix box, but
there are ways in Unix to notice a "new" file and do something with it
(like copy it to the printer).

Try it, you'll like it.

Dave Schnee
Barsa Consulting Group, LLC

Viji.X.Sethuraman wrote - - - - -

date: Wed, 17 Nov 2004 09:41:54 -0800
from: Viji.X.Sethuraman@xxxxxxxxxxxxx
subject: Printing from IFS to a Unix Box

Folks:

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.

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?

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.

Thanks, viji
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.







This  message,together  with  any  attachments, is
intended only for the use of the individual or entity
to which it is addressed. It may contain information
that is confidential and prohibited from disclosure.
If you are not the intended recipient, you are hereby
notified that  any dissemination  or copying of this
message or any attachment is strictly prohibited. If
you have received this message in error, please notify
the  original  sender immediately by telephone or by
return e-mail and delete this message, along with any
attachments, from your computer.  Thank you.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.