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




On 2012-11-13, at 4:08 PM, midrange-l-request@xxxxxxxxxxxx wrote:

Using STRDBG on the CL program I have determined the &LSCOMMAND contains the following value

ls /weborders/HB*.txt >/qsys.lib/hbmofa.lib/webordifs.file/webordifs.mbr

Copying and pasting this text into the QSH command and pressing Enter results in the file HBMOFA/WEBORDIFS being populated with the following records (***NOTE*** I made sure that the file was empty BEFORE the QSH command was given:-

I didn't think it was needed here but the only possibility that springs to mind is that the string &LSCOMMAND is not null terminated. Copy/paste would work as expected but from within a CL program ... If that is the answer then it probably worked in the past because there happened to be a hex 0 lying around in the right spot.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





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.