The transaction import facility enables you to extract IMS transactions from an IMS stage 1 file downloaded from the mainframe, and automatically add the transactions to your IMS project. Importing transactions is a process with two steps:
To create a transaction file from a stage 1 file enter the following command:
mfims stage1ext stage1file transactionfile
where:
stage1file | is the stage 1 file downloaded from the mainframe. |
transactionfile | is the transaction file to be created to contain the transaction and printer definitions needed to subsequently import into Enterprise Server. This is a flat text file, so you can edit it to remove any definitions that are not needed for the application to run under Enterprise Server. |
To import transaction defintions from a transaction file enter the following command from an application command prompt:
mfims stage1imp transactionfile [ADDREPL] [DELEXIST]
where:
transactionfile | is the transaction file created by step 1. |
ADDREPL | specifies that you want to add new transactions and replace existing transactions. If you do not specify ADDREPL, new transactions are added but existing transactions are left unchanged. |
DELEXIST | specifies that you want to delete all the existing transaction definitions in the IMSGEN2.DAT file before any are imported. |