HP 3000 Manuals

Migrating Many Different Kinds of Files at One Time [ HP Business BASIC/XL Migration Guide ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Migration Guide

Migrating Many Different Kinds of Files at One Time 

The previous sections describe the recommended procedures for changing HP
260 files to the HP 3000 and HP Business BASIC/XL. However, you can also
migrate many files at one time, in batch mode, without having to
determine the file type of each file using the CONVERT command.

When BBCT250 receives the CONVERT command, the program checks to see what
the input file's type is.  If the input file is a program file, a data
file, a schema file, or a forms file, the output file is created with the
appropriate file type.  But, if the input file is a database backup file,
the output file must already exist and must be the HP 3000 IMAGE database
that the data from the file will be unloaded into.  If the output file
does not exist or the output file is not an IMAGE database file, an error
message will print and the input file (the database backup file) will not
change.

The message file is an optional parameter; it is only used if the input
file is either a program file or a forms file.  If the input file is a
schema file, a data file, or a database backup file, the message file
parameter prints a warning message, ignores the message file name, and
migrates the input file.

Here is an example of the CONVERT command and its screen output:
________________________________________________________________________
|                                                                      |
|                                                                      |
|      :RUN BBCT250.PUB.SYS                                            |
|                                                                      |
|      HP 260 TO HP Business BASIC/3000 Conversion Utility/            |
|      (HP32115Y.01.00).  (1,2)                                        |
|      Copyright Hewlett-Packard Co. 1985.  (1,16)                     |
|                                                                      |
|      => CONVERT MYSCHEM.CVRTIN, SCHEMOUT.CVRTOUT                     |
|                                                                      |
|      SCHEMA                                                          |
|      Records read:  53                                               |
|                                                                      |
|      => EXIT                                                         |
|                                                                      |
|      END OF PROGRAM.                                                 |
|      :                                                               |
|                                                                      |
________________________________________________________________________

          Figure 19-5.  Migrating Many Different Kinds of Files at One Time 


NOTE The migration aid prints the file type of the input file to the terminal when you use the CONVERT command.


MPE/iX 5.0 Documentation