Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how do I move/copy phys. file from QSYS.LIB/QGPL.LIB to IFS under /home ?

61 views
Skip to first unread message

Karl Hanson

unread,
Jun 21, 2000, 3:00:00 AM6/21/00
to
Extra wrote:
>
> I want to copy or move a physical file from the QGPL library to the
> IFS, to a subdirectory under /home.
> How do I go about ?
> if my physical file is named SS000530 and if I want to move it to a
> file on the IFS named SS000530.html which commands do I use and how do
> I use the command??
> Could it be done by MOV or shouldI use FTP and how do I refer to the
> files?
>

Try the CPYTOSTMF (Copy to Stream File) command or the COPY/CPY
command. Physical files only exist in the QSYS.LIB file system, so
cannot be moved to another file system. The copy commands can be used
to copy the data from a physical file (member) into new objects (stream
files).

Also it is possible to create a symbolic link from another file system
to a physical file (member) in the QSYS.LIB file system. See the ADDLNK
command.

--

Karl Hanson

Karl Hanson

unread,
Jun 21, 2000, 3:00:00 AM6/21/00
to
Extra wrote:
>
> Thanks Karl,
>
> Now how do I refer to the physical file member in the QSYS.LIB file
> sytem, like this?: \QSYS.LIB\QGPL.LIB\SS000530.FILE
> It doesn't work so I am clearly missing something?
> How do I refer to the member
> T.I.A.
>

It is: /QSYS.LIB/QGPL.LIB/SS000530/xxxx.MBR
That is, the last name element is the member name followed by ".MBR"
suffix.
See section 5.4.2.4 Path Names in the IFS Intro manual for more info:

http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/QB3AUH02/5.4.2.4

http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/DOCNUM/SC41-5711-02/CCONTENTS

--

Karl Hanson

0 new messages