FP Transfer

Nancy Palmquist nlp at vss3.com
Wed Nov 18 08:42:12 PST 2009


Rodgers Hemer wrote:
> I will be transferring files from a Windows server to a SCO server and want to create a single transfer file for use by fptransfer.  I don't believe that I can do that in the interactive mode, and there are too large a number of files to fit them all onto one command line.   Can anyone tell me if the file names can be put into a text file and have the command line use the text file as the source of the file names to be transferred?  If the text file can be used in this manner, what is the exact syntax to be used?
>
> Thanks,
>
> Rodgers Hemer
> 206.523.2329
> r.hemer at w-link.net
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>   
Rodgers,

I use the following scripts:

rem send all files back to Unix 1/29/98
set PFDIR=\md
set pfprog=d:\appl50
set pfdsk=H
set pfdata=H:

%pfprog%\fp\xfer -t -pn -lf \mdnew\mos1 math mathtape mosaddr moscx 
mosdata mosdiagn mosdxt mosedits mosemplr mosflds
%pfprog%\fp\xfer -t -pn -lf \mdnew\mos2 moshist moshold mosins mosinsco 
mosinv moslet mosletr moslocat
%pfprog%\fp\xfer -t -pn -lf \mdnew\mos3 mosmast mosmenu mospat mospgrp 
mosprac mosprocd mosrecl mosrefer mosrespt moss1 moss2
%pfprog%\fp\xfer -t -pn -lf \mdnew\mos4 mostext mostrans mostxta moswef 
moswork moswrkmn moszip mosentity
%pfprog%\fp\xfer -t -pn -lf \mdnew\mos5 moscfg moschk moschkh mosctrl 
mosdtl moserr mosedipay moshiaut moshipaa
%pfprog%\fp\xfer -t -pn -lf \mdnew\mos6 moshinv moshtran mosliby mospati 
mosreport moss3 mossub mostest mostestd mosptins
%pfprog%\fp\xfer -t -pn -lf \mdnew\mos7 mosrx mosstat mosrefto mosdrug 
mosusr mosusrlog mosusrlg2

I just got a list of all the files I needed to copy, and cut and pasted 
it on lines like this.    They can be longer, like Ken says but I use 
this over and over and it worked fine.

Then I take the 7 files over to unix, and on the unix side and put them 
in /u/nancy, I just need to do the following, once for each file.

PFPROG=/appl50;export PFPROG
echo -n "PFDIR= "
read PFDIR
export PFDIR
echo -n "Loading to $PFDIR "
read kkk

echo -n "File to read in /u/nancy "
read file
$PFPROG/fp/xfer -r -lf /u/nancy/$file

At the end of the import, you will have an xferix file to rebuild the 
indexes.  Run it before the next xfer and you got it.

I warn you about a few things:

1) Case on Unix is significant - menus that might have said:    dreport 
george -f report
when the filename was really: GEORGE and the report was called Report, 
will not work right.

2) Windows uses auto.prc for the automatic processing table.  The 
transfer will rename it to prc.automatic.  Make sure you do not have any 
conflicts.

3) programming that has a screen "a" command will not work unless the 
screen name is cased lower.

I have done this many times - in both directions.  Windows to Unix is 
the worst, because of the case issues that can crop up in the processing 
tables.

Nancy

-- 
Nancy Palmquist 		MOS & filePro Training Available
Virtual Software Systems	Web Based Training and Consulting	
PHONE: (412) 835-9417		   Web site:  http://www.vss3.com



More information about the Filepro-list mailing list