UOA:IMPEXPOMS: Difference between revisions

From Remain Software
Jump to navigation Jump to search
(No difference)

Revision as of 08:12, 23 January 2025

Import Export OMS API (IMPEXPOMS) - Help

Import Export OMS API (IMPEXPOMS)

This Application Program Interface command facilitates the export and import of TD/OMS file data in JSON format. It can be executed from a command line or integrated into your programs for seamless operation.

The 'IMPEXPOMS' command provides two key functions:

*Import Reads the JSON file and updates the TD/OMS files with the provided data.
*Export Extracts TD/OMS file data and saves it in a structured JSON format.

The export function is particularly useful for backing up TD/OMS file data, sharing data between environments, or integrating with external systems. The import function allows you to efficiently load data into TD/OMS files based on the JSON file contents, streamlining the data management process.

Action code (ACTC)

Specify the action to be performed. The possible values are:

*IMPORT
Use this action code to import the extracted json data into TD/OMS files.
*EXPORT
Use this action code to export the TD/OMS files into a json file.

Files to export

Specify the file name that contains the TD/OMS files to be extracted.

*DEFAULT
The default member is used to get the list of TD/OMS files that needs to be exported.
Character value
A custom member name can be passed which should contain the TD/OMS files to be exported.

Target file

Specify the target file path for the JSON file to be used for both import and export operations. During import, this path is used to locate and read the JSON file to complete the import process. During export, the JSON file containing the extracted data is created at this specified path.

Confirm

Specify whether an inquiry message should be sent to QSYSOPR before proceeding with the action.

*YES
An inquiry message will be sent to QSYSOPR. The user can respond with 'G' to proceed with the action or 'N' to cancel the operation.
*NO
No inquiry message will be sent, and the action will proceed immediately without confirmation.