MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » November 2006

Re: FTP question



fixed

To execute local commands inside an as400 ftp client session, use the ! command aka syscmd

get src1 qcblsrc.src1
! CHGPFM FILE(library/qcblsrc) MBR(src1) SRCTYPE(cbl)

Shalom Carmel
----------------
www.hackingiseries.com



----- Original Message -----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Rosinger
Sent: Friday, November 10, 2006 4:31 PM
To: midrange-l@xxxxxxxxxxxx
Subject: FTP question

List,

I have an FTP job that will transfer a COBOL copybook from a VSE/ESA
system to a library/sourcefile on the iSeries. The process works fine,
but when the sourcefile member is first created the member "type" is
undefined. Is there an FTP command I can issue to set the source type?

I know that I can add a second step after the FTP and issue a command
remotely to do this:

       CHGPFM FILE(library/sourcefile) MBR(member) SRCTYPE(type)

but I was hoping to accomplish the entire task via FTP. TIA!

--
Regards,

Michael Rosinger
Systems Programmer / DBA
Computer Credit, Inc.
640 West Fourth Street
Winston-Salem, NC  27101
336-761-1524
m rosinger at cciws dot com








Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact