× 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 Rob
At the moment if I said that 2 + 2 =4 and you replied that it wasn't, I'm pretty sure that I would doubt my original answer.
In other words, I'm not too sure.
The best way that I think I can answer that, is by repeating what I had originally written.

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:-

Record# ....5...10...15...20...25...30.
1 /weborders/HB1000001860.txt
2 /weborders/HB1000001870.txt
3 /weborders/HB1000001880.txt
4 /weborders/HB1000001890.txt
5 /weborders/HB1000001930.txt
6 /weborders/HB1000001940.txt
7 /weborders/HB1000001950.txt
8 /weborders/HB1000002030.txt
9 /weborders/HB1000002040.txt
10 /weborders/HB1000002050.txt
11 /weborders/HB1000002060.txt
12 /weborders/HB1000003210.txt


Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Tuesday, November 13, 2012 3:55 PM
To: Midrange Systems Technical Discussion
Subject: RE: Problem with QSH command that is sending me UP the wall

Are you sure that it IS pointing to the directory that you are trying to interrogate, and not the qsys.lib directory you are writing to?


Rob Berendt

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.