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



Am I the only one using ||, |<, etc for CL instead of the verbose option?

All that visual clutter drives me nuts.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power

 
 




From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of dlclark@xxxxxxxxxxxxxxxx <dlclark@xxxxxxxxxxxxxxxx>
Sent: Tuesday, March 6, 2018 9:00 AM
To: Midrange Systems Technical Discussion
Subject: Re: qsh from cl
 

"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 03/06/2018
11:45:23 AM:
On 3/6/2018 9:31 AM, Rob Berendt wrote:
Easy.
chgvar &myqshcmd ('cp ' *cat &file *cat ' ' *cat &fileto)
QSH        CMD(&myqshcmd)

Small change I would suggest ...

chgvar &myqshcmd ('cp ' *cat &file *tcat ' ' *cat &fileto)


        Even simpler if you use the *BCAT function to both truncate
previous trailing blanks and add one blank at the same time.


chgvar &myqshcmd ('cp' *bcat &file *bcat &fileto)


Sincerely,

Dave Clark

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.