This might be crazy but can you try £syscmd

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John McKee
Sent: 08 May 2009 21:09
To: Midrange Systems Technical Discussion
Subject: QSH setting a variable

This is so stupid. I can generate a list of files and retrieve that list of
files just fine. But, for each file I rertieve using sftp, I need to send the
content through the CPYFRMIMPF command.

My thinking was that all i needed to do was this:


eval syscmd = 'CPYFRMIMPF FRMSTMF($i) TOFILS(X).....'
system $syscmd

The above is not working. I put in echo $syscmd, and I see nothing.

The $i is being set by a for loop. It is being populated. I trued not using
eval as well. Tried including export syscmd. Just not seeing anything for the
command.

Gotta be something wrong. Something obvious.

John McKee


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