HPlogo Using KSAM XL: 900 Series HP 3000 Computer Systems > Chapter 8 Migration and Mixed Mode Processing

Mixed Mode Operation

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Application programs running in CM or NM can access either CM KSAM or KSAM XL files. If you are using an RPG application, do not specify any record locking features. RPG will deafult to file-level locking. This is especially important for cross-development for multiple environments.

In some organizations, cross development is necessary because satellite offices operate different types of systems. CM KSAM files can be used on both MPE V/E and MPE/iX systems. The KSAM XL file format can be used only on MPE/iX systems.

KSAM files can be copied from one type to another using the FCOPY utility. For detailed information on using the FCOPY utility, refer to the FCOPY Reference Manual (32212-90003).

To create a new CM KSAM file and copy data to it from an existing CM KSAM file , remember to identify both the data file and the key file for the target CM KSAM file. Use this method to back up current files or to create test files on an MPE V/E system. This process is described in detail in the KSAM/3000 Reference Manual (30000-90079).

:FCOPY

>FROM=ARMSTR.MGR.AR;TO=(ARBACK.MGR.AR,ARBKEY.MGR.AR)

>EXIT

To create a new KSAM XL file and copy data to it from a CM KSAM file, specify only a single file name in the TO= parameter. (KSAM XL files include indexes and data records in a single file.) Enclose the new file name in parentheses to indicate that it is to be a KSAM XL file. The ;NEW parameter is optional. Use this method to migrate files from an MPE V/E system to an MPE/iX system.

:FCOPY

>FROM=ARMSTR.MGR.AR;TO=(ARMSTRXL.MGR.AR)

>EXIT

or

:FCOPY

>FROM=ARMSTR.MGR.AR;TO=(ARMSTRXL.MGR.AR);NEW

To copy from one KSAM XL file to another existing KSAM XL file, enter a single file name for the target file. (KSAM XL files include indexes and data records in a single file.) Use this type of copy to back up current KSAM XL files or to create a test file on an MPE/iX system.

:FCOPY

>FROM=ARMSTR.MGR.AR;TO=ARBACK.MGR.AR

>EXIT

To create a new CM KSAM file and copy data to it from an existing KSAM XL file, remember that both the target data file name and the target key file name must be specified. Use this type of copy for cross-development.

:FCOPY

>FROM=ARMSTRXL.MGR.AR;TO=(ARDATA.MGR.AR,ARKEY.MGR.AR)

>EXIT
Feedback to webmaster