i just wrote a program(command) to read the directory the PTFs are in and
add them to the image catalog. so no need for all the quo rcmd...
Thanks,
Tommy Holden
From:
Jerry Draper <midrangel@xxxxxxxxxxxxx>
To:
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date:
09/11/2008 11:12 AM
Subject:
Re: Batch FTP failing to Fix Central
Sent by:
midrange-l-bounces@xxxxxxxxxxxx
Here's the script used recently to move v5r4 media from one machine to
another and add the image catalog entries also.
Folders must already exist.
Same can be done with cumPTF.
Jerry
userid password
namefmt 1
quote site namefmt 1
cd /optvrt/v5r4
lcd /optvrt/v5r4
binary
mget *
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/B2924_0101')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/B2924_0201')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/B29MM_0301')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/B29MM_0401')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/D2924_0101')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/D2924_02')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/D2924_0301')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/D2924_0401')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/D2924_0501')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/D2924_0601')
TOFILE(*fromfile)
quote rcmd ADDIMGCLGE IMGCLG(V5R4) FROMFILE('/optvrt/v5r4/D2924_0701')
TOFILE(*fromfile)
Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx wrote:
FWIW, i don't do it that way either i do the download "2-step" and FTP
the
files after they are downloaded to my PC...that was just to provide an
alternative to doing the 2-step. but i haven't noticed any "slow"
performance using mapped drives personally, but with 6 LPARs it's just
easier for me IMO to do the ol' 2-step...
Thanks,
Tommy Holden
As an Amazon Associate we earn from qualifying purchases.