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



A customer is in the process of replacing their AS/400 running the CGC 
(Computer Guidance Corporation) applications with an Oracle system. 
They've already got some stuff automated for payroll, in that they can 
push timecards to the Oracle box for processing and check writing. The A/P 
department has been buying custom forms for their checks for many years.

What they want to do now is this:
Since the Oracle package does not yet have a good payables module, they 
want to process A/P all the way through, with the exception of printing 
checks. The spool file is to be sent to the Oracle box, where it will be 
fed through a product called OptioPrint. This is essentially a forms 
management package for a Unix environment.

Everything is set to go on the Oracle box side, and commands entered thru 
QSH actually worked as expected. The Unix programmer wants to build a 
script to be able to automate the process.


Paul Nelson
Arbor Solutions, Inc.
708-670-6978  Cell
pnelson@xxxxxxxxxx





James Rich <james@xxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
02/11/2004 11:52 AM
Please respond to Midrange Systems Technical Discussion

 
        To:     Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
        cc: 
        Subject:        Re: QSH scripting


On Wed, 11 Feb 2004 pnelson@xxxxxxxxxx wrote:

> This might be the wrong list, but I've had a question regarding 
scripting
> in QSH. Anybody have any experience? Links to documentation?  Thanks.

Do you have a specific example of something you would like to do in QSH?
Several people here have done scripting and may be able to help you out.

The hardcore scripting books are from O'Reilly (http://www.ora.com).  You
probably want one on the Bash shell.  One thing to keep in mind is that
QSH follows traditional UNIX style, not GNU style.  So a book on UNIX is
probably better than a book on linux since a linux book may use GNU style
options (every GNU command I can think of also follows traditional UNIX
style in addition to GNU style, but you may not know that --recursive is
the same as -R).

Just for the curious, traditional UNIX style for a recursive copy command
is this:

cp -R directory/to/copy destination

GNU style is this:

cp --recursive directory/to/copy destination

GNU style usually has longer, more descriptive options (in addition to
supporting the traditional ones).  I like GNU :)

James Rich

"As for security, being lectured by Microsoft is like receiving wise words
on the subject of compassion from Stalin."
      -- mormop on lwn.net
_______________________________________________
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.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.