E-PC: File Class Properties CurrentRecord and IsNewFileId Are Not Getting Properly Updated When Processing An Input File With Multiple FileLayouts

(Doc ID 2326886.1)

Last updated on NOVEMBER 09, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.

Symptoms

On : 8.55 version, PeopleCode

When processing an input file using more than one File Layout, one is supposed to use File Class property IsNewFileId, in conjunction with property CurrentRecord and method SetFileId().

Property CurrentRecord is not getting properly updated, causing Property IsNewFileId to not be properly updated as well. CurrentRecord is not reflecting the current row of data that is read from the Rowset.

That is causing lines of data in the Rowset created from the input file to not get processed as expected. Such lines are skipped.


Expected Behavior:
File property CurrentRecord should reflect the the current row of data being processed from the Rowset. File property IsNewFileId should accurately reflect that as well.

The issue can be reproduced at will with the following steps:
1. Create 2 Record Definitions
2. Create 2 File Layouts based on those Record Definitions
3. Create the input file based on the Records and File Layouts
4. Run the Peoplecode. Note: When processing an input file using more than one File Layout, one is supposed to use File Class property IsNewFileId, in conjunction with property CurrentRecord and method SetFileId().
5. File Property CurrentRecord is not getting properly updated, causing File Property IsNewFileId to not be properly updated as well. CurrentRecord is not reflecting the current row of data that is read from the Rowset.

Due to this issue, users cannot completely process the input file. Some lines of data are skipped.

PeopleBooks References:

Creating File Layouts
https://docs.oracle.com/cd/E66686_01/pt855pbr1/eng/pt/tapd/task_SpecifyingFileLayoutRecordAndFieldProperties.html?pli=ul_d29e371_tapd

Reading multiple file layouts
https://docs.oracle.com/cd/E66686_01/pt855pbr1/eng/pt/tpcr/task_MultipleFileLayouts-071421.html#u3c51848e-5c9b-40b8-b9ac-34e0164314a3

File Class Property - IsNewFileId
https://docs.oracle.com/cd/E66686_01/pt855pbr1/eng/pt/tpcr/langref_FileClassProperties-071431.html?pli=ul_d57e589_tpcr#ue6df0013-8958-4e3a-9138-523bf64190ee

File Class Property - CurrentRecord
https://docs.oracle.com/cd/E66686_01/pt855pbr1/eng/pt/tpcr/langref_FileClassProperties-071431.html?pli=ul_d57e589_tpcr

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms