|
Every command in QShell is a symbolic link to a program - thoseprograms
handle parameters the way a C program does - in my experience. Thereis
a MV command in QShell, and its program is QSHELL/MV. This is anexample
of using it that does just what you want -
call QSHELL/MV ('/home/vern/aab.txt' '/home/aab.txt')
Scott, here's a chance for another article!!
I figured this out about 6 years ago and had forgot it. If you want it
not to prompt when replacing, add a parameter with value '-f'.directory
Whoopee!!
Vern
Chris Bipes wrote:
Not so crazy.. But how to write records to a iSeries Database from
within that shell script? Then make it wake up an process the
currentlyuntil empty every few minutes. We receive images from our customers,
thousands a day, and move them from our FTP and WEB servers,
weto a windows 2003 server. Our problem has been finding images when
tohave too many files in one directory. This is why we are building a
database as the images come in, move them to our NAS which we have
mounted an empty IFS directory over. Then we can search the database
find the image and know exactly where it is.
Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
Sent: Thursday, November 12, 2009 9:24 AM
To: Midrange Systems Technical Discussion
Subject: Re: opendir()
Chris
Here's a crazy idea - write a shell script and run it in PASE!
As an Amazon Associate we earn from qualifying purchases.
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.