• Aucun résultat trouvé

INS File Examples

Dans le document Advanced Programming (Page 107-115)

8. 1.5 Creating the INS File

8.1.5.3 INS File Examples

This section provides the following five annotated examples of INS files. They illustrate how to utilize INS file statements and qualifiers frequently specified.

• Example 8-4 illustrates how to set up your files and nonconditional file statements on a single diskette.

• Example 8-5 illustrates how to set up your files and non conditional file statements on two diskettes.

• Example 8-6 illustrates how to set up your files and conditional and non conditional file statements on two diskettes.

• Example 8-7 illustrates how to set up your files and conditional file and BACKUP_SET statements on four diskettes.

• Example 8-8 illustrates how to set up your files and conditional file statements for inserting OTS modules into the system library on two diskettes. (Note that this is not a recom-mended procedure. For more information refer to the LIBRARY_INSERT statement in Section 8.1.5.1.)

Guidelines for Creating an Optional Software Package 8-13

Example 8-4: Creating an Option on a Single Diskette

First Diskette - Labeled II FORTRAN-77 1 of i"

Volume Name: F77 [0,0]

INSTALL. OAT

DISKETTES=1 }

COPY=YES Ct

OPTION=FORTRAN-77,[1,2]F77.INS SYSTEM_VERSION=4.0

[1,1]

F770TS.STB F770TS.TSK [1,2]

F77.INS

! FORTRAN-77 option parameter file

!

INSTALL [3,54] F77/TASK } • INSTALL [1,1]F770TS/LIBRARY REMOVE ... F77 •

DELETE [1,1]F77*.* }

DELETE [1,2]F77COM.MSG,FORTRAN.HLP ~

DELETE [3,54]F77.TSK SYSTEM_VERSION 4.0 ~

FORTRAN.HLP F77COM.MSG [3,54]

F77.TSK

Notes on Example 8-4:

Ct The first three statements must be specified in the INSTALL.DAT file.

• These statements specify the task image files installed on the running system when the user installs the option.

• This statement specifies the task image file removed from the running system when the user removes the option from the fixed disk.

~ These statements specify the files deleted when the user removes the option from the fixed disk.

~ This statement specifies the earliest version of the MicrojRSX operating system on which the user can install the F77 option.

8-14 Guidelines for Creating an Optional Software Package

Example 8-5: Creating an Option on Multiple Diskettes

First Diskette - Labeled "FORTRAN-77 1 of 2"

Volume Name: F77 [0,0]

INSTALL.DAT

DISKETTES=2 }

COPY=NO t)

OPTION=FORTRAN-77, [l,2]F77.INS SYSTEM_VERSION=l.l

[1,2]

F77.Il':1S

! FORTRAN-77 option installation file

!

FILE [3,54]F77.TSK/DELETE } FILE F770TS: [1,1] F770TS. */DELETE @ FILE [l,2]F77COM.MSG

!

FILE [l,2]FORTRAN.HLP/KEEP @)

!

INSTALL [3,54] F77/TASK }

e

INSTALL [l,l]F770TS/LIBRARY

!

REMOVE ... F77 CD

SYSTEM_VERSION 1.1 ~

FORTRAN.HLP F77COM.MSG [3,54]

F77.TSK

Second Diskette - Labeled "FORTRAN-77 2 of 2"

Volume Name: F770TS

[1, 1]

F770TS.STB F770TS.TSK

Notes on Example 8-5:

t) The first three statements must be specified in the INSTALL.DAT file.

@ These statements specify the files that are copied to the fixed disk when the user installs the option, and which are deleted when the user removes the option from the disk.

@) This statement specifies the file that is copied to the fixed disk when the user installs the option, and which is saved when the user removes the option from the disk.

e

These statements specify the task image files installed on the running system when the user installs the option.

Guidelines for Creating an Optional Software Package 8-15

CD This statement specifies the task image file removed from the running system when the user removes the option from the fixed disk.

o

This statement specifies the earliest version of the Micro /RSX operating system on which the user can install the F77 option.

Example 8-6: Using Conditionals in an INS File

First Diskette - Labeled "FORTRAN-77 1 of 2"

Volume Name: F77 [0,0]

INSTALL.DAT

DISKETTES=2 }

COPY=NO 0

OPTION=FORTRAN-77, [l,2]F77.INS SYSTEM_VERSION=4.0

[1,2]

F77.INS

! FORTRAN-77 option installation file

!

FILE [3,54] F77 . TSK/DELETE } FILE [l,2]F77COM.MSG ~

FILE [l,2]FORTRAN.HLP

!

?FCS FILE F770TS: [l,l]F77Fcs.TSK/DELETE}

?FCS FILE F770TS: [l,l]F77FCS.STB/DELETE t)

?RMS FILE F770TS: [l,l]F77RMS.TSK/DELETE

?RMS FILE F770TS: [1, 1] F77RMS. STB/DELETE INSTALL [3,54]F77/TASK

?FCS INSTALL [1,1] F77FCS/LIBRARY} 0

?RMS INSTALL [l,l]F77RMS/LIBRARY REMOVE ... F77 } CD

REMOVE F770TS

!

SYSTEM_VERSION 4.0 0

FORTRAN.HLP F77COM.MSG [3,54]

F77.TSK

Second Diskette - Labeled " FORTRAN-77 2 of 2"

Volume Name: F770TS [1,1]

F77FCS.STB F77FCS.TSK F77RMS.STB F77RMS.TSK

8-16 Guidelines for Creating an Optional Software Package

Notes on Example 8-6:

o

The first three statements must be specified in the INSTALL.DAT file.

• These statements specify the files that are copied to the fixed disk when the user installs the option, and which are deleted when the user removes the option from the disk.

6) These conditional statements specify the files that are copied to the fixed disk when the user installs the option, and which are deleted when the user removes the option from the disk.

e

These conditional statements specify the task image files installed on the running system when the user installs the option.

o

These statements specify the task images removed from the running system when user removes the option from the fixed disk.

CD This statement specifies the earliest version of the Micro jRSX operating system on which the user can install the F77 option.

Guidelines for Creating an Optional Software Package 8-17

Example 8-7: Using Conditionals and Multivolume Files

First Diskette - Labeled "FORTRAN-77 1 of 4"

Volume Name: F77 [0.0]

INSTALL.DAT

DISKETTES=2 }

COPY=NO 0

OPTION=FORTRAN-77. [1.2]F77.INS SYSTEM_VERSION=1.1

[1.2]

F77.INS

! FORTRAN-77 installation parameter file

!

?FCS BACKUP_SET F77CMPFCS}~

?RMS BACKUP_SET F77CMPRMS FILE [1.2] F77COM. MSG }

e

FILE [1.2]FORTRAN.HLP

?FCS FILE F770TS:F77Fcs.TSK/DELETE}

?FCS FILE F770TS:F77FCS.STB/DELETE C)

?RMS FILE F770TS:F77RMS.TSK/DELETE

?RMS FILE F770TS:F77RMS.STB/DELETE INSTALL [3.54]F77/TASK

?FCS INSTALL [1.1] F77FCS/LIBRARY} 0

?RMS INSTALL [1.1]F77RMS/LIBRARY DELETE [3.54]F77.TSK ~

REMOVE ... F77} 0

REMOVE F770TS

!

SYSTEM_VERSION 1.1 ~

FORTRAN.HLP F77COM.MSG

Second Diskette - Labeled "FORTRAN-77 2 of 4"

Volume name: F770TS [1.1]

F77FCS.STB F77FCS.TSK F77RMS.STB F77RMS.TSK

8-18 Guidelines for Creating an Optional Software Package

(Continued on next page)

Example 8-7 (Cont.): Using Conditionals and Multivolume Files

Third Diskette - Labeled II FORTRAN-77 3 of 4"

Volume Name: F77CMPFCS [O,O]BACKUP.SYS

[3,54]F77.TSK

Fourth Diskette - Labeled "FORTRAN-77 4 of 4"

Volume Name: F77CMPRMS [O,O]BACKUP.SYS

[3,54]F77.TSK

Notes on Example 8-7:

o

The first three statements must be specified in the INSTALL.DAT file.

• These conditional statements specify the backup set copied to the fixed disk when the user installs the option.

@) These statements specify the files that are copied to the fixed disk when the user installs the option, and which are deleted when the user removes the option from the disk.

o

These conditional statements specify the files that are copied to the fixed disk when the user installs the option, and which are deleted when the user removes option from the disk.

o

These conditional statements specify the task image files installed on the running system when the user installs the option.

o

This statement specifies the name of the backup set deleted when the user removes the option from the fixed disk.

o

These statements specify the task images removed from the running system when the user removes the option from the fixed disk.

G This statement specifies the earliest version of the Micro jRSX operating system on which the user can install the F77 option.

Guidelines for Creating an Optional Software Package 8-19

Example 8-8: Inserting Modules into SYSLIB

First Diskette - Labeled "FORTRAN-77 1 of 2"

Volume Name: F77 [0.0]

INSTALL.DAT

DISKETTES=2 }

COPY=NO 0

OPTION=FORTRAN-77. [1.2]F77.INS SYSTEM_VERSION=4.0

[1.2]

F77.INS

! FORTRAN-77 installation parameter file

!

FILE [1.2]F77*.*/DELETE } FILE [3.54]F77.TSK/DELETE ~

?SYSLIB FILE F770TS: [11.36]F770TS.OBJ/DELETE

?NOSYSLIB FILE F770TS: [1.1]F770TS.OLB/DELETE

?FCSDEF FILE F770TS: [11.36]F770TSFCS.OBJ/DELETE

?NOSYSLIB?FCS FILE F770TS: [1.1]F770TSFCS.OLB/DELETE

?RMSDEF FILE F770TS: [11.36]F770TSFCS.OBJ/DELETE

?NOSYSLIB?RMS FILE F770TS: [1. 1] F770TSRMS. OLB/DELETE

!

?SYSLIB LIBRARY_INSERT [11.36]F770TS.OBJ }

?FCSDEF LIBRARY_INSERT [11.36]F770TSFCS.OBJ C)

?RMSDEF LIBRARY_INSERT [11.36]F770TSRMS.OBJ

!

LIBRARY_DELETE F770TS ~

INSTALL [3.54]F77 ~

!

REMOVE ... F77 f) SYSTEM_VERSION 4.0 ~

FORTRAN.HLP F77COM.MSG [3.54]

F77.TSK [11.36]

F77TST.FTN

8-20 Guidelines for Creating an Optional Software Package

(Continued on next page)

Example 8-8 (Cont.): Inserting Modules into SYSLIB Second Diskette - Labeled II FORTRAN-77 2 of 2"

Volume name: F770TS

[1,1]

F770TS.OLB F770TSFCS.OLB F770TSRMS.OLB [11,36]

F770TS.OBJ F770TSFCS.OBJ F770TSRMS.OBJ Notes on Example 8-8:

o

The first three statements must be specified in the INSTALL.DAT file.

• These statements specify the files that are copied to the fixed disk when the user installs the option, and which are deleted when the user removes the option from the disk.

8 These conditional statements specify the files that are copied to the fixed disk when the user installs the option, and which are deleted when the user removes the option from the disk.

e

These conditional statements specify the modules inserted into the system library when the user installs the option.

o

This statement specifies the module deleted from the system library when the user removes the option from the fixed disk.

o

This statement specifies the task image file installed on the running system when the user installs the option.

• This statement specifies the task image removed from the running system when the user removes the option from the fixed disk.

CD This statement specifies the earliest version of the MicrojRSX operating system on which the user can install the F77 option.

Dans le document Advanced Programming (Page 107-115)