I am working on an iASP
machine where an *SYSBAS
and an independent auxiliary storage pool (IASP
) is installed and I can FTP
my save file to the *SYSBAS
on the IASP
machine from a non-IASP
machine. However, I am facing an issue in doing FTP to the IASP device.
I have a library named SUPPORTLIB
present on the ASP device
on the IASP machine, and I was running the following command for FTP.
From the IBM i green screen command line, run the following command to FTP to the IASP machine system name.
FTP systemName
Once the FTP screen appears, Enter the following commands.
Login UserId -- of IASP machine --
password -- of IASP machine --
-- Once logged On, Executed below commands --
bin
namefmt 1
put /qsys.lib/libnameOnNonAspMachine.lib/SavefileNameOnNonAspMachine.savf
/qsys.lib/libnameOnAspMachineAspDevice.lib/SavefileName.savf
I tried the same above commands from the IASP machine itself and used the get
FTP command instead of put
FTP command there but failed.
Also, I was trying it from the Windows PC, i.e. I downloaded the save file from a non-IASP machine to the Windows PC and then tried to FTP the save file to the IASP device on the IBM i machine and did not succeed and failed. I am not able to figure out how to resolve the IASP device machine during FTP and none of the ASP device libraries are available while doing FTP causing the FTP error 550 Library XYZ not found
.
Ran the following commands from the Windows Command prompt.
cd desktop
ftp systemname
Userid
password
--logged On--
quote site namefmt 1
put savefilename.savf /qsys.lib/libnameOnAspMachineAspDevice.lib/
SavefileName.savf
I also tried this but failed, but getting the message 550-Specified directory does not exist or cannot be accessed
cd desktop
ftp systemname
Userid
password
--logged On--
quote site namefmt 0
cd libNameonIASPdevice
Here are all the possible ways you can do the
FTP
to anIASP
instead of*SYSBAS
on your IBM i machine.FTP from a Non-IASP machine to the IASP device on an IBM i machine using the PUT command:
Please follow the following steps.
On the
Non-IASP machine
command line, typeFTP systemname
and press Enter.Here,
systemname
is the name of theIASP machine
. Now use the following FTP commands toFTP from a non-asp machine to an IASP on an IBM i machine using the PUT command
.Using namefmt 1:
Using namefmt 0:
Create a
save file
in the respective library on theIASP device
first, then try the below FTP commands.FTP from a Non-IASP machine to the IASP device on an IBM i machine using GET command:
Please follow the following steps.
On the
IASP machine
command line, First typeSETASPGRP ASPGRP(IASP1)
and press Enter. — (Replace IASP1 with your ASP device). Second, typeFTP systemname
and press Enter.Here,
systemname
is the name of theNon-IASP machine
. Now use the following FTP commands toFTP from a non-asp machine to an IASP on an IBM i machine using GET command
.Using namefmt 1:
Using namefmt 0:
Create a save file in the respective library on the IASP device first then try the below FTP commands.
FTP from a Windows PC to the IASP device on an IBM i machine using the PUT command:
Please follow the following steps. Assuming your save file is present on the Desktop.
On the Windows PC open the DOS command prompt.
Using namefmt 1:
Using namefmt 0:
Create a save file in the respective library on the IASP device first then try the below FTP commands.
FTP from an IASP device on an IBM i machine to a Windows PC using the GET command:
Please follow the following steps. Assuming your save file is to be downloaded on the Desktop.
On the Windows PC open the DOS command prompt.
Using namefmt 1:
Using namefmt 0: