|
In the TOOBJ put /QSYS.LIB/MYLIB.LIB/MYFILE.FILE/MYMBR.MBR
On Thu, Jun 22, 2023 at 9:58 AM tim ken <timk2574@xxxxxxxxx> wrote:
Thanks for these suggestions...path
Just to clarify I want the file which is already there on the IFS
Directory path , I want it to be copied into any qualified path let's say
into LIBA/SRCPF1 and into it's member 'xyz' .
but when I do option '3' for this file which is there on IFS Directory
then there is no such option available to move /copy it to the myintended
library/source physical ?'/home/K21/Callstack.txt'
what i see is like below:-
Copy Object (CPY)
Type choices, press Enter.
Object . . . . . . . . . . . . . OBJ >
any
To directory . . . . . . . . . . TODIR '.'
To object . . . . . . . . . . . TOOBJ
Symbolic link . . . . . . . . . SYMLNK *NO
From CCSID . . . . . . . . . . . FROMCCSID *OBJ
To CCSID . . . . . . . . . . . . TOCCSID *OBJ
Data Format . . . . . . . . . . DTAFMT *BINARY
Directory subtree . . . . . . . SUBTREE *NODIR
Replace object . . . . . . . . . REPLACE *NO
Owner . . . . . . . . . . . . . OWNER *NEW
Authority . . . . . . . . . . . AUT *OBJ
So it suggests to copy in to another IFS path not in to the
library/source physical file or no option to move it in to library/sourcethis
physical file and in'ts any member.
So if i want to achieve this then how to do so?
Thanks
On Wed, 21 Jun 2023 at 20:54, Raul Alberto Jager Weiler <
raul.jager@xxxxxxxxx> wrote:
Your user is k21, and the CD tries k211.in
El mar, 20 de jun de 2023, 11:40, Buck Calabro <kc2hiz@xxxxxxxxx>
escribió:
On 6/20/2023 10:59 AM, tim ken wrote:
Hi,error(550)
Thanks.
I tried both but none worked to change current library and same
i got: -
User (pub400.com:(none)): K21
331 Enter password.
Password:
230 K21 logged on.
ftp> QUOTE SITE NAMEFMT 1
250 Now using naming format "1".
ftp> cd k211
550-Specified directory does not exist or cannot be accessed.
550 Working directory not changed.
ftp> QUOTE SITE NAMEFMT 0
550 Current directory requires name format 1.
ftp> QUOTE SITE NAMEFMT 1
250 Now using naming format "1".
ftp> cd k211
550-Specified directory does not exist or cannot be accessed.
550 Working directory not changed.
ftp>
The initial request was for a manual reference. All IBM i manuals are
the Knowledge Center: https://www.ibm.com/docs/en/i/7.4 If one is
unfamiliar with the way IBM organise titles, try the searches. In
that.applications,specific case, FTP is documented under Networking > TCP/IP
protocols, and services > FTP on IBM i:
https://www.ibm.com/docs/en/i/7.4?topic=services-ftp-i Very few IBM
manuals are tutorials with step-by-step instructions. They tend to be
reference material, to remind one of the exact syntax for this or
TheI think the reference you are looking for is here:
https://www.ibm.com/docs/en/i/7.4?topic=i-ftp-reference-information
The advice you've received to 'learn FTP' is sound, but somewhat
spartan. NAMEFMT is probably the one thing that confuses newcomers.
/QSYS.LIB/LIBRARY.LIB/FILE.FILE/MEMBER.MBRcourse,default is NAMEFMT 0 - LIBRARY/FILE(MEMBER). The IBM FTP server will
switch over to NAMEFMT 1 if the very first FTP subcommand that has a
file parameter specifies that file with a slash or tilde. Or, of
if you issue your own NAMEFMT 1, as was done here. In NAMEFMT 1, one
specifies only IFS paths, so
veryin.Do note the leading slash!
Let's take a peep at the session above. It specifies NAMEFMT 1, which
means IFS paths. Then, cd k211 is issued. Since there's no leading
slash, that makes this a /relative/ reference - change to the k211
directory that's inside the current directory the session is already
currentThat's your home IFS directory up on the PUB400 server. Not your
library, but your home directory. DSPUSRPRF K21, page down to the
let'sbottom and there's your home directory. For the sake of example,
LIBRARY/FILE(MEMBER),assume it's /home/K21. The 'cd k211' command is trying to change the
current directory to /home/K21/k211 - which clearly does not exist.
Try a new FTP session. If you want to manipulate
mailingdon't issue NAMEFMT 1 and don't CD /somedir. Make the very first FTPconfirmation.
subcommand that you issue be a CD LIBRARY and you'll see the
--buck
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
relatedlistrelated
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
listquestions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
listquestions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
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.