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



ok thanks, i thought password was missing.

On Thu, Sep 11, 2014 at 5:59 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

You need to put rcmd in between quote and call.

You also need a password in there for AS_400_USER - sometimes it needs to
be on a separate line, sometimes on the same line with a space in between.

you also need a space after pgm - that needs to be the program name - the
parms are in their own parameter call PARMS, but that name doesn't need to
be there.

I've done this, but quite awhile ago - so I'm not sure about the ftp
command itself and its options -

HTH
Vern


On 9/11/2014 4:44 PM, Hoteltravelfundotcom wrote:

I have some syntax, 2 files - do you see any problem to run the cl pgm
from
a pc ?

//* this is to run the pgm on the ibm i the name of this is RPGCALL
1. open S1234567
AS_400_USER
cd lib_400
quote call pgm(parm1 parm2)
quit

--------------------------------


2. this is the batch file to run the above.

@echo off
echo Running FTP to Call RPG Program
ftp -s:RPGCALL.txt


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