Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
UPGRADE ADVISORY for Qlik Replicate 2024.5: Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
iti-attunity-sup
Partner - Creator III
Partner - Creator III

About AS400 Relative-Record-Number

Hi team

I have the following questions:

1.Is it possible to get Relative-Record-Number of AS400 by AR_H_STREAM_POSITION of Qlik Replicate?

2.Is there any header or variable to output Relative-Record-Number other than AR_H_STREAM_POSITION?

 

I would like a primary response by 2025.4.25.

Labels (2)
5 Replies
john_wang
Support
Support

Hello Team ITI, @iti-attunity-sup 

There is an option Add RRN column to all tables in the DB2i source endpoint:

john_wang_0-1745418267121.png

so far you can get RRN easily.

Hope it helps.

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
iti-attunity-sup
Partner - Creator III
Partner - Creator III
Author

Hi John,

What if I don't want to add it as a column, but only want to use the value in the transform?

Best Regards,
Shohei.

john_wang
Support
Support

Hello Shohei, @iti-attunity-sup 

There are no header columns that contain the RRN values. You can certainly remove the RRN column from the transformation columns list if it’s not needed in the target. However, you can still use it within the transformation logic if required.

Please see below for the expression I used and the corresponding sample result in the SQL Server target.

The expression is: 'KIT400K RRN IS ' || $RRN || '#'

john_wang_0-1745510031859.png

The results in target table:

john_wang_1-1745510147812.png

 

Hope this helps.

John.

 

 
Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
iti-attunity-sup
Partner - Creator III
Partner - Creator III
Author

Hi John,

Can the RRN columns be removed by global transformation?

Best Regards,
Shohei.

john_wang
Support
Support

Hello Shohei, @iti-attunity-sup 

Removing RRN columns in Global Transformation means you need NOT it. then you can suppress RRN in Endpoint setting:

john_wang_0-1746030087017.png

If you still need the RRN in some expressions but you want to remove it from all target tables, then Global Transformation "Drop column" can be used to remove it:

john_wang_0-1746066215889.png

 

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!