Why not have the 400 control it and use a get of the file from the pc

Mark Allen
I.S. Manager
Wilkes Telephone & Electric
A Dycom Company
Phone: (706) 678-9565
Email: allenmark@nu-z.net
http://www.nu-z.net




:-----Original Message-----
:From: midrange-l-admin@midrange.com
:[mailto:midrange-l-admin@midrange.com] On Behalf Of vhamberg@attbi.com
:Sent: Thursday, June 20, 2002 5:44 PM
:To: midrange-l@midrange.com
:Subject: Re: FTP Strange One - V5R1
:
:
:You COULD create an exe on the PC that runs the script
:with output redirected to a .txt, then scan the file for
:return codes.
:
:ftp host -s:script > output.txt
:
:Or maybe DOS batch files can scan - it's been awhile.
:
:Alternatively, this could be a candidate for FTP exit
:program use - no need then to SBMJOB. I'm not sure,
:though, about notification of failure to the PC.
:> I've got a strange one that began after installing V5R1 a few weeks
:> ago.
:>
:> In brief, we have a PC running DOS 6.22 that receives orders
:from our
:> sales reps laptops.  The PC is connected to the AS/400 via ethernet.
:> These orders are put into a text file ("TORDER.DAT") and
:FTP'ed to the
:> IFS.  Immediately after the FTP PUT command, the PC issues a SBMJOB
:> command to the AS/400 that processes these orders.
:>
:> The first thing the submitted job does is a RNM of "TORDER.DAT" to
:> "Jnnnnnn.DAT" where nnnnnn is the AS/400 job number.  This
:happens at
:> least 30 times _per day_.  About 2-3 times per week the RNM
:will fail
:> with CPFA0A9 Object not found meaning TORDER.DAT does not
:exist.  If I
:> look at the IFS it is indeed not there.  This would likely
:indicate to
:> me the FTP PUT command failed.  I don't know any way to capture at
:> that PC if the PUT has failed and I'm never there to see it.
:>
:> Can anyone think of something that may have changed with V5R1 that
:> would cause almost random FTP failures?  Changing from V4R5
:to V5R1 is
:> the only thing different, so I'm presuming that is the first
:place to
:> look.
:>
:> Thanks.
:>
:> --
:> Jeff Crosby
:_______________________________________________
:This is the Midrange Systems Technical Discussion (MIDRANGE-L)
:mailing list To post a message email: MIDRANGE-L@midrange.com
:To subscribe, unsubscribe, or change list options,
:visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
:or email: MIDRANGE-L-request@midrange.com
: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 ...

Follow-Ups:
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.