3. Long Term Data Store

Long term Data Store (LDS) is the process of moving the old data from FCIS business schema to Long term data store.

LDS can be implemented on FCIS system adhering to data retention policy of region or country. Data retention is storing company’s data for business purpose, or to comply with their country’s rules and regulations. Data retention policy is a set of guidelines stating the details of the data to be stored and also the duration that needs to be maintained.

Long term data store process will help to reduce volume in business schema thereby improving the performance of the system. The information moved to Long term data store will still be available and you can view the same via User Interface.

You can also generate the reports from the Long term data store.

This chapter contains the following sections:

3.1 LDS Module Setup Maintenance

This section contains the following topics:

3.1.1 Invoking LDS Module Setup Maintenance Screen

You can invoke the ‘LDS Module Setup Maintenance’ screen by typing ‘SMDLDMOD’ in the field at the top right corner of the Application tool bar and clicking on the adjoining arrow button. Select ‘New’ from the Actions menu in the Application tool bar or click new icon to enter the details.

 

You can specify the following details:

Module ID

Alphanumeric; 30 Characters; Mandatory

Specify the module ID. Alternatively, you can select the module ID from the option list. The list displays all valid module ID and instance name maintained in the system.

Instance Name

Display

The system displays the instance name for the selected module ID.

LDS Module Name

Display

The system displays the LDS module name.

LDS Instance Name

Alphanumeric; 50 Characters; Mandatory

Specify the LDS instance name. Alternatively, you can select the LDS instance name from the option list. The list displays all valid LDS instance name maintained in the system.

LDS Cutoff Date

Date Format; Mandatory

Select the LDS cut-off date from the adjoining calendar.

Note

The LDS Cutoff Date can be product fiscal end date or a date lesser than the fiscal end date. If LEP is not installed, then LDS cut-off date can be a date minimum of 2 years less than the application date.

Click ‘Ok’ and then click ‘Save’ to save the entered records.

Only one active setup can be maintained for an module.

3.2 LDS Module Set Up Summary

This section contains the following topics:

3.2.1 Retrieving Record in LDS Module Set Up Summary Screen

You can retrieve a previously entered record in the Summary Screen, as follows:

Invoke the ‘LDS Module Set Up Summary’ screen by typing ‘SMSLDMOD’ in the field at the top right corner of the Application tool bar and clicking on the adjoining arrow button.

 

Specify any or all of the following details in the corresponding fields:

Click ‘Search’ button to view the records. All the records with the specified details are retrieved and displayed in the lower portion of the screen.

Note

You can also retrieve the individual record detail from the detail screen by querying in the following manner:

You can perform Edit, Delete, Authorize, Close and Reopen operations by selecting the operation from the Action list. You can also search a record by using a combination of % and alphanumeric value.

Example

You can search the record for LDS Module Name by using the combination of % and alphanumeric value as follows:-

3.2.2 Editing LDS Module Set Up Record

You can modify the details of LDS Module Set Up Maintenance that you have already entered into the system, provided it has not subsequently authorized. You can perform this operation as follows:

3.2.3 Viewing LDS Module Set Up Record

To view a record that you have previously input, you must retrieve the same in the LDS Module Set Up Summary screen as follows:

3.2.4 Deleting LDS Module Set Up Record

You can delete only unauthorized records in the system. To delete a record that you have previously entered:

3.2.5 Authorizing LDS Module Set Up Record

An unauthorized LDS Module Set Up must be authorized in the system for it to be processed. To authorize a record:

When a checker authorizes a record, details of validation, if any, that were overridden by the maker of the record during the Save operation are displayed. If any of these overrides results in an error, the checker must reject the record.

3.3 Pre Process Check

This section contains the following topics:

3.3.1 Invoking LDS Pre Process Screen

You can perform pre-process check operation of LDS record using ‘LDS Pre Process’ screen. You can invoke this screen by typing ‘LDPREPRC’ in the field at the top right corner of the Application tool bar and clicking on the adjoining arrow button. The ‘LDS Pre Process’ screen is displayed. Select ‘New’ from the Actions menu in the Application tool bar or click new icon to enter the details.

 

You can specify the following details:

LDS Module Name

Display

The system displays the LDS module name on click of ‘New’ button.

Status

Display

The system displays the status on click of ‘New’ button.

Click ‘Preprocess Check’ button to validate the cut-off date. Click ‘Preprocess Check’ button, the system will execute few check queries and return the count. Once the request is successful, the following confirmation window is displayed.

 

The following details are displayed:

Once the request is processed successfully, you need to clear the mandatory check count before proceeding with pre-process execution.

