|
Thank you. Is there a way for EDTF to do this? Oh, found it. F15
Now this works great. Thank you all.
call qp2shell ('/QOpenSys/bin/sh' '/Operations/StartTSM.sh')
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
Keith Carpenter <CarpCon@xxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
01/20/2005 02:53 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc
Subject
Re: Inserting QP2TERM commands into a program
^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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.