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



^M is a Carriage Return

PASE is expecting the unix convention of LF (linefeeds) as the line delimiter and not CRLR as is used in the Windows/DOS world.

You'll need to write/save/convert your script file to use LFs only.

Your pre-defined "StartTSM.sh" may already be correct.

Fun huh ?




rob@xxxxxxxxx wrote:
Well, I modified it around to test qp2shell on our development machine without TSM. It now looks like:
....+....1....+....2....+....3
************Beginning of data
#!/usr/bin/sh cd /ROB ls >/Operations/list.txt ************End of Data******


And I verified that /ROB exists with
wrklnk '/r*'
Object link
...
ron REPTEMP
ROB ROBTEST
...


Now when I run call qp2shell ('/QOpenSys/bin/sh' '/Operations/StartTSM.sh')
I get a qshell terminal session with:
/Operations/StartTSM.sh[2]: /ROB^M: not found.
Press ENTER to end terminal session.


What's this control-M garbage?

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.