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


  • Subject: Re: Continuing FTP script statement.
  • From: "Norm Dennis" <wmss@xxxxxxxxxxxx>
  • Date: Wed, 28 Mar 2001 13:35:34 +0800

Title: Continuing FTP script statement.
Mike,
thinking outside of the square, if you have a PC connected to your AS400's, you should be able to set up a text file which can be called using FTP from your PC to access the 400 and run the appropriate commands.
 
Is this an option?
 
Norm
 
 
----- Original Message -----
Sent: Wednesday, 28 March 2001 11:31
Subject: RE: Continuing FTP script statement.

No there's not, but then I'd have to create the command on the other machine. Something I can't gurantee will always be possible. The beauty of the RCMD is that it seems to allow access to the full range of OS/400 commands which all AS400s will have. To run my command remotely I would have to ensure all our clients have access to the new wrapper command which seems to defeat the purpose of FTP.
Anyway, I created a new source file with a record length of 240 bytes to get the full RSTOBJ parameters in one line and it works fine. It's still a limitied solution thought, cos somewhere, someday, somehow the limit will be hit. Thanks for replying though.
-----Original Message-----
From: Dennis Lovelady [mailto:dennis@lovelady.com]
Sent: Wednesday, 28 March 2001 12:53
To: MIDRANGE-L@midrange.com
Subject: Re: Continuing FTP script statement.

Hi, Mike:
 
Is there a reason you cannot create a CLP that will run your ridiculously long AS/400 command, and then just QUOTE RCMD that?
 
Just a thought.
--
Dennis Lovelady             Fayetteville, GA
mail: dennis@lovelady.com
URL:  http://www.lovelady.com
ICQ:  5734860
--
Transmitted on 100% recycled electrons
----- Original Message -----
Sent: Tuesday, March 27, 2001 8:22 PM
Subject: Continuing FTP script statement.

I need to run a longish command to restore a save file after an FTP transfer and the AS400 command statement along with the QUOTE and RCMD verbs is longer than the standard source file record length of 80 bytes.

Is there a way of continuing a script line over two source lines or do I have to create a ridiculously long record length to cater for large script statements?

Thanks in advance,

Mike Pantzopoulos


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.