A simple list of the files in an *INSTALLDATAFILE can be retrieved using t FLEX (FILES IN ..) or SUPERVISOR (TT PDT IN...)or CopyWrite (PDT CD IMAGE ...), and the information contained within a Simple Install *INSTALLDATAFILE can be accessed as file attributes by FLEX, and can be used by CopyWrite when creating a Self Extracting Archive.
The Flex command FILES <directory> IN <filename> may be used to select files in a Simple Install *INSTALLDATAFILE. For each file selected, the information in the *INSTALLDATAFILE is used to set the value of these file attributes, which are available to an OPAL in the FLEX directory context.
Attribute Name | Attribute Type | Attribute Semantics |
---|---|---|
SI_CATEGORYSUBTYPE | Integer | Returns the SubType of the Category to which this software belongs. The Type can be determined from the SI_SYSTEMSOFTWARE, SI_DATAMANAGEMENT and SI_APPLICATIONSOFTWARE attributes. See the SI_CATEGORYSUBTYPE table below for valid values. |
SI_TAPENAME | Identifier | The name of the release tape on which this software item resides. |
SI_PRODUCT | String | The product of which this file is a part. The product description is in the form StyleId-CommonName-(ProductName). StyleId is a 3 character key. |
SI_MARKREL | Integer | The Mark Release level of the software item. |
SI_CYCLEID | Integer | The Cycle ID of the file. |
SI_SYSTEMSOFTWARE | Boolean | True if the SI category Type indicates the file is System Software. |
SI_DATAMANAGEMENT | Boolean | True if the SI Category Type indicates the file is Data Management Software. |
SI_APPLICATIONSOFTWARE | Boolean | True if the SI Category Type indicates the file is Application Software. |
SI_SOURCE | Boolean | True if the SI Category Type indicates the file is a Source, not an Object. |
SI_NECESSITY | Boolean | True if this software is required as part of a minimum running system. |
SI_KEYFLAG | Boolean | True if a valid key is required to copy this software. |
SI_HLDISK | Boolean | True if this software must be installed on the Halt/Load disk. |
SI_HELPTEACHBOOK | Boolean | True if Help or Teach books exist for this software item. |
SI_DIAGSOFTWARE | Boolean | True if the file associated with this Install file record contains diagnostic software. |
SI_SOURCEKEY | Boolean | True if the Source Key is required, otherwise the Object Key is required. |
SI_AFTRMEDIA | Boolean | True if the file is for an A-FTR or Kit release, otherwise it is for a Base release. |
SI_NO_COPY | Boolean | True if the file should not be copied or installed by Simple Install. |
SI_ENCAPSULATED_FILE | Boolean | True if the file on the release media has been encapsulated, and so must be unencapsulated as part of the copy statement. |
SI_ODTCOMMANDS | String | The ODT Commands that must be issued during installation of this software item. If an installation library is specified, then an INSTALL <libobject>(<libparam>)IN SL <libname>; command is appended. |
CREATIONDATE | Integer | The CreationDate file attribute of the software item. |
CREATIONTIME | Integer | The CreationTime file attribute of the software item. |
FILEKIND | Integer | The FileKind file attribute of the software item. |
RELEASID | String | The ReleaseId file attribute of the software item. |
These are the SI_CATEGORYSUBTYPE values defined in Simple Install,
Value | Description |
---|---|
501 | MCP |
502 | Loader (UTILOADER,MINILOADER, ...) |
503 | MCS (CANDE,RJE, ...) |
504 | Support Library (DATACOMSUPPORT, KEYEDIO, ...) |
505 | System Intrinsics (INTRINSICS, ...) |
506 | Library & MCS (APL,COMS, ...) |
511 | Compiler (ALGOL,NEWP,PASCAL, ...) |
512 | Utility Program (BARS,DUMPALL,MAKEUSER,...) |
561 | TableGen (ATTABLEGEN, ...) |
571 | Bind Module (JOBFORMATTER, DCPROGEN, ...) |
601 | Help/Teach Book |
611 | Documents, Notes |
621 | Backup Disk Files |
701 | Firmware (FIRMWARE/=) |
702 | ControlWare (CONTROLWARE/=) |
711 | TrainTables (SYSTEM/TRAINTABLES) |
712 | PrinterControlFiles (PCF/=,FONT/=,FORM/=,...) |
721 | Menugraphs/Agendas (IMG/AGENDA/TDXXXX) |
722 | Defines (DEFAULTDEFINES) |
771 | Info/Configuration (INSTALL/SYSTEMSOFTWARE) |
801 | Patches |
811 | XRef Files |
821 | Include/Tables |
901 | Example Data (SMFII/SAMPLE/DATA...) |
902 | Text Program/Data (SYSTEST) |
912 | TR-Description (<DMS>/TRDESCRIPTION) |
921 | WFL Job |
This FLEXDO File builds a WFL job, which creates a Library/Maintenance CD which can be used for a COLDSTART.
TheSELECT statement selects only files which are necessary for a minimum running system, and not one of the 4 critical files, such asGENERALSUPPORT, which are added explicitly in the REPORT HEAD.
The REPORT HEAD builds theWFL job heading, and the COPY statement, and the REPORT FOOT builds the FROM and TO parts of the COPY statement and the END JOB.
For each file selected, the REPORT statement inserts the FILENAME of the file, and as a comment, the SI_CATEGORYSUBTYPE.
The FILES statement specifies the *INSTALLDATAFILE to be scanned, file by file, and the WFL job created is called COLDSTARTWFL.
The do file can be executed like this,
U *FLEX
DO FLEX/DO
This is the file called FLEX/DO
SELECT SI_NECESSITY AND \ FILENAME ISNT {"*SYSTEM/KEYSFILE", \ "*SYSTEM/GENERALSUPPORT", \ "*SYSTEM/WFLSUPPORT", \ "*SYSTEM/PRINT/SUPPORT"} REPORT FOOT "FROM RELEASE461(PACK)",/, \ "TO RELEASE461(CD,HOSTNAME=LOCAL,CDCOPIES=1)" \ "END JOB;" REPORT HEAD "BEGIN JOB COLDSTART;",/, \ "JOBSUMMARY=SUPPRESSED;",/, \ "TASK T;",/, \ "T(FILE INSTALLDATAFILE(FILENAME=*INSTALLDATAFILE/SYSTEM/461));",/, \ "COPY&COMPARE",/, \ " *SYSTEM/KEYSFILE",/, \ ",*SYSTEM/GENERALSUPPORT",/, \ ",*SYSTEM/WFLSUPPORT",/, \ ",*SYSTEM/PRINT/SUPPORT",/, REPORT ",",FILENAME,"% ",SI_CATEGORYSUBTYPE FILES (*)= IN *INSTALLDATAFILE/SYSTEM/461 : FILE COLDSTARTWFL