× 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: "Jeffrey Silberberg" <jsilberberg@xxxxxxxxxxxxxx>
  • Date: Tue, 27 Mar 2001 23:54:58 -0500

Title: Continuing FTP script statement.
 Okay Mike,
 
        I have two thoughts here. First, since the early days of System/38 CPF there has been a way to put a bunch of CL commands into a source member and then submit a job to execute them without creating a CLP. I think it was SBMDBJOB but it's been awhile. Anyway, you could FTP your command source to the target AS/400 and then you can SBM a job to execute the CL commands in the member.
 
        Second, your assumption that this is the best way to do this is a little flawed in that this is the FIRST thing I recommend anyone turning the FTP demon on protect against in there Exit Program.
 
Jeffrey M. Silberberg
Independent Consultant
CompuDesigns, Inc.
(770) 399-9464
 
AS SOON AS I KNOW THE ANSWERS
THEY CHANGE THE QUESTIONS
 
 
----- Original Message -----
Sent: Tuesday, March 27, 2001 10:31 PM
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.