× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



So thats the ticket! "Providing you stored the bin file in the same directory served by the image catalog."

I only have two questions: 1. What is the syntax on the FROMFILE parameter when copying from the CD? and 2. Is it necessary to create the folders with the MD command prior to creating the image catalog?

Here is what I have so far for the FAQ: (looks better in a document)

Building an image catalog on the iSeries:

Create a virtual optical device to be used to "contain" the image catalog (you'll need to do this only once):

CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT) ONLINE(*YES) TEXT('Virtual optical 
drive for image catalog')

Make the drive available (after you create it the first time only):

VRYCFG CFGOBJ(OPTVRT01) CFGTYPE(*DEV) STATUS(*ON)

Create the image catalog to copy the images to:

CRTIMGCLG IMGCLG(PTFCATALOG) DIR('/fixes') TEXT('PTF image catalog')

At this point you will need to copy the images to the catalog folder. You can 
do this by either using the FTP commands sent to you when you ordered your 
PTF's (online) or you can copy the contents of the CD's to the image catalog 
folder ('/fixes in this example) using the following command:

**** I'll need to work out those commands and add them here. It may be just as Rob said; All you need to do is use the optical drive/path when you add the image catalog entry if so, I'll mention that here*****
For each .bin (binary) file in the folder, use the following command to 
"register" the existing bin file to the image catalog.  This will save space by 
using only one copy of the image (the TOFILE(*FROMFILE) parameter will do this IF the 
folder referenced in the FROMFILE is the same folder as identified in the DIR parameter 
in the CRTIMGCLG command) :
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE('/fixes/TheFtp.binFileNameHere') TOFILE(*FROMFILE) REPLACE(*INSERT)

"Load" the image catalog into your virtual drive:

LODIMGCLG IMGCLG(PTFCATALOG) DEV(OPTVRT01)

Verify that all is well with the loaded catalog:

VFYIMGCLG IMGCLG(PTFCATALOG) TYPE(*PTF) SORT(*YES)

Work with the contents of the image catalog (if you need to change something - 
like the order of the images)

WRKIMGCLGE PTFCATALOG

Run your PTF option as follows, using the Virtual Optical drive.

GO PTF
8. Install program temporary fix package

Install Options for Program Temporary Fixes System: GDI Type choices, press Enter. Device . . . . . . . . . OPTVRT01 Name, *SERVICE Automatic IPL . . . . . . N Y=Yes N=No

You can load as many image catalogs as you want (as space permits) so that you 
could create a series of image catalogs for sequential loading as follows:

Create the directories for the image catalog:

md '/fixes'
md '/fixes/cume'
md '/fixes/SF99529'
md '/fixes/SF99269'

Create the image catalogs:

CRTIMGCLG IMGCLG(CUME) DIR('/fixes/cume')
CRTIMGCLG IMGCLG(SF99529) DIR('/fixes/SF99529')
CRTIMGCLG IMGCLG(SF99269) DIR('/fixes/SF99269'
...

Add image catalog entries for each as listed above.


Then you just run multiple
LODIMGCLG IMGCLG(CUME) DEV(OPTVRT01) OPTION(*LOAD)
GO PTF, Option 8, no ipl
LODIMGCLG IMGCLG(CUME) DEV(OPTVRT01) OPTION(*UNLOAD)
LODIMGCLG IMGCLG(SF99529) DEV(OPTVRT01) OPTION(*LOAD)
GO PTF, Option 8, no ipl
LODIMGCLG IMGCLG(SF99529) DEV(OPTVRT01) OPTION(*UNLOAD)
...
And so on.


rob@xxxxxxxxx wrote:

Joe,

Get the key out your ear and listen.
If you use the TOFILE(*fromfile) option on ADDIMGCLGE it does NOT make a copy of the bin file. It just registers the existing bin file to the image catalog. Providing you stored the bin file in the same directory served by the image catalog.

But, if you want to do it the hard way and not use the *FROMFILE then, yes, you can delete the original bin file.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.