Once count is cleared the ‘Preprocess LDS’ button will be enabled. Click ‘Preprocess LDS’ button to initiate pre-process job. The following window is displayed:

 

You can view the pre-process execution status in ‘LDS Status’ screen.

Note

After pre-process execution if you create new LDS module, then you need to map to the newly created module in SMS.

3.4 LDS Status

This section contains the following topics:

3.4.1 Invoking LDS Status Screen

You can view the pre-process execution status in ‘LDS Status’ screen. You can invoke this screen by typing ‘LDDVWSTA’ in the field at the top right corner of the Application tool bar and clicking on the adjoining arrow button. The ‘LDS Pre Process’ screen is displayed. Select ‘New’ from the Actions menu in the Application tool bar or click new icon to enter the details.

 

You can specify the following details:

Stage

Optional

Select the stage of execution from the drop-down list. The list displays the following values:

Select ‘Preprocess’ option and then click ‘Execute Query’. The status of each sequence is displayed as follows:

Click ‘Refresh’ button to refresh the status.

You should verify pre-process data before proceeding with post process.

You can also view the post process status by selecting the stage as ‘Post Process’ option in ‘Stage’ field and clicking ‘Enter Query’. The system displays the status of each activity. Click ‘Refresh’ button to refresh the status.

Select ‘Preprocess’ option and then click ‘Execute Query’. The following window is displayed:

 

Select ‘Postprocess’ option and then click ‘Execute Query’. The following window is displayed:

 

3.5 LDS Process

This section contains the following topics:

3.5.1 Invoking LDS Process Screen

You can perform post-process execution operation of LDS record using ‘LDS Process’ screen. You can invoke this screen by typing ‘LDPROCES ’ in the field at the top right corner of the Application tool bar and clicking on the adjoining arrow button. The ‘LDS Process’ screen is displayed. Select ‘New’ from the Actions menu in the Application tool bar or click new icon to enter the details.

 

You can specify the following details:

LDS Module Name

Display

The system displays the LDS module name on click of ‘New’ button.

Operation

Optional

Select the operation status from the drop-down list. The list displays the following values in:

The system will maintain these values in such a way that the following values are stored in LOB module:

The following values are stored in LDS module:

Business Schema

In LOB module, Select ‘Export LDS Data’ option from ‘Operation’ field and click ‘Execute’ button in order to generate a dump with table data that needs to be moved to LDS schema.

In LOB module, Select ‘Export Business Data’ option from ‘Operation’ field and click ‘Execute’ button to generate a dump with table data that needs to be retained in Business schema.

In LOB module, Select ‘Truncate Business Data’ option from ‘Operation’ field and click ‘Execute’ button to truncate the Business schema data.

In LOB module, Select ‘Import Business Data’ option from ‘Operation’ field and click ‘Execute’ button to import the generated dump.

In LOB module, Select ‘Post Process’ option from ‘Operation’ field and click ‘Execute’ button to initiate Post Process execution.

Note

The system stores all the export and import dump in ‘DUMPDIR’ PARAM code. This PAR­AM code is a logical directory.

LDS Schema

In LDS module, Select ‘Import LDS Data’ option from ‘Operation’ field and click ‘Execute’ button to import the generated dump.

You can view the post process status in LDDVWSTA screen as mentioned above by selecting the stage as ‘Post Process’ and click ‘Enter Query’. The system displays the status of each activity. Click ‘Refresh’ button to refresh the status.

3.6 LDS Process Flow

Following is the process flow for LDS:

Step 1:

Step 2:

Launch SMDLDMOD screen and maintain LDS module record using the newly created instance and cut-off date identified for LDS processing.

Step 3:

Launch LDPREPRC screen, and click ‘Preprocess Check’ button. This provides a list of mandatory checks to be cleared before proceeding with LDS process.

Step 4:

Once the mandatory checks are cleared, click ‘PreProcess LDS’ button to trigger pre-process execution.

Step 5:

Launch LDDVWSTA screen to monitor status of each activity in Preprocess stage.

Step 6:

After preprocess successful execution, the system will create LDS Module and also will identify and store the records to be moved to LDS schema and retained in LOB schema.

Step 7:

Once the preprocess execution is completed successfully and sanity checks are cleared, launch LDPROCES screen and trigger the following:

Step 8:

Launch LDDVWSTA screen to monitor status of each activity in Post process stage.

Step 9:

Launch SMDUSRDF screen and create user with view access to LDS module alone.

Step 10:

Login with the newly created user into LDS module. Launch LDPROCES screen and execute 'Import LDS Data'.

Step 11:

Login using newly created user into LDS module to view LDS screen and reports.